|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Compilation problem with LDAPI'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--- _______________________________________________ ekiga-list mailing list ekiga-list@... http://mail.gnome.org/mailman/listinfo/ekiga-list |
|
|
Re: Compilation problem with LDAPNOREPLY a écrit :
> 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. His problem was entirely different, if I remember well : he was trying to compile pwlib with a recent openLDAP -- and pwlib's LDAP code is using a deprecated api. > 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 Yes, my code landed in svn -- and it doesn't use deprecated api. > 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 What is strange is that you seem to have *none* of the openLDAP functions, but we don't see a warning about not finding ldap.h... What do you have in that ldap.h? Snark on #ekiga PS: notice that discussing on the svn version should better take place on ekiga-devel... _______________________________________________ ekiga-list mailing list ekiga-list@... http://mail.gnome.org/mailman/listinfo/ekiga-list |
|
|
Re: Compilation problem with LDAPJulien Puydt a écrit :
>> 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 > > Yes, my code landed in svn -- and it doesn't use deprecated api. Rrrraaaaahhhh... he sent me his ldap.h off-list, and now all my non-deprecated api seems to be deprecated!!! Sigh. Snark _______________________________________________ ekiga-list mailing list ekiga-list@... http://mail.gnome.org/mailman/listinfo/ekiga-list |
|
|
Re: Compilation problem with LDAPJulien Puydt a écrit :
> Julien Puydt a écrit : >>> 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 >> Yes, my code landed in svn -- and it doesn't use deprecated api. > > Rrrraaaaahhhh... he sent me his ldap.h off-list, and now all my > non-deprecated api seems to be deprecated!!! I committed a quick-fix -- porting to v2.3 will have to wait until it's more widespread. Even debian/unstable doesn't even have a -dev package for it at the moment, it seems! Snark on #ekiga _______________________________________________ ekiga-list mailing list ekiga-list@... http://mail.gnome.org/mailman/listinfo/ekiga-list |
| Free embeddable forum powered by Nabble | Forum Help |