[Date Prev][Date Next] [Chronological] [Thread] [Top]

compare.c:129: error: too many arguments to function `ldap_compare_ext' (ITS#2891)



Full_Name: Michael Ströder
Version: REL_ENG_2_1
OS: SuSE Linux 8.1
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (217.187.65.42)


Used to build fine yesterday. Now 2003-12-22 11:00 there's a build error:

make[2]: Entering directory
`/home/michael/src/openldap-REL_ENG_2_1/ldap/libraries/libldap'
/bin/sh /home/michael/src/openldap-REL_ENG_2_1/ldap/libtool  --mode=compile cc
-O4 -march=pentium4 -mcpu=pentium4 -I../../include        -I../../include  
-I/usr/local/Berkeley-DB-4.2/include -I/usr/local/sasl/include
-I/usr/include/heimdal   -DLDAP_LIBRARY -c compare.c
rm -f .libs/compare.lo
cc -O4 -march=pentium4 -mcpu=pentium4 -I../../include -I../../include
-I/usr/local/Berkeley-DB-4.2/include -I/usr/local/sasl/include
-I/usr/include/heimdal -DLDAP_LIBRARY -c compare.c  -fPIC -DPIC -o
.libs/compare.lo
compare.c:120: error: conflicting types for `ldap_compare_ext'
compare.c:54: error: previous declaration of `ldap_compare_ext'
compare.c: In function `ldap_compare_ext':
compare.c:129: warning: passing arg 4 of `ldap_compare_ext' from incompatible
pointer type
compare.c:129: error: too many arguments to function `ldap_compare_ext'
compare.c: In function `ldap_compare_ext_s':
compare.c:146: warning: passing arg 4 of `ldap_compare_ext' from incompatible
pointer type
compare.c:146: error: too many arguments to function `ldap_compare_ext'
make[2]: *** [compare.lo] Error 1
make[2]: Leaving directory
`/home/michael/src/openldap-REL_ENG_2_1/ldap/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory
`/home/michael/src/openldap-REL_ENG_2_1/ldap/libraries'
make: *** [all-common] Error 1