Problem compiling GTK+ 2.2.1



Compiling on slackware 8.1:

Compiled and installed succesfully glib 2.2.1

done ./configure on gtk+ 2.2.1
when I do make I get:

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 -pthread -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g -O2 -Wall -c gdkcolor-x11.c -fPIC -DPIC -o gdkcolor-x11.lo
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
In file included from gdkprivate-x11.h:37,
                 from gdkx.h:78,
                 from gdkcolor-x11.c:31:
../../gdk/x11/gdkpixmap-x11.h:52: field `parent_instance' has incomplete type


Any suggestion?
Thanks.




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