Hi, I'm having trouble (cross) compiling gtk with the directfb frontend. (It's probably a gtk build issue and I will probably ask on the gtk mailing list as well, but it concerns the directfb aspect of gtk.)
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 the 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.) Peter _______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users