[Pdns-users] pdns 2.8.18 ldap backend compile problem

Szabó Ákos fonya at fatav.hu
Tue Jul 19 09:50:15 UTC 2005


Hi,

I use fedora 4, with gcc 4.0.0, and openldap 2.2.26. When I try to
compile pdns with ldap support, I've got this /I try to find strbind in
include files, but not found my entire system/:

 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -D_GNU_SOURCE -O2 -g -pipe
-Wp,-D_FORTIFY_S
OURCE=2 -fexceptions -m32 -march=i686 -mtune=pentium3
-fasynchronous-unwind-tabl
es -Wall -O2 -MT ldapbackend.lo -MD -MP -MF .deps/ldapbackend.Tpo -c
ldapbackend
.cc  -fPIC -DPIC -o .libs/ldapbackend.o
ldapbackend.cc: In member function 'bool LdapBackend::list_simple(const
std::str
ing&, int)':
ldapbackend.cc:135: error: 'strbind' was not declared in this scope
ldapbackend.cc: In member function 'void
LdapBackend::lookup_simple(const QType&
, const std::string&, DNSPacket*, int)':
ldapbackend.cc:218: error: 'strbind' was not declared in this scope
ldapbackend.cc: In member function 'void
LdapBackend::lookup_strict(const QType&
, const std::string&, DNSPacket*, int)':
ldapbackend.cc:263: error: 'strbind' was not declared in this scope
ldapbackend.cc: In member function 'void LdapBackend::lookup_tree(const
QType&, 
const std::string&, DNSPacket*, int)':
ldapbackend.cc:291: error: 'strbind' was not declared in this scope
make[3]: *** [ldapbackend.lo] Error 1
make[3]: Leaving directory
`/home/fonya/redhat/BUILD/pdns-2.9.18/modules/ldapbac
kend'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/fonya/redhat/BUILD/pdns-2.9.18/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fonya/redhat/BUILD/pdns-2.9.18'
make: *** [all] Error 2

With the 'old' relese /pre18 :)/ I can compile everything.

Can someone told me what can I do with this?

Thanx a lot!

-- 
Ciao:
        Fonya

        GIVE ME DIRECT LINK I AM A HIGH-PAID MANAGER!
           PGP key ID F86614E5, GPG key ID 83AD9365



More information about the Pdns-users mailing list