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



On 06/14/2010 05:01 PM, Julien Puydt wrote:
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?
PLUGINS_LIBTOOL_FLAGS = -no-undefined -avoid-version -module in ekiga/plugin/ldap/Makefile. I only found rules to generate a libgmldap.la (plugin_LTLIBRARIES = libgmldap.la)

2) Didn't you get warnings when compiling libekiga?
These one (and previous one, of course) See http://www.pateam.org/archive/tmp/ekiga-win32/trunk/make.log.gz

/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 -shared -module -no-undefined -avoid-version -lboost_signals -L/root/win32/lib -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -L/root/win32/lib -lxml2 -L/root/win32/lib -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -lregex -L/root/win32/lib -lpt -L/root/win32/lib -lopal -lavifil32 -lpt -lspeexdsp -lddraw -L/root/win32/lib -march=pentium-mmx -o libekiga.la -rpath /root/win32/dist/Ekiga gmmarshallers.lo toolbox-common.lo toolbox-internal.lo toolbox-win32.lo platform-win32.lo gmconf-glib.lo gm-smileys.lo gmwindow.lo gmconfwidgets.lo gmconnectbutton.lo gmdialog.lo gmentrydialog.lo gmlevelmeter.lo gmmenuaddon.lo gmpreferences.lo gmstatusbar.lo gmstockicons.lo gmpowermeter.lo gmcellrendererexpander.lo gm-cell-renderer-bitext.lo gm-text-buffer-enhancer-helper-iface.lo gm-text-anchored-tag.lo gm-text-smiley.lo gm-text-extlink.lo gm-text-buffer-enhancer.lo gm-smiley-chooser-button.lo dxwindow.lo engine.lo boost-exceptions.lo form.lo robust-xml.lo gmconf-bridge.lo menu-builder.lo menu-builder-tools.lo form-builder.lo form-dumper.lo form-request-simple.lo runtime-glib.lo services.lo menu-xml.lo kickstart.lo plugin-core.lo account-core.lo contact-core.lo chat-core.lo friend-or-foe.lo notification-dummy.lo proxy-presentity.lo uri-presentity.lo presence-core.lo call-manager.lo call-core.lo codec-description.lo videooutput-core.lo videooutput-gmconf-bridge.lo videoinput-core.lo videoinput-gmconf-bridge.lo audiooutput-scheduler.lo audiooutput-core.lo audiooutput-gmconf-bridge.lo audioinput-core.lo audioinput-gmconf-bridge.lo hal-core.lo menu-builder-gtk.lo form-dialog-gtk.lo optional-buttons-gtk.lo codecsbox.lo gtk-core.lo gtk-core-main.lo addressbook-window.lo book-view-gtk.lo roster-view-gtk.lo call-history-view-gtk.lo presentity-view.lo chat-area.lo simple-chat-page.lo multiple-chat-page.lo chat-window.lo gtk-frontend.lo utils.lo audioinput-manager-ptlib.lo audioinput-main-ptlib.lo videoinput-manager-ptlib.lo videoinput-main-ptlib.lo audiooutput-manager-ptlib.lo audiooutput-main-ptlib.lo opal-call-manager.lo pcss-endpoint.lo opal-account.lo opal-bank.lo opal-call.lo opal-codec-description.lo opal-gmconf-bridge.lo opal-main.lo opal-audio.lo opal-videoinput.lo opal-videooutput.lo h323-endpoint.lo sip-chat-simple.lo sip-dialect.lo sip-endpoint.lo history-contact.lo history-book.lo history-source.lo history-main.lo echo-presentity.lo echo-simple.lo echo-dialect.lo echo-main.lo gmconf-personal-details.lo gmconf-personal-details-main.lo local-presentity.lo local-heap.lo local-cluster.lo local-roster-main.lo local-roster-bridge.lo videoinput-manager-mlogo.lo videoinput-main-mlogo.lo audioinput-manager-null.lo audioinput-main-null.lo audiooutput-manager-null.lo audiooutput-main-null.lo videooutput-manager-common.lo videooutput-manager-dx.lo videooutput-main-dx.lo

*** Warning: linker path does not have real file for library -lboost_signals.
*** 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
*** because I did check the linker path looking for a file starting
*** with libboost_signals but no candidates were found. (...for file magic test)

*** Warning: linker path does not have real file for library -lregex.
*** 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
*** because I did check the linker path looking for a file starting
*** with libregex and none of the candidates passed a file format test
*** using a file magic. Last file checked: /root/win32/lib/libregex.a

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libekiga.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
i586-mingw32msvc-ar cru .libs/libekiga.a .libs/gmmarshallers.o .libs/toolbox-common.o .libs/toolbox-internal.o .libs/toolbox-win32.o .libs/platform-win32.o .libs/gmconf-glib.o .libs/gm-smileys.o .libs/gmwindow.o .libs/gmconfwidgets.o .libs/gmconnectbutton.o .libs/gmdialog.o .libs/gmentrydialog.o .libs/gmlevelmeter.o .libs/gmmenuaddon.o .libs/gmpreferences.o .libs/gmstatusbar.o .libs/gmstockicons.o .libs/gmpowermeter.o .libs/gmcellrendererexpander.o .libs/gm-cell-renderer-bitext.o .libs/gm-text-buffer-enhancer-helper-iface.o .libs/gm-text-anchored-tag.o .libs/gm-text-smiley.o .libs/gm-text-extlink.o .libs/gm-text-buffer-enhancer.o .libs/gm-smiley-chooser-button.o .libs/dxwindow.o .libs/engine.o .libs/boost-exceptions.o .libs/form.o .libs/robust-xml.o .libs/gmconf-bridge.o .libs/menu-builder.o .libs/menu-builder-tools.o .libs/form-builder.o .libs/form-dumper.o .libs/form-request-simple.o .libs/runtime-glib.o .libs/services.o .libs/menu-xml.o .libs/kickstart.o .libs/plugin-core.o .libs/account-core.o .libs/contact-core.o .libs/chat-core.o .libs/friend-or-foe.o .libs/notification-dummy.o .libs/proxy-presentity.o .libs/uri-presentity.o .libs/presence-core.o .libs/call-manager.o .libs/call-core.o .libs/codec-description.o .libs/videooutput-core.o .libs/videooutput-gmconf-bridge.o .libs/videoinput-core.o .libs/videoinput-gmconf-bridge.o .libs/audiooutput-scheduler.o .libs/audiooutput-core.o .libs/audiooutput-gmconf-bridge.o .libs/audioinput-core.o .libs/audioinput-gmconf-bridge.o .libs/hal-core.o .libs/menu-builder-gtk.o .libs/form-dialog-gtk.o .libs/optional-buttons-gtk.o .libs/codecsbox.o .libs/gtk-core.o .libs/gtk-core-main.o .libs/addressbook-window.o .libs/book-view-gtk.o .libs/roster-view-gtk.o .libs/call-history-view-gtk.o .libs/presentity-view.o .libs/chat-area.o .libs/simple-chat-page.o .libs/multiple-chat-page.o .libs/chat-window.o .libs/gtk-frontend.o .libs/utils.o .libs/audioinput-manager-ptlib.o .libs/audioinput-main-ptlib.o .libs/videoinput-manager-ptlib.o .libs/videoinput-main-ptlib.o .libs/audiooutput-manager-ptlib.o .libs/audiooutput-main-ptlib.o .libs/opal-call-manager.o .libs/pcss-endpoint.o .libs/opal-account.o .libs/opal-bank.o .libs/opal-call.o .libs/opal-codec-description.o .libs/opal-gmconf-bridge.o .libs/opal-main.o .libs/opal-audio.o .libs/opal-videoinput.o .libs/opal-videooutput.o .libs/h323-endpoint.o .libs/sip-chat-simple.o .libs/sip-dialect.o .libs/sip-endpoint.o .libs/history-contact.o .libs/history-book.o .libs/history-source.o .libs/history-main.o .libs/echo-presentity.o .libs/echo-simple.o .libs/echo-dialect.o .libs/echo-main.o .libs/gmconf-personal-details.o .libs/gmconf-personal-details-main.o .libs/local-presentity.o .libs/local-heap.o .libs/local-cluster.o .libs/local-roster-main.o .libs/local-roster-bridge.o .libs/videoinput-manager-mlogo.o .libs/videoinput-main-mlogo.o .libs/audioinput-manager-null.o .libs/audioinput-main-null.o .libs/audiooutput-manager-null.o .libs/audiooutput-main-null.o .libs/videooutput-manager-common.o .libs/videooutput-manager-dx.o .libs/videooutput-main-dx.o
i586-mingw32msvc-ranlib .libs/libekiga.a


Snark
_______________________________________________
ekiga-devel-list mailing list
ekiga-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list


--

Thierry Simonnet

ESIEE-Paris

Par respect pour l’environnement, n’imprimez ce mail que si nécessaire




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