[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nssldap
Subject:    [nssldap] nss-ldap errors at "make"
From:       "Joao Amancio" <jjamancio () gmail ! com>
Date:       2008-10-09 13:44:55
Message-ID: eec51d810810090644p4f4199cyc0c56c9406bd7c66 () mail ! gmail ! com
[Download RAW message or body]

Hello people,

I've downloaded the tgz file "nss_ldap.tgz" from PADL Software Pty Ltd
website and then (after un-tar/gz) run "./configure".
The "./configure" runs without error.
When I call "make"..... The follow error appears:

root@ldap:~/nss_ldap-262# make
make  all-am
make[1]: Entering directory `/root/nss_ldap-262'
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -DLDAP_REFERRALS -DLDAP_DEPRECATED
-D_REENTRANT  -g -O2 -Wall -fPIC -MT ldap-nss.o -MD -MP -MF
".deps/ldap-nss.Tpo" -c -o ldap-nss.o ldap-nss.c; \
        then mv -f ".deps/ldap-nss.Tpo" ".deps/ldap-nss.Po"; else rm -f
".deps/ldap-nss.Tpo"; exit 1; fi
In file included from ldap-nss.c:95:
pagectrl.h:32: error: conflicting types for 'ldap_create_page_control'
/usr/local/include/ldap.h:2004: error: previous declaration of
'ldap_create_page_control' was here
pagectrl.h:41: error: conflicting types for 'ldap_parse_page_control'
/usr/local/include/ldap.h:2013: error: previous declaration of
'ldap_parse_page_control' was here
make[1]: *** [ldap-nss.o] Error 1
make[1]: Leaving directory `/root/nss_ldap-262'
make: *** [all] Error 2
root@ldap:~/nss_ldap-262#


What can I do for a make step with no errors?
Does nss-ldap work well with OpenLDAP 2.4.X?

My OS is: Slackware 12.1 - standard full installation
OpenLDAP v. 2.4.11

No patch was applied to the system or OpenLDAP.

Thanks and hope a solution,
Jo=E3o Ferreira

[Attachment #3 (text/html)]

<div dir="ltr">Hello people,<br><br>I&#39;ve downloaded the tgz file \
&quot;nss_ldap.tgz&quot; from&nbsp;PADL Software Pty Ltd website and then (after \
un-tar/gz) run &quot;./configure&quot;.<br>The &quot;./configure&quot; runs without \
error.<br>

When I call &quot;make&quot;..... The follow error \
appears:<br><br>root@ldap:~/nss_ldap-262# make<br>make&nbsp; all-am<br>make[1]: \
Entering directory `/root/nss_ldap-262&#39;<br>if gcc -DHAVE_CONFIG_H -I. -I. \
                -I.&nbsp;&nbsp; -DLDAP_REFERRALS -DLDAP_DEPRECATED
-D_REENTRANT&nbsp; -g -O2 -Wall -fPIC -MT ldap-nss.o -MD -MP -MF
&quot;.deps/ldap-nss.Tpo&quot; -c -o ldap-nss.o ldap-nss.c; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; then mv -f &quot;.deps/ldap-nss.Tpo&quot; \
&quot;.deps/ldap-nss.Po&quot;; else rm -f &quot;.deps/ldap-nss.Tpo&quot;; exit 1; \
fi<br>In file included from ldap-nss.c:95:<br>pagectrl.h:32: error: conflicting types \
for &#39;ldap_create_page_control&#39;<br>

/usr/local/include/ldap.h:<div dir="ltr">2004: error: previous declaration of \
&#39;ldap_create_page_control&#39; was here<br>pagectrl.h:41: error: conflicting \
types for &#39;ldap_parse_page_control&#39;<br>/usr/local/include/ldap.h:2013: error: \
previous declaration of &#39;ldap_parse_page_control&#39; was here<br>

make[1]: *** [ldap-nss.o] Error 1<br>make[1]: Leaving directory \
`/root/nss_ldap-262&#39;<br>make: *** [all] Error \
2<br>root@ldap:~/nss_ldap-262#<br><br><br>What can I do for a make step with no \
errors?<br>Does nss-ldap work well with OpenLDAP 2.4.X?<br> <br>My OS is: Slackware \
12.1 - standard full installation<br> OpenLDAP v. 2.4.11<br><br>No patch was applied \
to the system or OpenLDAP.<br><br>Thanks and hope a solution,<br>Joćo \
Ferreira</div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic