<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 06/17/2013 06:25 AM, Alberto Viana
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAD5whWeybKT9La5mH2HwUt4KsL96H6ZK1UheajWAYLWG085Qew@mail.gmail.com"
      type="cite">
      <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=\"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</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>
    </blockquote>
    use openldap instead of mozldap<br>
    <br>
    configure --with-openldap ....<br>
    <blockquote
cite="mid:CAD5whWeybKT9La5mH2HwUt4KsL96H6ZK1UheajWAYLWG085Qew@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div style=""><br>
        </div>
        <div style="">Thanks.</div>
        <div style=""><br>
        </div>
        <div style="">Alberto Viana</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">--
389 users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/389-users">https://admin.fedoraproject.org/mailman/listinfo/389-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>