[Date Prev][Date Next] [Chronological] [Thread] [Top]

Problems building nss_ldap and pam_ldap with Openldap



Hello,

I've tried to build pam_ldap and nss_ldap with openldap-2.1.3. But it wont.


p15090634:/home/ranger/nss_ldap-198 # make
gcc -DHAVE_CONFIG_H -I. -I. -I. -DLDAP_REFERRALS -D_REENTRANT -g -O2 -Wall -fPIC -c -o ldap-nss.o ldap-nss.c
ldap-nss.c: In function `_nss_ldap_enter':
ldap-nss.c:484: warning: implicit declaration of function `sigset'
ldap-nss.c:484: warning: assignment makes pointer from integer without a cast
ldap-nss.c: In function `do_open':
ldap-nss.c:1083: warning: passing arg 2 of `ldap_set_rebind_proc' from incompatible pointer type
ldap-nss.c:1083: too few arguments to function `ldap_set_rebind_proc'
ldap-nss.c: In function `_nss_ldap_proxy_bind':
ldap-nss.c:3123: warning: passing arg 2 of `ldap_set_rebind_proc' from incompatible pointer type
ldap-nss.c:3123: too few arguments to function `ldap_set_rebind_proc'
ldap-nss.c: At top level:
ldap-nss.c:21: warning: `rcsId' defined but not used
make: *** [ldap-nss.o] Error 1


make of pam_ldap dies with the same error. Does somebody know what I did wrong?
I hope somebody can help.


Greetings, Lothar


------------------------------- Lothar Handl Kreubzerg 167 4780 Schärding Tel.: +43 664 375 2097 ICQ: 739383807