<div dir="ltr">Hello all,<div><br></div><div>I´m trying to compile a new version of 389 DS (389-ds-base-1.3.0.4) and I´m getting this error:</div><div><br></div><div><div>gcc -DHAVE_CONFIG_H -I. -DBUILD_NUM=\&quot;2013.168.127\&quot; &quot;-DVENDOR=\&quot;389 Project\&quot;&quot; -DBRAND=\&quot;389\&quot; -DCAPBRAND=\&quot;389\&quot; -UPACKAGE_VERSION -UPACKAGE_TARNAME -UPACKAGE_STRING -UPACKAGE_BUGREPORT -I./ldap/include -I./ldap/servers/slapd -I./include -I. -DLOCALSTATEDIR=\&quot;/opt/dirsrv/var\&quot; -DSYSCONFDIR=\&quot;/opt/dirsrv/etc\&quot; -DLIBDIR=\&quot;/opt/dirsrv/lib\&quot; -DBINDIR=\&quot;/opt/dirsrv/bin\&quot; -DDATADIR=\&quot;/opt/dirsrv/share\&quot; -DDOCDIR=\&quot;/opt/dirsrv/share/doc/389-ds-base\&quot; -DSBINDIR=\&quot;/opt/dirsrv/sbin\&quot; -DPLUGINDIR=\&quot;/opt/dirsrv/lib/dirsrv/plugins\&quot; -DTEMPLATEDIR=\&quot;/opt/dirsrv/share/dirsrv/data\&quot; -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</div>
<div>ldap/servers/slapd/opshared.c: In function âop_shared_searchâ:</div><div>ldap/servers/slapd/opshared.c:470:16: error: âLDAP_CANCELLEDâ undeclared (first use in this function)</div><div>ldap/servers/slapd/opshared.c:470:16: note: each undeclared identifier is reported only once for each function it appears in</div>
<div>ldap/servers/slapd/opshared.c: In function âop_shared_log_error_accessâ:</div><div>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]</div>
</div><div><br></div><div style>Also tried 389-ds-base-1.3.0.3 and 389-ds-base-1.2.11.19 with the same error.</div><div style><br></div><div style>Can anyone point me how to fix it?</div><div style><br></div><div style>Thanks.</div>
<div style><br></div><div style>Alberto Viana</div></div>