Re: [Ekiga-devel-list] [Win32] LDAP and trunk version



Le 14/06/2010 14:30, Thierry Simonnet a écrit :
I think I saw where the trouble is :

mv -f .deps/ldap-main.Tpo .deps/ldap-main.Plo
/bin/sh ../../libtool --tag=CXX --mode=link i586-mingw32msvc-g++
-mms-bitfields -I/root/win32/include -march=pentium-mmx -DPTRACING
-mwindows -Wall -Wextra -Winit-self -Wswitch-default -Wswitch-enum
-Wstrict-aliasing=2 -Wfloat-equal -Wshadow -Wl,--enable-auto-import
-no-undefined -avoid-version -module -L/root/win32/lib
-march=pentium-mmx -o libgmldap.la -rpath /root/win32/dist/Ekiga/plugins
ldap-contact.lo ldap-book.lo ldap-source.lo ldap-main.lo
../../lib/libekiga.la -L/root/win32/openldap-2.4.22/lib -llber -lldap
-lsasl2 -L/root/win32/lib -lboost_signals -L/root/win32/lib
-lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl
-L/root/win32/lib -lxml2

*** Warning: This system can not link to static lib archive
../../lib/libekiga.la.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** But as you try to build a module library, libtool will still create
*** a static module, that should work as long as the dlopening application
*** is linked with the -dlopen flag to resolve symbols at runtime.
i586-mingw32msvc-ar cru .libs/libgmldap.a .libs/ldap-contact.o
.libs/ldap-book.o .libs/ldap-source.o .libs/ldap-main.o
i586-mingw32msvc-ranlib .libs/libgmldap.a
creating libgmldap.la
(cd .libs && rm -f libgmldap.la && ln -s ../libgmldap.la libgmldap.la)

Then there is no ldap functionalities.
no libgmldap.dll. Do you have some clue?

Yes. The compilation of libekiga gave only the static lib, and not the dynamic one...

1) Isn't there a "-shared -no-undefined" in the LDFLAGS for libekiga?
2) Didn't you get warnings when compiling libekiga?

Snark


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]