[Exim] Exim-4.0.5 fails to compile with OPENLDAP2

Pàgina inicial
Delete this message
Reply to this message
Autor: Odhiambo G. Washington
Data:  
A: Exim Users
Assumpte: [Exim] Exim-4.0.5 fails to compile with OPENLDAP2
Hi,

I wanted to compile Exim-4 with OPENLDAP type set to OPENLDAP2
(FreeBSD 4.6-STABLE here) from the ports.

I'm wondering whether this is OpenLDAP or Exim issue.



<cut>

>>> exim_tidydb utility built


gcc -c -O -pipe -I /usr/local/include exim_lock.c
gcc -o exim_lock exim_lock.o -lcrypt -lpam
/usr/bin/strip exim_lock

>>> exim_lock utility built


gcc -c -O -pipe -I /usr/local/include -I/usr/local/include/mysql -I/usr/local/include cdb.c
gcc -c -O -pipe -I /usr/local/include -I/usr/local/include/mysql -I/usr/local/include dbmdb.c
gcc -c -O -pipe -I /usr/local/include -I/usr/local/include/mysql -I/usr/local/include dnsdb.c
gcc -c -O -pipe -I /usr/local/include -I/usr/local/include/mysql -I/usr/local/include dsearch.c
gcc -c -O -pipe -I /usr/local/include -I/usr/local/include/mysql -I/usr/local/include ldap.c
ldap.c: In function `perform_ldap_search':
ldap.c:520: dereferencing pointer to incomplete type
ldap.c:521: dereferencing pointer to incomplete type
*** Error code 1

Stop in /usr/ports/mail/exim-devel/work/exim-4.05/build-FreeBSD-i386/lookups.
*** Error code 1

Stop in /usr/ports/mail/exim-devel/work/exim-4.05/build-FreeBSD-i386.
*** Error code 1

Stop in /usr/ports/mail/exim-devel/work/exim-4.05.
*** Error code 1

Stop in /usr/ports/mail/exim-devel.
</cut>




-Wash

--
Odhiambo Washington  <wash@???>    "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com      Windows 95, NT, or better,'
Tel: 254 2 313985-9   Fax: 254 2 313922     so I installed FreeBSD."
GSM: 254 72 743 223   GSM: 254 733 744 121  This sig is McQ!  :-)



You will be a winner today. Pick a fight with a four-year-old.