[Rhythmbox-devel] Compilation error on trunk with glib-2.15 installed non system-wide
- From: "Christophe Dehais" <christophe dehais gmail com>
- To: "Rhythmbox-devel list" <rhythmbox-devel gnome org>
- Subject: [Rhythmbox-devel] Compilation error on trunk with glib-2.15 installed non system-wide
- Date: Sat, 19 Jan 2008 23:57:48 +0100
Trying to test this patch related to porting to libsoup-2.4 [1], I
came across the following compilation error [2].
I compiled libsoup svn which require glib > 2.15.3, which I compiled
(from svn too) and put in my $HOME/usr.
It turns out that the erroneous compilation command mixes system-wide
linking to /usr/lib/libglib-2.0.so (which is glib 2.14) and to
/home/tof/usr/lib/libglib-2.0.so (which is 2.15.svn).
I commented out the test-metadata part in metadata/Makefile.am and
every thing go fine until the compilation of the actual rythmbox exec
file, which
fails with a similar error. And here stop my automake "skills", so can
anyone come with an explanation or tell me if I'm doing something
wrong ?
thanks,
Christophe.
[1] http://bugzilla.gnome.org/show_bug.cgi?id=509701
[2] the error:
gcc -g -O2 -o test-metadata test-metadata.o -pthread -pthread
./.libs/librbmetadata.a -L/home/tof/usr/lib /usr/lib/libfreetype.so
-lpng12 /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so
/usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so -lpthread -lselinux
../lib/.libs/librb.a /usr/lib/libgnomeui-2.so -lSM -lICE
/usr/lib/libbonoboui-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/libart_lgpl_2.so
/usr/lib/libglade-2.0.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
-lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor
-lXcomposite -lXdamage /usr/lib/libpango-1.0.so /usr/lib/libcairo.so
-lX11 -lXfixes /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so
/usr/lib/libORBit-2.so /usr/lib/libgstbase-0.10.so
/usr/lib/libgstreamer-0.10.so /home/tof/usr/lib/libgmodule-2.0.so -ldl
/home/tof/usr/lib/libgthread-2.0.so -lrt /usr/lib/libxml2.so
-lgstpbutils-0.10 -ldbus-glib-1 -ldbus-1
/home/tof/usr/lib/libgobject-2.0.so /home/tof/usr/lib/libglib-2.0.so
-lz
./.libs/librbmetadata.a(rb-metadata-common.o): In function
`rb_metadata_get_field_name':
/home/tof/code/rhythmbox/rhythmbox/metadata/rb-metadata-common.c:82:
undefined reference to `g_assertion_message_expr'
./.libs/librbmetadata.a(rb-metadata-common.o): In function
`rb_metadata_get_field_type':
/home/tof/code/rhythmbox/rhythmbox/metadata/rb-metadata-common.c:75:
undefined reference to `g_assertion_message_expr'
./.libs/librbmetadata.a(rb-metadata-dbus.o): In function
`rb_metadata_dbus_read_from_message':
/home/tof/code/rhythmbox/rhythmbox/metadata/rb-metadata-dbus.c:284:
undefined reference to `g_assertion_message'
./.libs/librbmetadata.a(rb-metadata-dbus.o): In function
`rb_metadata_dbus_add_to_message':
/home/tof/code/rhythmbox/rhythmbox/metadata/rb-metadata-dbus.c:194:
undefined reference to `g_assertion_message'
../lib/.libs/librb.a(rb-util.o): In function `rb_value_array_append_data':
/home/tof/code/rhythmbox/rhythmbox/lib/rb-util.c:921: undefined
reference to `g_assertion_message'
../lib/.libs/librb.a(rb-util.o): In function `rb_assert_locked':
/home/tof/code/rhythmbox/rhythmbox/lib/rb-util.c:436: undefined
reference to `g_assertion_message_expr'
../lib/.libs/librb.a(rb-util.o): In function `get_mount_points':
/home/tof/code/rhythmbox/rhythmbox/lib/rb-util.c:339: undefined
reference to `g_assertion_message_expr'
../lib/.libs/librb.a(rb-util.o): In function `rb_image_new_from_stock':
/home/tof/code/rhythmbox/rhythmbox/lib/rb-util.c:286: undefined
reference to `g_assertion_message_expr'
../lib/.libs/librb.a(rb-util.o): In function `rb_gvalue_compare':
/home/tof/code/rhythmbox/rhythmbox/lib/rb-util.c:198: undefined
reference to `g_assertion_message'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]