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

I encountered several problems while attempting to compile the gtk2.3.5 on Solaris 8. It isn't clear to me if it is a development environment problem or not. I am able to build gtk2.2.x without these problems.
First, while attempting to compile Pango, an error occurs while compiling ottest that indicates no glib libraries can be found. I checked the Makefile and they didn't seem to be specified for the ottest target. After adding them to the ottest target, it compiles fine.
While compiling gtk+, I receive the following errors during the compilation of gdkasync.c:
source='gdkasync.c' object='gdkasync.lo' libtool=yes \
depfile='.deps/gdkasync.Plo' tmpdepfile='.deps/gdkasync.TPlo' \
depmode=none /bin/bash ../../depcomp \
/bin/bash ../../libtool --mode=compile cc -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_ENABLE_DEBUG -mt -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 -o gdkasync.lo `test -f 'gdkasync.c' || echo './'`gdkasync.c
mkdir .libs
 cc -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_ENABLE_DEBUG -mt -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
Any thoughts or suggestions would be appreciated.
David Cooper

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