Eh?This has been mentioned a couple times, here's a previous email from this list:
./compile auto_uids.c ./auto-str auto_usera `head -1 conf-users` > auto_usera.c ./compile auto_usera.c ./compile check.c ./compile output.c ./compile -I/usr/local/include -DDEBUG qldap.c qldap.c: In function `qldap_lookup': qldap.c:328: warning: passing arg 5 of `ldap_search_st' from incompatible pointer type qldap.c: In function `qldap_filter': qldap.c:415: warning: passing arg 5 of `ldap_search_st' from incompatible pointer type qldap.c: In function `qldap_first': qldap.c:467: `NULL' undeclared (first use in this function) qldap.c:467: (Each undeclared identifier is reported only once qldap.c:467: for each function it appears in.) qldap.c: In function `qldap_next': qldap.c:485: `NULL' undeclared (first use in this function) qldap.c: In function `qldap_set_option': qldap.c:916: warning: passing arg 2 of `ldap_set_rebind_proc' from incompatible pointer type make: *** [qldap.o] Error 1
Why is it doing this?
I was able to get qmail-ldap to compile after doing these changes:
In the Makefile -Uncommenting the 'SHADOWLIBS=-lcrypt' line. -Adding $(SHADOWLIBS) as Claudio mentioned.
In qldap.c -Switching all occurrences of NULL to 0 as you mentioned.
After this.. it all compiled. Now I get to try it out.
-Mike
