[Exim] Exim 4.10 Compile error with LDAP !

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Hamid Hashemi Golpayegani
Dátum:  
Címzett: exim-users
Tárgy: [Exim] Exim 4.10 Compile error with LDAP !
Hi ,

I have some problem compiling Exim 4.10 with LOOKUP_LDAP support .
I have installed openldap-2.0.25 successfully and /usr/include/ldap.h is available also .
When I try to make the exim this error happened when want to compile ldap.c :

make[2]: Entering directory `/usr/src/exim-4.10/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:530: dereferencing pointer to incomplete type
ldap.c:531: dereferencing pointer to incomplete type
make[2]: *** [ldap.o] Error 1
make[2]: Leaving directory `/usr/src/exim-4.10/build-Linux-i386/lookups'

So what is the problem ?!
Any suggestion ?

--
Regards

    =================================================================
   /  Seyyed Hamid Reza    /        WINDOWS FOR NOW  !!            /
  /  Hashemi Golpayegani  /  Linux for future , FreeBSD for ever  /
 /    Morva System Co.   / ------------------------------------- /
/  Network Administrator/ hamid@???   ,   ICQ# : 42209876 /
================================================================