[kde-linux] kdebase-3.4.2 doesn't want to compile with openldap-2.3.7

Dustin Navea speeddymon at gmail.com
Sun Sep 18 20:43:00 UTC 2005


Hi,

   I'm havings problems compiling kdebase 3.4.2 against openldap 2.3.7. 
  I googled for the error), and only got a mail archive from freebsd 
that said it was fixed in kde-3.4.1_1..  Unfortunately I am unable to 
find out what was changed between 3.4.1 and 3.4.1_1, and also I am 
having this problem as I said compiling 3.4.2..  Hopefully, I am sending 
this to the right list, but if I'm not, let me know which one it should 
go to.  The compile error is below, and any help is appreciated.

[-snip-]

Making all in ldap
make[3]: Entering directory 
`/home/speeddy/konstruct/kde/kdebase/work/kdebase-3.4.2/kioslave/ldap'
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ 
-DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde3/include -I/usr/X11R6/include 
    -DQT_THREAD_SUPPORT  -D_REENTRANT -D_FILE_OFFSET_BITS=64 
-Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W 
-Wpointer-arith -Wno-non-virtual-dtor -O2 -Wformat-security 
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION -D_GNU_SOURCE  -MT kio_ldap.lo -MD -MP -MF 
".deps/kio_ldap.Tpo" -c -o kio_ldap.lo kio_ldap.cpp; \
then mv -f ".deps/kio_ldap.Tpo" ".deps/kio_ldap.Plo"; else rm -f 
".deps/kio_ldap.Tpo"; exit 1; fi
kio_ldap.cpp: In member function `virtual void 
LDAPProtocol::openConnection()':
kio_ldap.cpp:707: error: `ldap_simple_bind_s' undeclared (first use this
    function)
kio_ldap.cpp:707: error: (Each undeclared identifier is reported only 
once for
    each function it appears in.)
kio_ldap.cpp: In member function `virtual void 
LDAPProtocol::closeConnection()
    ':
kio_ldap.cpp:732: error: `ldap_unbind' undeclared (first use this function)
kio_ldap.cpp: In member function `virtual void LDAPProtocol::stat(const 
KURL&)
    ':
kio_ldap.cpp:849: error: `ldap_abandon' undeclared (first use this function)
kio_ldap.cpp: In member function `virtual void LDAPProtocol::del(const 
KURL&,
    bool)':
kio_ldap.cpp:880: error: `ldap_delete_s' undeclared (first use this 
function)
kio_ldap.cpp: In member function `virtual void LDAPProtocol::put(const 
KURL&,
    int, bool, bool)':
kio_ldap.cpp:984: error: `ldap_delete_s' undeclared (first use this 
function)
kio_ldap.cpp: In member function `virtual void LDAPProtocol::listDir(const
    KURL&)':
kio_ldap.cpp:1137: error: `ldap_abandon' undeclared (first use this 
function)
make[3]: *** [kio_ldap.lo] Error 1
make[3]: Leaving directory 
`/home/speeddy/konstruct/kde/kdebase/work/kdebase-3.4.2/kioslave/ldap'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/speeddy/konstruct/kde/kdebase/work/kdebase-3.4.2/kioslave'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/speeddy/konstruct/kde/kdebase/work/kdebase-3.4.2'
make: *** [all] Error 2


I should also mention that I am building KDE with konstruct.

Thanks in advance,

Dustin



More information about the kde-linux mailing list