Hi, I'm having trouble (cross) compiling gtk with the directfb frontend. (I have asked the same question on the directfb mailing list today.) I have basically followed the instructions on www.directfb.org/wiki/index.php/Projects:GTK_on_DirectFB_for_Embedded_Systems (which seems to be unavailable since a couple of days, but it's still in google's cache). When I compile gtk, I get a few dozen duplicate symbols, all internal aliases of function names of the form IA__*. It looks as if some functions in gdk/gdkwindow.c should be replaced by those in gdk/directfb/gdkwindow-directfb.c, but the generic ones are still compiled and linked to the libraries. The error pops up when gtk-query-immodules-* is being built (obviouosly I didn't remove it from the Makefile as the instructions suggested), and will also occur when I try to build test programs. I tried a few obvious fixes like removing the functions in question (also from gdkaliasdef.c) or even replacing the generic file with the one in the directfb subfolder, but then I get undefined symbols in different flavours. I eventually just linked with -z muldefs, but then the test application crashes with a null pointer reference in the gdkwindow vicinity which makes me suspicious, somehow.
From what I see everybody compiling gtk/directfb should run into this
error, which is probably not the case (I found only one post with the same problem that stayed unanswered); I'm missing something. What is it? (I apologize for not providing the gtk configure options etc., but I'm not at my computer today. I'm using a fairly recent gtk version, probably a 2.14.x. For what it's worth, I'm using a gcc 4.2.x on a i386 linux, target is generic ppc, but I can't see how that should have an impact.) Peter _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list