Re: [gtk-list] Gtk+-2.10.2 with directfb fails



On 9/2/06, mpsuzuki hiroshima-u ac jp <mpsuzuki hiroshima-u ac jp> wrote:

Looking the command executed to linking carefully,
you can find that 2 different glib are mixed.

>/usr/lib/libatk-1.0.so [11] /usr/lib/libgobject-2.0.so [12]
>/usr/lib/libgmodule-2.0.so [13] /usr/lib/libglib-2.0.so [14]
...
>/usr/gtkdfb/lib/libgobject-2.0.so [15] /usr/gtkdfb/lib/libglib-2.0.so [16]

I suppose the first glib installed in /usr is older than 2.12,
although that in /usr/gtkfb is 2.12.2, thus the linker is confused
and you got error. Why 2 glib are mixed? I guess, you didn't
install atk into /usr/gtkfb. atk in /usr is used. pkg-config
file of atk in /usr introduced glib in /usr, instead of that
in /usr/gtkfb.

I'm not sure why the glib in /usr is being used when I have a glib
already installed in /usr/gtkfb.

I then installed atk in /usr/gtkfb and now I a similar error.

error log:

Making all in xdgmime
make[4]: Entering directory `/home/topa/gtkdfb/gtk+-2.10.2/gtk/xdgmime'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/topa/gtkdfb/gtk+-2.10.2/gtk/xdgmime'
make[4]: Entering directory `/home/topa/gtkdfb/gtk+-2.10.2/gtk'
/bin/sh ../libtool --mode=link gcc  -DG_DISABLE_DEPRECATED -g -Wall
-o gtk-query-immodules-2.0  queryimmodules.o libgtk-directfb-2.0.la
../gdk-pixbuf/libgdk_pixbuf-2.0.la ../gdk/libgdk-directfb-2.0.la
gcc -DG_DISABLE_DEPRECATED -g -Wall -o .libs/gtk-query-immodules-2.0
queryimmodules.o  ./.libs/libgtk-directfb-2.0.so -L/usr/gtkdfb/lib
/home/topa/gtkdfb/gtk+-2.10.2/gdk/.libs/libgdk-directfb-2.0.so
/usr/gtkdfb/lib/libatk-1.0.so /usr/lib/libgobject-2.0.so
/usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so
../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so
../gdk/.libs/libgdk-directfb-2.0.so /usr/gtkdfb/lib/libdirectfb.so
/usr/gtkdfb/lib/libfusion.so /usr/gtkdfb/lib/libdirect.so
/usr/gtkdfb/lib/libpangocairo-1.0.so
/usr/gtkdfb/lib/libpangoft2-1.0.so /usr/gtkdfb/lib/libpango-1.0.so
/usr/gtkdfb/lib/libcairo.so /usr/lib/libfreetype.so -lfontconfig
/usr/lib/libdirectfb.so /usr/lib/libfusion.so /usr/lib/libdirect.so
-lz -lpthread -lpng12
/home/topa/gtkdfb/gtk+-2.10.2/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so
/usr/gtkdfb/lib/libgmodule-2.0.so -ldl
/usr/gtkdfb/lib/libgobject-2.0.so /usr/gtkdfb/lib/libglib-2.0.so -lm
-Wl,--rpath -Wl,/usr/gtkdfb/lib
./.libs/libgtk-directfb-2.0.so: undefined reference to
`g_bookmark_file_get_title'
./.libs/libgtk-directfb-2.0.so: undefined reference to
`g_bookmark_file_get_is_private'

<snip>

I can see that it's picking up gobject from /usr, do I need to compile
a separate gobject and try ?

-Toufeeq
--
blog @ http://toufeeq.net



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