Re: Failed compiling GTK+2.3.5 on Solaris 8 using Sun C 5.5

On Sun, 2004-03-07 at 22:20, David L. Cooper II wrote:

> _LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk
> -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/local/include/freetype2 -I/usr/openwin/include
> -I/usr/local/include -I/opt/sfw/include -g -g -c gdkasync.c  -KPIC
> -DPIC -o .libs/gdkasync.o
> "gdkasync.c", line 252: undefined symbol: X_
> "gdkasync.c", line 252: syntax error before or at: GetInputFocus
> "gdkasync.c", line 258: cannot recover from previous errors
> cc: acomp failed for gdkasync.c
> </snip>
> Any thoughts or suggestions would be appreciated.

Basically, you need to look at the definition of GetEmptyReq() in
your Xlibint.h and find out why it isn't working with your compiler.

My guess is that you are hitting the pre-ANSI version which uses
/**/ for token-pasting with a ANSI preprocessor (gcc)


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