Categories
gentoo problems

kdepimlibs compilation problem

Having folowing problem during update to kde-4.10 ?

/var/tmp/portage/kde-base/kdepimlibs-4.10.0/work/kdepimlibs-4.10.0/kldap/ldapconnection.cpp:268:80: error: ‘ldap_init’ was not declared in this scope
/var/tmp/portage/kde-base/kdepimlibs-4.10.0/work/kdepimlibs-4.10.0/kldap/ldapconnection.cpp: In member function ‘void KLDAP::LdapConnection::close()’:
/var/tmp/portage/kde-base/kdepimlibs-4.10.0/work/kdepimlibs-4.10.0/kldap/ldapconnection.cpp:359:27: error: ‘ldap_unbind’ was not declared in this scope

Add

CXXFLAGS=”$CXXFLAGS -DLDAP_DEPRECATED”

to /etc/make.config