* Hamid Hashemi Golpayegani <hamid@???> [20020820 01:32]: wrote:
> 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 ?
I had this same kind of problem building on FreeBSD. I was editing the
port Makefile and enabling OPENLDAP2. However, when the port was building,
I came to realize (the hard way, since noone answered my question here) that
the Local/Makefile was having OPENLDAP still commented out. So I suggest
you look at your Local/Makefile for that kinda thing.
If it doesn't come out to be that, then my idea is plain wrong ;0
-Wash
--
Odhiambo Washington <wash@???> "The box said 'Requires
Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,'
Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD."
GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-)
The problem with people who have no vices is that generally you can be
pretty sure they're going to have some pretty annoying virtues.
-- Elizabeth Taylor