DirectFB - Home of the pragmatist Roadmap


[directfb-users] Re: gdk-directfb branched and updated for gtk+-2.4
Mailing List archive

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

[directfb-users] Re: gdk-directfb branched and updated for gtk+-2.4



Hi,

I've tried to cross-compile gtk+-directfb for a Geode processor and I get build errors. I'm using glib-2.4.2, atk-1.6.0, pango-1.4.0, freetype-2.1.8, fontconfig-2.2.2 and gtk+-2.4.3.

After patching gtk+, running autoconf and automake, I've configured it as follows:

$ ../gtk+-directfb-2.4.3/configure PKG_CONFIG_PATH=/home/jmpg/EGNOS-Phase2/tools/i586-linux/usr/lib/pkgconfig LD_LIBRARY_PATH=/home/jmpg/EGNOS-Phase2/tools/i586-linux/usr/lib --host=i586-linux --prefix=/usr --enable-debug=no --with-gdktarget=directfb --disable-modules --without-libtiff --without-x --with-included-loaders=xpm,png,gif,jpeg

After issuing make it stops with the following error:

i586-linux-gcc -g -O2 -Wall -o .libs/gtk-query-immodules-2.0 queryimmodules.o ./.libs/libgtk-directfb-2.0.a ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so -L/home/jmpg/EGNOS-Phase2/tools/i586-linux/usr/lib ../gdk/.libs/libgdk-directfb-2.0.so -lfreetype -ldirectfb -lpthread -lpangoft2-1.0 -lpango-1.0 /home/jmpg/EGNOS-Phase2/build-tools/build-gtk+/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0 -ljpeg -lpng -lz -lm
./.libs/libgtk-directfb-2.0.a(gtkwidget.o)(.text+0x83): In function `gtk_widget_get_type':
../../gtk+-directfb-2.4.3/gtk/gtkwidget.c:289: undefined reference to `atk_implementor_get_type'
./.libs/libgtk-directfb-2.0.a(gtkwidget.o)(.text+0x7589): In function `gtk_widget_real_get_accessible':
../../gtk+-directfb-2.4.3/gtk/gtkwidget.c:7281: undefined reference to `atk_get_default_registry'
./.libs/libgtk-directfb-2.0.a(gtkwidget.o)(.text+0x7596):../../gtk+-directfb-2.4.3/gtk/gtkwidget.c:7282: undefined reference to `atk_registry_get_factory'
./.libs/libgtk-directfb-2.0.a(gtkwidget.o)(.text+0x759f):../../gtk+-directfb-2.4.3/gtk/gtkwidget.c:7284: undefined reference to `atk_object_factory_create_accessible'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0xeb9): In function `_gtk_selection_request':
../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1127: undefined reference to `GDK_DISPLAY_XDISPLAY'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0xec1):../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1127: undefined reference to `XExtendedMaxRequestSize'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0xed5):../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1127: undefined reference to `GDK_DISPLAY_XDISPLAY'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0xedd):../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1127: undefined reference to `XMaxRequestSize'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0xef7):../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1127: undefined reference to `GDK_DISPLAY_XDISPLAY'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0xeff):../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1127: undefined reference to `XExtendedMaxRequestSize'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0xf13):../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1127: undefined reference to `GDK_DISPLAY_XDISPLAY'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0xf1b):../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1127: undefined reference to `XMaxRequestSize'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0x13dc):../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1158: undefined reference to `GDK_DISPLAY_XDISPLAY'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0x13e4):../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1158: undefined reference to `XExtendedMaxRequestSize'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0x13fe):../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1158: undefined reference to `GDK_DISPLAY_XDISPLAY'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0x1406):../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1158: undefined reference to `XExtendedMaxRequestSize'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0x145d): In function `_gtk_selection_incr_event':
../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1399: undefined reference to `GDK_DISPLAY_XDISPLAY'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0x1465):../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1399: undefined reference to `XExtendedMaxRequestSize'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0x1481):../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1399: undefined reference to `GDK_DISPLAY_XDISPLAY'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0x1489):../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1399: undefined reference to `XMaxRequestSize'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0x14ab):../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1399: undefined reference to `GDK_DISPLAY_XDISPLAY'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0x14b3):../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1399: undefined reference to `XExtendedMaxRequestSize'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0x14cf):../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1399: undefined reference to `GDK_DISPLAY_XDISPLAY'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0x14d7):../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1399: undefined reference to `XMaxRequestSize'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0x16b1):../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1429: undefined reference to `GDK_DISPLAY_XDISPLAY'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0x16b9):../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1429: undefined reference to `XExtendedMaxRequestSize'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0x16db):../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1429: undefined reference to `GDK_DISPLAY_XDISPLAY'
./.libs/libgtk-directfb-2.0.a(gtkselection.o)(.text+0x16e3):../../gtk+-directfb-2.4.3/gtk/gtkselection.c:1429: undefined reference to `XExtendedMaxRequestSize'
collect2: ld returned 1 exit status
make[4]: *** [gtk-query-immodules-2.0] Error 1

Best regards,
José Gonçalves

Sven Neumann wrote:

Hi,

thanks to a patch contributed by Kent Sandvik, the CVS version of
gdk-directfb has now been updated to work with GTK+-2.4. If you need
to access the versions for GTK+-2.0 or GTK+-2.2, please use the
"gtk-2-0" or "gtk-2-2" CVS branches.

I didn't give the new code a lot of testing but it builds cleanly and
seems to work fine so far. I'd like to get some feedback and if
everyone's happy, we could release a gtk+-directfb-2.4 tarball. As
soon as that has happened, I'd like to branch again and catch up with
the CVS version of CVS that is already approaching the 2.6 release.


Sven






Home | Main Index | Thread Index


directfb.org / Development / Old Archives