On Wed, Sep 03, 2003 at 01:43:24PM -0500, Mike Manders wrote: > I can compile qmail-1.03 just fine(with the errno patch). And I > currently have 20030801a patched qmail currently running on my redhat > linux system. > > For both of these I've had to patch qmail-1.03 with the errno patch, and > then after applying the qmail 20030901 patch and make'ing, I get these > compile errors: > > ./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 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 > > > I hope that's the important part of the code. Am I doing something > obviously wrong? Or are others having trouble compiling the new > qmail-ldap patch? >
djb-ism sometimes it sucks. Just change the NULL with 0 and it will work. If you used to no-djb C-Coding than it just happens that you put stuff in that your used to. There will be a a-release in the next days as soon as we found enough bugs to justify the effort (the NULL stuff is number two, number one is a problem with auth_imap and courier. Mr Sam just does not read his own docu, grumble...). -- :wq Claudio
