Compile error on Solaris 8 for gtk+-2.2.1



I've been trying to build gtk for around 2 weeks now and have run into numerous problems and issues. I think I've finally resolved a number of them, but I still cannot seem to get it to build.

This is my latest problem...

make[3]: Entering directory `/net/acrolein/export/home/mprentic/gtk+-2.2.1/gdk/x11' /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/net/acrolein/export/home/mprentic/include/glib-2.0 -I/net/acrolein/export/home/mprentic/lib/glib-2.0/include -I/net/acrolein/export/home/mprentic/include/pango-1.0 -I/usr/openwin/include -g -O2 -Wall -c gdkcolor-x11.c 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/net/acrolein/export/home/mprentic/include/glib-2.0 -I/net/acrolein/export/home/mprentic/lib/glib-2.0/include -I/net/acrolein/export/home/mprentic/include/pango-1.0 -I/usr/openwin/include -g -O2 -Wall -c gdkcolor-x11.c -fPIC -DPIC -o gdkcolor-x11.lo
In file included from gdkx.h:33,
                from gdkcolor-x11.c:31:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from gdkx.h:34,
                from gdkcolor-x11.c:31:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
In file included from ../../gdk/x11/gdkwindow-x11.h:30,
                from gdkprivate-x11.h:36,
                from gdkx.h:78,
                from gdkcolor-x11.c:31:
../../gdk/x11/gdkdrawable-x11.h:69: parse error before "XftDraw"
../../gdk/x11/gdkdrawable-x11.h:69: warning: no semicolon at end of struct or union
In file included from gdkprivate-x11.h:36,
                from gdkx.h:78,
                from gdkcolor-x11.c:31:
../../gdk/x11/gdkwindow-x11.h:69: field `parent_instance' has incomplete type
../../gdk/x11/gdkwindow-x11.h:99: confused by earlier errors, bailing out
make[3]: *** [gdkcolor-x11.lo] Error 1
make[3]: Leaving directory `/net/acrolein/export/home/mprentic/gtk+-2.2.1/gdk/x11'

The XftDraw struct looks fine to me.

It also seems to think that GdkDrawableImplX11 is an incomplete type...

I'm pretty sure that atk, pango, fontconfig, Xrender, Xft (2), pkg-config, gnu make, glib, libiconv, gettext, libjpeg, libpng, libtiff, binutils, automake, autoconf, and freetype are installed and working....

Thanks for any help you can provide.

--
Michael Prentice - Software Engineer
IBM Software Group - Rational Software
Configuration Management - Clearcase Web
Lexington, MA 781-676-2754 617-650-4556
mailto:mprentice rational com





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