Dear Sir, I tried to install the qmail-1.03 patched with qmail-ldap-1.03-20040301a on Sun Sparc/ Solaris 2.8. After successfully patched and run "make setup check" under /qmail-1.03 path, but get the following error and stop there. Any hints for that? Thanks!
# make setup check ... ... ... ... ... ... ./compile -I/usr/local/include qldap.c qldap.c: In function `qldap_bind': qldap.c:244: warning: passing arg 2 of `ldap_simple_bind_s' discards qualifiers from pointer target type qldap.c:244: warning: passing arg 3 of `ldap_simple_bind_s' discards qualifiers from pointer target type qldap.c: In function `qldap_lookup': qldap.c:352: warning: passing arg 4 of `ldap_search_st' discards qualifiers from pointer target type qldap.c: In function `qldap_filter': qldap.c:439: warning: passing arg 4 of `ldap_search_st' discards qualifiers from pointer target type qldap.c: In function `qldap_get_attr': qldap.c:786: warning: passing arg 3 of `ldap_get_values' discards qualifiers from pointer target type qldap.c: In function `qldap_set_option': qldap.c:926: `LDAP_OPT_SUCCESS' undeclared (first use in this function) qldap.c:926: (Each undeclared identifier is reported only once qldap.c:926: for each function it appears in.) make: *** [qldap.o] Error 1 # # Best regards, Toby Lau Internet Network & Services Wharf T&T Limited 9/F, Cable TV Tower, 9 Hoi Shing Road, Tsuen Wan, Hong Kong Direct Line: (852) 2112 8535 Facsimile: (852) 2112 0675
