[Ekiga-devel-list] Hard time compiling ekiga



Hi all,
I'm currently trying to compile SVN trunk version of Ekiga, in order to submit patches for this bug:
http://bugzilla.gnome.org/show_bug.cgi?id=361679

However, I find having a working install of Ekiga to be a real PITA. I've tried many times, over a long period of time, unfrequently, and just can't achieve to have something working. I used to use jhbuild for that purpose, but only the stable version is distributed nowadays, not the unstable one.

So I hope someone will be able to help me on my problem, as I've wasted hours and hours for no result. :-(

Here are the problems I encountered:
1. ekiga directly segfaulted on startup, due to uninitialized types in gm_conf_init (lib/gmconf/gmconf-gconf.c). I fixed that calling g_type_init at the beginning of gm_conf_init, but I think it's a weird comportement, and don't really know if it's related to my developing environment.

2. Once I had that fixed, ekiga complained about no audio device being found. I just couldn't know what to do then. So I updated everything: my SVN opal, ptlib and ekiga builds. Since then I can't build ekiga, as I have linking errors with opal:

<snip>
g++ -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/opt/gnome2/include/cairo -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -pthread -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -DORBIT2=1 -pthread -I/opt/gnome2/include/libgnome-2.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/bonobo-activation-2.0 -I/opt/gnome2/include/libgnomeui-2.0 -I/opt/gnome2/include/libbonoboui-2.0 -I/opt/gnome2/include/libgnomecanvas-2.0 -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/include/gnome-vfs-2.0 -I/opt/gnome2/lib/gnome-vfs-2.0/include -I/opt/gnome2/include/libart-2.0 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/opt/gnome2/include/cairo -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include/gconf/2 -DORBIT2=1 -pthread -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/bonobo-activation-2.0 -I/opt/gnome2/include/opal -DPTRACING -DNDEBUG -Os -g -fno-exceptions -felide-constructors -I/opt/gnome2/include/ptlib -I/opt/gnome2/include/ptclib -I/opt/gnome2/include -D_REENTRANT -fno-exceptions -I/opt/gnome2/include/sigc++-2.0 -I/opt/gnome2/lib/sigc++-2.0/include -I/opt/gnome2/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 druid.o main.o misc.o preferences.o tools.o statusicon.o audio.o fakevideoinput.o videoinput.o videooutput.o videooutput_gdk.o videooutput_xv.o accountshandler.o callinfo.o callstats.o ekiga.o manager.o h323.o pcss.o sip.o urlhandler.o stun.o bonobo.o -Wl,--export-dynamic -pthread -pthread -pthread ../lib/.libs/libekiga.a -L/opt/gnome2/lib ../lib/engine/.libs/libekiga_engine.a /usr/lib/libXv.so /usr/lib/libXext.so /opt/gnome2/lib/libebook-1.2.so /opt/gnome2/lib/libcamel-1.2.so -lnss3 -lsmime3 -lssl3 -lsoftokn3 /opt/gnome2/lib/libedataserver-1.2.so -lplds4 -lplc4 -lnspr4 -L/usr/kerberos/lib /usr/lib/libldap.so -L/usr/lib /usr/lib/liblber.so /usr/lib/libsasl2.so /opt/gnome2/lib/libgnomeui-2.so /opt/gnome2/lib/libgnome-keyring.so /usr/lib/libjpeg.so /opt/gnome2/lib/libbonoboui-2.so /usr/lib/libSM.so /usr/lib/libICE.so /opt/gnome2/lib/libgnomecanvas-2.so /opt/gnome2/lib/libgailutil.so /opt/gnome2/lib/libgnome-2.so /opt/gnome2/lib/libgnomevfs-2.so /opt/gnome2/lib/libdbus-glib-1.so -lnsl -lssl -lcrypto /opt/gnome2/lib/libavahi-glib.so /opt/gnome2/lib/libavahi-client.so /opt/gnome2/lib/libdbus-1.so /opt/gnome2/lib/libavahi-common.so -lutil /opt/gnome2/lib/libesd.so /usr/lib/libasound.so /opt/gnome2/lib/libaudiofile.so /usr/lib/libpopt.so /opt/gnome2/lib/libart_lgpl_2.so /opt/gnome2/lib/libgtk-x11-2.0.so /opt/gnome2/lib/libgdk-x11-2.0.so /opt/gnome2/lib/libatk-1.0.so /opt/gnome2/lib/libgdk_pixbuf-2.0.so /opt/gnome2/lib/libpangocairo-1.0.so /opt/gnome2/lib/libpangoft2-1.0.so /usr/lib/libexpat.so /opt/gnome2/lib/libpango-1.0.so /opt/gnome2/lib/libcairo.so /opt/gnome2/lib/libfontconfig.so /usr/lib/libfreetype.so -lpng12 /usr/lib/libXrender.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so /opt/gnome2/lib/libgconf-2.so /opt/gnome2/lib/libbonobo-2.so /opt/gnome2/lib/libbonobo-activation.so /opt/gnome2/lib/libORBitCosNaming-2.so /opt/gnome2/lib/libORBit-2.so /opt/gnome2/lib/libgmodule-2.0.so /opt/gnome2/lib/libgthread-2.0.so -lrt /opt/gnome2/lib/libgobject-2.0.so /opt/gnome2/lib/libglib-2.0.so -lpt -lopal -lpthread /opt/gnome2/lib/libsigc-2.0.so /opt/gnome2/lib/libxml2.so -ldl -lz -lm -lresolv -Wl,--rpath -Wl,/opt/gnome2/lib -Wl,--rpath -Wl,/opt/gnome2/lib

/opt/gnome2/lib/libopal.so: undefined reference to `PString::PString(PScalarArray<unsigned short> const&)' /opt/gnome2/lib/libopal.so: undefined reference to `OpalMediaFormat::OpalMediaFormat()' /opt/gnome2/lib/libopal.so: undefined reference to `OpalMediaFormat::PrintOptions(std::basic_ostream<char, std::char_traits<char> >&) const' /opt/gnome2/lib/libopal.so: undefined reference to `OpalMediaFormat::GetCodecBaseTime() const' /opt/gnome2/lib/libopal.so: undefined reference to `PASN_BMPString::operator=(PScalarArray<unsigned short> const&)' /opt/gnome2/lib/libopal.so: undefined reference to `OpalMediaFormat::GetOptionString(PString const&, PString const&) const' /opt/gnome2/lib/libopal.so: undefined reference to `OpalMediaFormat::SetOptionString(PString const&, PString const&)'
</snip>

Is someone having the same problems (if opal is broken) ? Or am I the only one struggling to have a working ekiga ?

Thanks for any hints you could give me...


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