On 06/17/2013 06:25 AM, Alberto Viana
wrote:
Hello all,
I´m trying to compile a new version of 389 DS
(389-ds-base-1.3.0.4) and I´m getting this error:
gcc -DHAVE_CONFIG_H -I. -DBUILD_NUM=\"2013.168.127\"
"-DVENDOR=\"389 Project\"" -DBRAND=\"389\"
-DCAPBRAND=\"389\" -UPACKAGE_VERSION -UPACKAGE_TARNAME
-UPACKAGE_STRING -UPACKAGE_BUGREPORT -I./ldap/include
-I./ldap/servers/slapd -I./include -I.
-DLOCALSTATEDIR=\"/opt/dirsrv/var\"
-DSYSCONFDIR=\"/opt/dirsrv/etc\"
-DLIBDIR=\"/opt/dirsrv/lib\" -DBINDIR=\"/opt/dirsrv/bin\"
-DDATADIR=\"/opt/dirsrv/share\"
-DDOCDIR=\"/opt/dirsrv/share/doc/389-ds-base\"
-DSBINDIR=\"/opt/dirsrv/sbin\"
-DPLUGINDIR=\"/opt/dirsrv/lib/dirsrv/plugins\"
-DTEMPLATEDIR=\"/opt/dirsrv/share/dirsrv/data\"
-I/usr/include/nspr -I/usr/include/nss
-I/usr/include/mozldap -I/usr/include/nss
-I/usr/include/nspr -I/usr/include/nspr -I/usr/include/sasl
-I/usr/include -I/usr/include/nspr -I/usr/include/nss -g -O2
-MT ldap/servers/slapd/libslapd_la-opshared.lo -MD -MP -MF
ldap/servers/slapd/.deps/libslapd_la-opshared.Tpo -c
ldap/servers/slapd/opshared.c -fPIC -DPIC -o
ldap/servers/slapd/.libs/libslapd_la-opshared.o
ldap/servers/slapd/opshared.c: In function
âop_shared_searchâ:
ldap/servers/slapd/opshared.c:470:16: error:
âLDAP_CANCELLEDâ undeclared (first use in this function)
ldap/servers/slapd/opshared.c:470:16: note: each
undeclared identifier is reported only once for each
function it appears in
ldap/servers/slapd/opshared.c: In function
âop_shared_log_error_accessâ:
ldap/servers/slapd/opshared.c:1702:23: warning: format
â%lluâ expects argument of type âlong long unsigned intâ,
but argument 3 has type âPRUint64â [-Wformat]
Also tried 389-ds-base-1.3.0.3
and 389-ds-base-1.2.11.19 with the same error.
Can anyone point me how to fix it?
use openldap instead of mozldap
configure --with-openldap ....
--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users
|
--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users