On Wed, Nov 14, 2001 at 10:35:50AM +0800, Eddie wrote: > After typing these commands, I got the compile error message as follows: > > ./load qmail-lspawn spawn.o prot.o slurpclose.o coe.o control.o \ > check.o qldap-ldaplib.o qldap-debug.o output.o sig.a strerr.a constmap.o = > \ > getln.a wait.a case.a cdb.a fd.a seek.a open.a env.a stralloc.a alloc.a = > \ > substdio.a str.a qldap-errno.o error.a fs.a auto_qmail.o \ > auto_uids.o auto_usera.o auto_spawn.o > auto_break.o -L/usr/local/lib -lldap -llber > /usr/local/lib/libldap.a(os-ip.o): In function `ldap_connect_to_host': > /free3/SOURCES/openldap-1.2.11/libraries/libldap/os-ip.c:62: undefined > reference > to `inet_addr'
FAQ. Read the Makefile and change to link against your resolver lib. -- * Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de * * BS Web Services, Roedingsmarkt 14, 20459 Hamburg, Germany * Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)
