[Ekiga-list] Compilation problem with LDAP

NOREPLY gc at pps.jussieu.fr
Fri Aug 31 10:38:50 UTC 2007


I've seen in a previous post by Franz Fuder that he has a compilation problem 
with ldap. I do not know whether the problem is the same as mine but I cannot do 
it either: I have to use the --disable-ldap option of configure.

I compile the lastest SVN/CVS sources (of opal pwlib ffmpeg and ekiga). I did 
not have any problem before leaving on holidays (i.e. till beginning of August, 
but now I that I am back I always have the error described below), so I cannot 
precisely say when the problem first appeared

I tried to compile it on up-to-date Fedora Core 6 and Fedora 7, on i386 and 
x86_64 archs, I used the latest open-ldap libraries and even tried with the 
openldap-2.4.4 alpha version without any success.

Here you  what I get

  g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../lib/gmconf 
-I../../../../lib/engine/framework -I../../../../lib/engine/addressbook/skel 
-I../../../../src -I../../../../src/clients/ -I../../../../src/components/ 
-I../../../../src/devices/ -I../../../../src/endpoints/ -I../../../../src/gui/ 
-I/usr/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -pthread 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/opal -DPTRACING -DNDEBUG -Wall -Os -g 
-fno-exceptions -felide-constructors -I/usr/include/ptlib -I/usr/include/ptclib 
-D_REENTRANT -fno-exceptions -g -O2 -MT ldap-book.lo -MD -MP -MF 
.deps/ldap-book.Tpo -c ../../../../lib/engine/addressbook/ldap/ldap-book.cpp 
-fPIC -DPIC -o .libs/ldap-book.o
../../../../lib/engine/addressbook/ldap/ldap-book.cpp: In member function 'void 
OPENLDAP::Book::refresh_start()':
../../../../lib/engine/addressbook/ldap/ldap-book.cpp:353: error: 'ldap_init' 
was not declared in this scope
../../../../lib/engine/addressbook/ldap/ldap-book.cpp:368: error: 'ldap_bind_s' 
was not declared in this scope
../../../../lib/engine/addressbook/ldap/ldap-book.cpp:374: error: 'ldap_unbind' 
was not declared in this scope
../../../../lib/engine/addressbook/ldap/ldap-book.cpp:402: error: 'ldap_search' 
was not declared in this scope
../../../../lib/engine/addressbook/ldap/ldap-book.cpp:413: error: 'ldap_unbind' 
was not declared in this scope
../../../../lib/engine/addressbook/ldap/ldap-book.cpp: In member function 'void 
OPENLDAP::Book::refresh_end()':
../../../../lib/engine/addressbook/ldap/ldap-book.cpp:455: error: 'ldap_unbind' 
was not declared in this scope
../../../../lib/engine/addressbook/ldap/ldap-book.cpp:486: error: 'ldap_unbind' 
was not declared in this scope
make[6]: *** [ldap-book.lo] Error 1
make[6]: Leaving directory `/usr/local/src/EKIGA/ekiga/lib/engine/addressbook/ldap'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/usr/local/src/EKIGA/ekiga/lib/engine/addressbook'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/local/src/EKIGA/ekiga/lib/engine'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/EKIGA/ekiga/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/EKIGA/ekiga/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/EKIGA/ekiga'
make: *** [all] Error 2


Cheers

---Beppe---



More information about the ekiga-list mailing list