cannot compile gdkgc-x11.c
- From: David Odin <dindinx wanadoo fr>
- To: gtk-devel-list <gtk-devel-list gnome org>
- Subject: cannot compile gdkgc-x11.c
- Date: Tue, 6 Nov 2001 15:50:45 +0100
Hi,
I cannot compile the current CVS HEAD of gtk+.
Here is where the compilation stops:
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\"
-DINSIDE_GDK_X11 -I../.. -I../../gdk -I../../gdk -DG_ENABLE_DEBUG
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/pango-1.0 -I/usr/X11R6/include -g -O2 -g -Wall
-Wp,-MD,.deps/gdkgc-x11.pp -c gdkgc-x11.c -fPIC -DPIC -o
.libs/gdkgc-x11.lo
gdkgc-x11.c:761: parse error before `*'
gdkgc-x11.c:763: warning: return-type defaults to `int'
gdkgc-x11.c: In function `foreground_format':
gdkgc-x11.c:764: `XRenderPictFormat' undeclared (first use this function)
gdkgc-x11.c:764: (Each undeclared identifier is reported only once
gdkgc-x11.c:764: for each function it appears in.)
gdkgc-x11.c:764: parse error before `pf'
gdkgc-x11.c:766: `pf' undeclared (first use this function)
gdkgc-x11.c:766: `PictTypeDirect' undeclared (first use this function)
gdkgc-x11.c:773: warning: implicit declaration of function `XRenderFindFormat'
gdkgc-x11.c:774: `PictFormatType' undeclared (first use this function)
gdkgc-x11.c:775: `PictFormatDepth' undeclared (first use this function)
gdkgc-x11.c:776: `PictFormatRedMask' undeclared (first use this function)
gdkgc-x11.c:777: `PictFormatGreenMask' undeclared (first use this function)
gdkgc-x11.c:778: `PictFormatBlueMask' undeclared (first use this function)
gdkgc-x11.c:779: `PictFormatAlphaMask' undeclared (first use this function)
gdkgc-x11.c:781: warning: return makes pointer from integer without a cast
make[3]: *** [gdkgc-x11.lo] Error 1
make[3]: Leaving directory `/export4/Gimp/gtk+/gdk/x11'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/export4/Gimp/gtk+/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export4/Gimp/gtk+'
make: *** [all-recursive-am] Error 2
It looks like we should have a test for XRender* in ./configure.
DindinX
--
dindinx wanadoo fr
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]