Re: [Exim] Problem compiling 4.01 with ldap

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: David L. Potter
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] Problem compiling 4.01 with ldap
On Mon, 25 Mar 2002, David L. Potter wrote:

> make[2]: Entering directory
> `/var/source/exim-4.01/build-Linux-i386/lookups'
> gcc -c -O cdb.c
> gcc -c -O dbmdb.c
> gcc -c -O dnsdb.c
> gcc -c -O dsearch.c
> gcc -c -O ldap.c
> ldap.c: In function `perform_ldap_search':
> ldap.c:517: dereferencing pointer to incomplete type
> ldap.c:518: dereferencing pointer to incomplete type
> make[2]: *** [ldap.o] Error 1
> make[2]: Leaving directory
> `/var/source/exim-4.01/build-Linux-i386/lookups'
>
> ldap stuff is /usr/include;/usr/lib and I've specified them in
> Local/Makefile


Have you set LDAP_LIB_TYPE to the correct LDAP library type? (I'm just
guessing here, but the line numbers you quote are inside some code that
varies between the different APIs.)

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.