Re: [Ekiga-devel-list] Unnecessary linked libraries
- From: Damien Sandras <dsandras seconix com>
- To: Ekiga development mailing list <ekiga-devel-list gnome org>
- Subject: Re: [Ekiga-devel-list] Unnecessary linked libraries
- Date: Tue, 22 Jul 2008 13:05:27 +0200
Le mardi 22 juillet 2008 à 12:32 +0200, Eugen Dedu a écrit :
> Hm... Here is the line for building ekiga, where -lz, -ldbus-1,
> -lpthread for ex. are present:
>
> g++ -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
> -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1
> -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DORBIT2=1
> -pthread -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0
> -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0
> -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0
> -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0
> -I/usr/include/libart-2.0 -I/usr/include/gnome-keyring-1
> -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0
> -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/include/pango-1.0
> -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0
> -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/libpng12
> -I/usr/include/pixman-1 -I/usr/include/dbus-1.0
> -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/opal -DPTRACING -DNDEBUG -Os
> -g -fno-exceptions -felide-constructors -I/usr/include/sigc++-2.0
> -I/usr/lib/sigc++-2.0/include -I/usr/include/libxml2 -g -O2 -Wall
> -Wextra -Winit-self -Wswitch-default -Wswitch-enum -Wstrict-aliasing=2
> -Wfloat-equal -Wshadow -o ekiga accounts.o callbacks.o conf.o dialpad.o
> assistant.o main.o misc.o preferences.o tools.o statusicon.o
> statusmenu.o videoinput.o videooutput.o audiodev.o ekiga.o manager.o
> h323.o pcss.o sip-presentity.o sip-chat-simple.o sip-dialect.o sip.o
> opal-account.o opal-bank.o opal-call.o opal-codec-description.o
> opal-gmconf-bridge.o opal-main.o dbus.o -Wl,--export-dynamic -pthread
> -pthread ../lib/.libs/libekiga.a ../lib/engine/.libs/libekiga_engine.a
> /usr/lib/libfreetype.so -lz -lfontconfig -lpng12 -lxcb-render-util
> -lxcb-render -lxcb -lXrender -lX11 -lpixman-1 -lXv
> /usr/lib/libavahi-common.so /usr/lib/libavahi-client.so
> /usr/lib/libavahi-glib.so -lebook-1.2 -ledataserver-1.2 -llber -lldap
> /usr/lib/libgnomeui-2.so -lSM -lICE /usr/lib/libbonoboui-2.so
> /usr/lib/libgnomevfs-2.so /usr/lib/libgnomecanvas-2.so
> /usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libbonobo-2.so
> /usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so
> /usr/lib/libart_lgpl_2.so /usr/lib/libgtk-x11-2.0.so
> /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so
> /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so
> /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgconf-2.so
> /usr/lib/libgthread-2.0.so -lrt /usr/lib/libgmodule-2.0.so -ldbus-glib-1
> -ldbus-1 /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -ldl
> -lpthread -lopal -lpt /usr/lib/libsigc-2.0.so /usr/lib/libxml2.so -lresolv
>
They are generated by pkg-config.
There is no place in the auto* stuff where we link to libz.
libpthread is essential to every Linux program (otherwise, no threads)
and libdbus-1 is linked because DBUS support is compiled in.
--
_ Damien Sandras
(o-
//\ Ekiga Softphone : http://www.ekiga.org/
v_/_ NOVACOM : http://www.novacom.be/
FOSDEM : http://www.fosdem.org/
SIP Phone : sip:dsandras ekiga net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]