Sven,
Sven Neumann wrote:
Hi,
Jose Miguel Goncalves <[EMAIL PROTECTED]> 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.
Yes.
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)
#endifI 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
