Solaris compile problem: `X_' undeclared



Hi all,

I am getting the following compile error while trying to compile gtk+
v2.6.7 under Solaris v2.8:

 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 -DXTHREADS
-I/udd001/hoops/usr/include/glib-2.0
-I/udd001/hoops/usr/lib/glib-2.0/include
-I/udd001/hoops/usr/include/pango-1.0 -I/udd001/hoops/usr/include
-I/udd001/hoops/usr/include/freetype2 -isystem /udd001/hoops/usr/include
-mimpure-text -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:257: error: `X_' undeclared (first use in this function)
gdkasync.c:257: error: (Each undeclared identifier is reported only once
gdkasync.c:257: error: for each function it appears in.)
gdkasync.c:257: error: parse error before "GetInputFocus"
gdkasync.c: In function `_gdk_x11_set_input_focus_safe':
gdkasync.c:350: error: `X_' undeclared (first use in this function)
gdkasync.c:350: error: parse error before "GetInputFocus"

This problem has come up before on this list, but no solutions were posted.

Does anybody know what is needed to fix this?

Regards,
Graham
--




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