Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Aug 1996 13:02:25 +1000 (EST)
From:      Carey Nairn <cp_nairn@cc.utas.edu.au>
To:        Eric Chan <Eric.Chan@nswcc.org.au>
Cc:        questions@freebsd.org
Subject:   Re: Compile Apache on FreeBSD 2.0
Message-ID:  <Pine.SOL.3.91.960814130004.3985B-100000@wedge.its.utas.edu.au>
In-Reply-To: <199608140231.MAA05676@moredun.nswcc.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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.         !
=========================================================================






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.3.91.960814130004.3985B-100000>