On Wed, Apr 07, 2004 at 03:02:52PM +0800, Toby LAU, Chung To wrote:
> 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
> #
> #
> 

Hmmm, what type and version of LDAP libraries are you using?
The code is mostly defined for the OpenLDAP libraries.

-- 
:wq Claudio

Reply via email to