My mistake. Wrong version of ldap.h installed. Updated openldap-devel and it works fine.

From: "Ben Booble" <[EMAIL PROTECTED]>
To: [email protected]
Subject: [courier-users] rpmbuild courier-authlib-0.55.20050407 error compiling authldaplib.c
Date: Fri, 13 May 2005 06:04:31 +0000


Hi all,

I am running mandrake LE2005, openldap-2.2.23-5mdk (with all pre-requisites installed). I have searched the archives but other errors don't seem to be like this.

Compiling authldaplib.c
authldaplib.c: In function `get_values':
authldaplib.c:621: error: `LDAP_NO_RESULTS_RETURNED' undeclared (first use in this function)
authldaplib.c:621: error: (Each undeclared identifier is reported only once
authldaplib.c:621: error: for each function it appears in.)
authldaplib.c: In function `copy_value':
authldaplib.c:659: error: `LDAP_NO_RESULTS_RETURNED' undeclared (first use in this function)
authldaplib.c: In function `auth_ldap_do3':
authldaplib.c:1408: warning: passing arg 3 of `ldap_simple_bind_s' discards qualifiers from pointer target typeauthldaplib.c: In function `auth_ldap_enumerate':
authldaplib.c:1742: warning: passing arg 4 of `ldap_search' discards qualifiers from pointer target type
authldaplib.c:1771: warning: implicit declaration of function `ldap_parse_result'
make[2]: *** [authldaplib.lo] Error 1
make[2]: Leaving directory `/builds/rpmbuild/BUILD/courier-authlib-0.55.20050407'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/builds/rpmbuild/BUILD/courier-authlib-0.55.20050407'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.67204 (%build)


Is there a version problems here?

Regards,

Ben

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to