[Exim] exim-4.14 LDAP lookup fails to compile on Solaris 9

Página Inicial
Delete this message
Reply to this message
Autor: Hans-Peter Zahno
Data:  
Para: exim-users
Assunto: [Exim] exim-4.14 LDAP lookup fails to compile on Solaris 9
Hello,

I'm just about to upgrade from 4.12 to 4.14 on solaris 9 using Sun One ldap
libraries (LDAP_LIB_TYPE=SOLARIS) and I'm getting the following compile
error:
...
gcc -c -O ldap.c
In file included from ldap.c:35:
/usr/include/ldap.h:1420: `ldap_version' redeclared as different kind of
symbol
../globals.h:29: previous declaration of `ldap_version'
ldap.c: In function `perform_ldap_search':
ldap.c:379: invalid lvalue in assignment
make[2]: *** [ldap.o] Error 1
...

Does anybody knows how to correctly resolve this problem?
Regards
Hans-Peter

--
------------------------------------------------------------------------
Hans-Peter Zahno                      | mailto:Hans-Peter.Zahno@unifr.ch
Universitaet Freiburg/Informatikdienst|        Phone: +41(0)26 300 72 07
av. de l'Europe 20                    |          Fax: +41(0)26 300 97 04
CH-1700 Freiburg - Switzerland        |              http://www.unifr.ch