Trouble compiling GTK+ under Solaris 9



Hi,
 
I tried to compile GTK under Solaris 9 and got the following error:
 
make[4]: Entering directory `/export/Downloads/gtk+-2.4.3/gdk/x11'
if /bin/bash ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -threads -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/sfw/include -I/usr/sfw/include/freetype2        -Wall -MT gdkasync.lo -MD -MP -MF ".deps/gdkasync.Tpo" \
  -c -o gdkasync.lo `test -f 'gdkasync.c' || echo './'`gdkasync.c; \
then mv -f ".deps/gdkasync.Tpo" ".deps/gdkasync.Plo"; \
else rm -f ".deps/gdkasync.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -threads -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/sfw/include -I/usr/sfw/include/freetype2 -Wall -MT gdkasync.lo -MD -MP -MF .deps/gdkasync.Tpo -c gdkasync.c  -fPIC -DPIC -o .libs/gdkasync.o
gdkasync.c: In function `_gdk_x11_send_client_message_async':
gdkasync.c:253: error: `X_' undeclared (first use in this function)
gdkasync.c:253: error: (Each undeclared identifier is reported only once
gdkasync.c:253: error: for each function it appears in.)
gdkasync.c:253: error: parse error before "GetInputFocus"
gdkasync.c: In function `_gdk_x11_set_input_focus_safe':
gdkasync.c:346: error: `X_' undeclared (first use in this function)
gdkasync.c:346: error: parse error before "GetInputFocus"
make[4]: *** [gdkasync.lo] Error 1
make[4]: Leaving directory `/export/Downloads/gtk+-2.4.3/gdk/x11'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/export/Downloads/gtk+-2.4.3/gdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/export/Downloads/gtk+-2.4.3/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/Downloads/gtk+-2.4.3'
make: *** [all] Error 2
I tried different versions of GTK down to 2.3.0. Always the same error.
Below 2.3.0 it compiled without trouble, but I need 2.3.0 at least.
 
Can anyone help me out ?
 
Thanks, Ekkart


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