gtk compile problem - parse error

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

 



I'm compiling gtk+ 2.6.8 on Solaris 9 with gcc 3.3.2. I installed glib, pango, atk, and fontconfig without any trouble, and the ./configure for gtk+ compeletes successfully. The gmake fails, however, with a parse error before "XTrapezoid" in gdkdrawable-x11.h (full error below). Anyone know what is going on here?

Error from gmake:

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/gtk/include/glib-2.0 -I/usr/local/gtk/lib/glib-2.0/include -I/usr/local/gtk/include/pango-1.0 -I/usr/openwin/include -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/gtk/include -I/usr/local/include -g -O2 -Wall -MT gdkasync.lo -MD -MP -MF .deps/gdkasync.Tpo -c gdkasync.c  -fPIC -DPIC -o .libs/gdkasync.o
In file included from gdkasync.c:50:
/usr/openwin/include/X11/Xlibint.h:46: warning: ignoring #pragma ident
In file included from /usr/openwin/include/X11/Xlibint.h:53,
                 from gdkasync.c:50:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from /usr/openwin/include/X11/Xproto.h:72,
                 from /usr/openwin/include/X11/Xlibint.h:56,
                 from gdkasync.c:50:
/usr/openwin/include/X11/Xmd.h:46: warning: ignoring #pragma ident
In file included from gdkx.h:34,
                 from gdkasync.c:52:
/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:80,
                 from gdkasync.c:52:
../../gdk/x11/gdkdrawable-x11.h:96: error: parse error before "XTrapezoid"
gmake[4]: *** [gdkasync.lo] Error 1
gmake[4]: Leaving directory `/adm/src/solaris/9/gtk/gtk+-2.6.8/gdk/x11'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/adm/src/solaris/9/gtk/gtk+-2.6.8/gdk'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/adm/src/solaris/9/gtk/gtk+-2.6.8/gdk'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/adm/src/solaris/9/gtk/gtk+-2.6.8'
gmake: *** [all] Error 2
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux