From owner-freebsd-questions Tue Aug 13 20:02:48 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA29936 for questions-outgoing; Tue, 13 Aug 1996 20:02:48 -0700 (PDT) Received: from wedge.its.utas.edu.au (cp_nairn@wedge.its.utas.edu.au [131.217.10.10]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA29927 for ; Tue, 13 Aug 1996 20:02:45 -0700 (PDT) Received: (from cp_nairn@localhost) by wedge.its.utas.edu.au (8.7.1/8.6.6) id NAA04345; Wed, 14 Aug 1996 13:02:26 +1000 (EST) Date: Wed, 14 Aug 1996 13:02:25 +1000 (EST) From: Carey Nairn X-Sender: cp_nairn@wedge.its.utas.edu.au Reply-To: Carey.Nairn@its.utas.edu.au To: Eric Chan cc: questions@freebsd.org Subject: Re: Compile Apache on FreeBSD 2.0 In-Reply-To: <199608140231.MAA05676@moredun.nswcc.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 14 Aug 1996, Eric Chan wrote: > Hi, > > I tried to compile the Apache 1.1.1 on FreeBSD v2.0 but it gives me an > error. Have you ever encountered this error before...? > > >make > . ... > .... > cc -c -O2 -m486 mod_log_common.c > cc -c -O2 -m486 mod_asis.c > cc -c -O2 -m486 mod_imap.c > cc -c -O2 -m486 mod_actions.c > cc -c -O2 -m486 mod_log_config.c > cc -c -O2 -m486 mod_status.c > cc -c -O2 -m486 mod_info.c > cc -c -O2 -m486 mod_proxy.c > cc -o httpd alloc.o http_main.o http_core.o http_config.o http_request.o > http_log.o http_protocol.o rfc1413.o util.o util_script.o modules.o buff.o m > d5c.o util_md5.o explain.o http_bprintf.o mod_mime.o mod_access.o mod_auth > .o mod_negotiation.o mod_include.o mod_dir.o mod_cgi.o mod_userdir.o m > od_alias.o mod_env.o mod_log_common.o mod_asis.o mod_imap.o mod_actions > .o mod_log_config.o mod_status.o mod_info.o mod_proxy.o > mod_auth.o: Undefined symbol `_crypt' referenced from text segment > *** Error code 1 > > Stop. > > What is the symbol `_crypt'? I couldn't find it out from the src directory. > Was it a mistyping error or something? How to debug it...? > > Many Thanks > Eric You need to include the encryption libraries. This is done in the Configuration file. [previous parts removed] # For NetBSD/FreeBSD/BSDI 2.x # -m486 only if you are running on Intel 486/586 AUX_CFLAGS= -m486 # BSDI doesn't need -lcrypt AUX_LIBS= -lcrypt [remainder removed] Cheers, Carey ========================================================================= Carey Nairn ! email : Carey.Nairn@its.utas.edu.au Infrastructure Services ! phone : (002) 20 7419 Information Technology Services ! fax : (002) 20 7898 University of Tasmania. ! =========================================================================