You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1998/02/18 02:52:34 UTC

Error with Apache make (fwd)

---------- Forwarded message ----------
Date: Wed, 18 Feb 1998 01:06:05 +0000 (GMT)
From: Adrian Baugh <ad...@merlin.keble.ox.ac.uk>
To: apache-bugs@apache.org
Subject: Error with Apache make

Error message:

mod_auth.o: In function 'authenticate_basic_user':
mod.auth.o(.text+0x2d0): undefined reference to 'crypt'
make: *** [httpd] Error 1


unmae -a output:

Linux merlin.keble.ox.ac.uk 2.0.32 #1 Wed Nov 19 00:46:45 EST 1997 i486
unknown

I hope this is of some help - meanwhile I'll grab a binary distrib.

Yours,
Adrian.




Re: Error with Apache make (fwd)

Posted by Dean Gaudet <dg...@arctic.org>.
Search the bugdb, it appears many times.
EXTRA_LIBS=-lcrypt

Dean

On Wed, 18 Feb 1998, Rob Hartill wrote:

> 
> ---------- Forwarded message ----------
> Date: Wed, 18 Feb 1998 01:06:05 +0000 (GMT)
> From: Adrian Baugh <ad...@merlin.keble.ox.ac.uk>
> To: apache-bugs@apache.org
> Subject: Error with Apache make
> 
> Error message:
> 
> mod_auth.o: In function 'authenticate_basic_user':
> mod.auth.o(.text+0x2d0): undefined reference to 'crypt'
> make: *** [httpd] Error 1
> 
> 
> unmae -a output:
> 
> Linux merlin.keble.ox.ac.uk 2.0.32 #1 Wed Nov 19 00:46:45 EST 1997 i486
> unknown
> 
> I hope this is of some help - meanwhile I'll grab a binary distrib.
> 
> Yours,
> Adrian.
> 
> 
> 
> 


Re: Error with Apache make (fwd)

Posted by Alvaro Martinez Echevarria <al...@lander.es>.
On Wed, 18 Feb 1998, Adrian Baugh wrote:

> Error message:
> mod_auth.o: In function 'authenticate_basic_user':
> mod.auth.o(.text+0x2d0): undefined reference to 'crypt'
> make: *** [httpd] Error 1
> unmae -a output:
> Linux merlin.keble.ox.ac.uk 2.0.32 #1 Wed Nov 19 00:46:45 EST 1997 i486
> unknown
> I hope this is of some help - meanwhile I'll grab a binary distrib.
> Yours,
> Adrian.

I guess you are trying to compile apache 1.2.X with GNU libc.
Unlike the library that linux has traditionally used, GNU libc
provides the encryption functions in a separate
"/lib/libcrypt.so.*" shared library. This problem can be easily
solved by adding "-lcrypt" to the EXTRA_LIBS flag in
src/Configuration before executing ./Configure and make. Anyway,
I think this is already fixed in 1.3b5. At least I have been able
to compile it with no errors at all.
Regards.

.------------------------------------------------------------------.
|   Alvaro Martínez Echevarría   |      LANDER SISTEMAS            |
|        alvaro@lander.es        |      Pº Castellana, 121         |
`--------------------------------|      28046 Madrid, SPAIN        |
                                 |      Tel: +34-1-5562883         |
                                 |      Fax: +34-1-5563001         |
                                 `---------------------------------'