|
Roadmap |
Site sponsored by
IGEL
|
||
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [directfb-users] Re: gdk-directfb branched and updated for gtk+-2.4
Sven, Sven Neumann wrote: Yes.Hi, Jose Miguel Goncalves <jose.goncalves@inov.pt> writes:I've tried again and it still stops on the same place, but now with less "undefined references": i586-linux-gcc -g -O2 -Wall -o .libs/gtk-query-immodules-2.0 queryimmodules.o ./.libs/libgtk-directfb-2.0.so -L/home/jmpg/EGNOS-Phase2/tools/i586-linux/usr/lib /home/jmpg/EGNOS-Phase2/build-tools/build-gtk+/gdk/.libs/libgdk-directfb-2.0.so -latk-1.0 ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so ../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.so: undefined reference to `GDK_DISPLAY_XDISPLAY' ./.libs/libgtk-directfb-2.0.so: undefined reference to `XMaxRequestSize' ./.libs/libgtk-directfb-2.0.so: undefined reference to `XExtendedMaxRequestSize'Did you definitely try this in a clean tree? It seems that you compiled the some files with GDK_WINDOWING_X11 defined. I've made some investigation and I found that the problem source is in gtkselection.c: #ifdef GDK_WINDOWING_WIN32 /* No chunks on Win32 */ #define GTK_SELECTION_MAX_SIZE(display) G_MAXINT #else #define GTK_SELECTION_MAX_SIZE(display) \ MIN(262144, \ XExtendedMaxRequestSize (GDK_DISPLAY_XDISPLAY (display)) == 0 \ ? XMaxRequestSize (GDK_DISPLAY_XDISPLAY (display)) - 100 \ : XExtendedMaxRequestSize (GDK_DISPLAY_XDISPLAY (display)) - 100) #endif I think it should be necessary to redefine GTK_SELECTION_MAX_SIZE when GDK_WINDOWING_DIRECTFB is defined, or else it uses X dependencies. José Gonçalves
|
|
| directfb.org |
|
Development |
|
Old Archives |