[Samba] "nss_ldap" make fails on Slakware 12.1
Joao Amancio
jjamancio at gmail.com
Wed Oct 8 18:16:58 GMT 2008
Hello people,
My difficult is get "nss_ldap" compiled and running on my server.
I download the tgz file from PADL Software Pty Ltd website,
decompress/untar, and then run "./configure" .
./configure runs just fine with no error message.
Things go bad when I type: make
This is the output after I try to do "make":
root at ldap:~/nss_ldap-262# make
make all-am
make[1]: Entering directory `/root/nss_ldap-262'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -DLDAP_REFERRALS -DLDAP_DEPRECATED
-D_REENTRANT -g -O2 -Wall -fPIC -MT ldap-nss.o -MD -MP -MF
".deps/ldap-nss.Tpo" -c -o ldap-nss.o ldap-nss.c; \
then mv -f ".deps/ldap-nss.Tpo" ".deps/ldap-nss.Po"; else rm -f
".deps/ldap-nss.Tpo"; exit 1; fi
In file included from ldap-nss.c:95:
pagectrl.h:32: error: conflicting types for 'ldap_create_page_control'
/usr/local/include/ldap.h:2004: error: previous declaration of
'ldap_create_page_control' was here
pagectrl.h:41: error: conflicting types for 'ldap_parse_page_control'
/usr/local/include/ldap.h:2013: error: previous declaration of
'ldap_parse_page_control' was here
make[1]: *** [ldap-nss.o] Error 1
make[1]: Leaving directory `/root/nss_ldap-262'
make: *** [all] Error 2
root at ldap:~/nss_ldap-262#
I've also tried some google's answer but see no one to solve this problem.
Server OS: Slackware 12.1 (standard full installation)
OpenLDAP 2.4.11
Best regards,
João Ferreira
More information about the samba
mailing list