lists.arthurdejong.org
RSS feed

[nssldap] nss-ldap errors at "make"

[Date Prev][Date Next] [Thread Prev][Thread Next]

[nssldap] nss-ldap errors at "make"



Hello people,

I've downloaded the tgz file "nss_ldap.tgz" from PADL Software Pty Ltd website and then (after un-tar/gz) run "./configure".
The "./configure" runs without error.
When I call "make"..... The follow error appears:

root@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@ldap:~/nss_ldap-262#


What can I do for a make step with no errors?
Does nss-ldap work well with OpenLDAP 2.4.X?

My OS is: Slackware 12.1 - standard full installation
OpenLDAP v. 2.4.11

No patch was applied to the system or OpenLDAP.

Thanks and hope a solution,
João Ferreira