gtk/directfb: Duplicate symbols in gdkwindow[-directfb].c



Is there any new news concerning this emailing?

I am experiencing the same issue. Using releases previous to 2.13 appear to work with no multiple definitions. I have noticed that the gdkwindow.c file is different between the releases.

========================================================================
    * From: "Peter Schneider" <gtk-directfb schneiderp de>
    * To: <gtk-list gnome org>
    * Subject: gtk/directfb: Duplicate symbols in gdkwindow[-directfb].c
    * Date: Wed, 12 Nov 2008 19:14:05 +0100

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.




      


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