[cairo] Compiling Error

Got.cha at gmx.de Got.cha at gmx.de
Tue Jan 24 04:02:41 PST 2006


Hello everybody,
I've got an error during the compiling process, outputs this:

command: make -s -j (It got 3 processors ;-)

----- SNIP ------

cairo-xlib-surface.c: In function `_CAIRO_FORMAT_XRENDER_FORMAT':
cairo-xlib-surface.c:185: `PictStandardA1' undeclared (first use in this
function)
cairo-xlib-surface.c:185: (Each undeclared identifier is reported only once
cairo-xlib-surface.c:185: for each function it appears in.)
cairo-xlib-surface.c:187: `PictStandardA8' undeclared (first use in this
function)
cairo-xlib-surface.c:189: `PictStandardRGB24' undeclared (first use in this
function)
cairo-xlib-surface.c:192: `PictStandardARGB32' undeclared (first use in this
function)
cairo-xlib-surface.c:194: warning: implicit declaration of function
`XRenderFindStandardFormat'
cairo-xlib-surface.c:194: warning: return makes pointer from integer without
a cast
cairo-xlib-surface.c: In function `_cairo_xlib_surface_set_matrix':
cairo-xlib-surface.c:811: `XTransform' undeclared (first use in this
function)
cairo-xlib-surface.c:811: parse error before "xtransform"
cairo-xlib-surface.c:816: `xtransform' undeclared (first use in this
function)
cairo-xlib-surface.c:830: syntax error before "identity"
cairo-xlib-surface.c:836: `identity' undeclared (first use in this function)
cairo-xlib-surface.c: At top level:
cairo-xlib-surface.c:842: parse error before '->' token
cairo-xlib-surface.c:842: warning: type defaults to `int' in declaration of
`XRenderSetPictureTransform'
cairo-xlib-surface.c:842: warning: function declaration isn't a prototype
cairo-xlib-surface.c:842: warning: data definition has no type or storage
class
cairo-xlib-surface.c: In function `_cairo_xlib_surface_set_filter':
cairo-xlib-surface.c:866: `FilterFast' undeclared (first use in this
function)
cairo-xlib-surface.c:869: `FilterGood' undeclared (first use in this
function)
cairo-xlib-surface.c:872: `FilterBest' undeclared (first use in this
function)
cairo-xlib-surface.c:875: `FilterNearest' undeclared (first use in this
function)
cairo-xlib-surface.c:878: `FilterBilinear' undeclared (first use in this
function)
cairo-xlib-surface.c:885: warning: implicit declaration of function
`XRenderSetPictureFilter'
cairo-xlib-surface.c: In function `_create_a8_picture':
cairo-xlib-surface.c:1366: `PictStandardA8' undeclared (first use in this
function)
cairo-xlib-surface.c:1367: warning: passing arg 3 of `XRenderCreatePicture'
makes pointer from integer without a cast
cairo-xlib-surface.c: In function `_create_trapezoid_mask':
cairo-xlib-surface.c:1391: `XTrapezoid' undeclared (first use in this
function)
cairo-xlib-surface.c:1391: `offset_traps' undeclared (first use in this
function)
cairo-xlib-surface.c:1421: warning: implicit declaration of function
`XRenderCompositeTrapezoids'
cairo-xlib-surface.c: In function
`_cairo_xlib_surface_composite_trapezoids':
cairo-xlib-surface.c:1478: `PictStandardA1' undeclared (first use in this
function)
cairo-xlib-surface.c:1478: warning: assignment makes pointer from integer
without a cast
cairo-xlib-surface.c:1481: `PictStandardA8' undeclared (first use in this
function)
cairo-xlib-surface.c:1481: warning: assignment makes pointer from integer
without a cast
cairo-xlib-surface.c:1548: `XTrapezoid' undeclared (first use in this
function)
cairo-xlib-surface.c:1548: parse error before ')' token
cairo-xlib-surface.c: In function `_cairo_xlib_surface_create_internal':
cairo-xlib-surface.c:1776: `PictStandardA1' undeclared (first use in this
function)
cairo-xlib-surface.c:1776: warning: assignment makes pointer from integer
without a cast
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-debug.lo -MD -MP -MF
.deps/cairo-debug.Tpo -c cairo-debug.c  -fPIC -DPIC -o .libs/cairo-debug.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-pen.lo -MD -MP -MF .deps/cairo-pen.Tpo
-c cairo-pen.c  -fPIC -DPIC -o .libs/cairo-pen.o
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-unicode.lo -MD -MP -MF
.deps/cairo-unicode.Tpo -c cairo-unicode.c -o cairo-unicode.o >/dev/null
2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-region.lo -MD -MP -MF
.deps/cairo-region.Tpo -c cairo-region.c -o cairo-region.o >/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-arc.lo -MD -MP -MF .deps/cairo-arc.Tpo
-c cairo-arc.c  -fPIC -DPIC -o .libs/cairo-arc.o
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-image-surface.lo -MD -MP -MF
.deps/cairo-image-surface.Tpo -c cairo-image-surface.c  -fPIC -DPIC -o
.libs/cairo-image-surface.o
cairo-xlib-surface.c: In function `_get_glyphset_cache':
cairo-xlib-surface.c:2279: `PictStandardA1' undeclared (first use in this
function)
cairo-xlib-surface.c:2279: warning: assignment makes pointer from integer
without a cast
cairo-xlib-surface.c:2282: `PictStandardA8' undeclared (first use in this
function)
cairo-xlib-surface.c:2282: warning: assignment makes pointer from integer
without a cast
cairo-xlib-surface.c:2285: `PictStandardARGB32' undeclared (first use in
this function)
cairo-xlib-surface.c:2285: warning: assignment makes pointer from integer
without a cast
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-array.lo -MD -MP -MF
.deps/cairo-array.Tpo -c cairo-array.c -o cairo-array.o >/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-path.lo -MD -MP -MF
.deps/cairo-path.Tpo -c cairo-path.c -o cairo-path.o >/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-clip.lo -MD -MP -MF
.deps/cairo-clip.Tpo -c cairo-clip.c -o cairo-clip.o >/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-output-stream.lo -MD -MP -MF
.deps/cairo-output-stream.Tpo -c cairo-output-stream.c -o
cairo-output-stream.o >/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-path-fill.lo -MD -MP -MF
.deps/cairo-path-fill.Tpo -c cairo-path-fill.c -o cairo-path-fill.o
>/dev/null 2>&1
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
make[2]: *** [cairo-xlib-surface.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-hash.lo -MD -MP -MF
.deps/cairo-hash.Tpo -c cairo-hash.c -o cairo-hash.o >/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-cache.lo -MD -MP -MF
.deps/cairo-cache.Tpo -c cairo-cache.c -o cairo-cache.o >/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-spline.lo -MD -MP -MF
.deps/cairo-spline.Tpo -c cairo-spline.c -o cairo-spline.o >/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-debug.lo -MD -MP -MF
.deps/cairo-debug.Tpo -c cairo-debug.c -o cairo-debug.o >/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-hull.lo -MD -MP -MF
.deps/cairo-hull.Tpo -c cairo-hull.c -o cairo-hull.o >/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-wideint.lo -MD -MP -MF
.deps/cairo-wideint.Tpo -c cairo-wideint.c -o cairo-wideint.o >/dev/null
2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-path-data.lo -MD -MP -MF
.deps/cairo-path-data.Tpo -c cairo-path-data.c -o cairo-path-data.o
>/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-matrix.lo -MD -MP -MF
.deps/cairo-matrix.Tpo -c cairo-matrix.c -o cairo-matrix.o >/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-xlib-screen.lo -MD -MP -MF
.deps/cairo-xlib-screen.Tpo -c cairo-xlib-screen.c -o cairo-xlib-screen.o
>/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-meta-surface.lo -MD -MP -MF
.deps/cairo-meta-surface.Tpo -c cairo-meta-surface.c -o cairo-meta-surface.o
>/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-pen.lo -MD -MP -MF .deps/cairo-pen.Tpo
-c cairo-pen.c -o cairo-pen.o >/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-arc.lo -MD -MP -MF .deps/cairo-arc.Tpo
-c cairo-arc.c -o cairo-arc.o >/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-surface.lo -MD -MP -MF
.deps/cairo-surface.Tpo -c cairo-surface.c -o cairo-surface.o >/dev/null
2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-font.lo -MD -MP -MF
.deps/cairo-font.Tpo -c cairo-font.c -o cairo-font.o >/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-traps.lo -MD -MP -MF
.deps/cairo-traps.Tpo -c cairo-traps.c -o cairo-traps.o >/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-pattern.lo -MD -MP -MF
.deps/cairo-pattern.Tpo -c cairo-pattern.c -o cairo-pattern.o >/dev/null
2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo.lo -MD -MP -MF .deps/cairo.Tpo -c
cairo.c -o cairo.o >/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-image-surface.lo -MD -MP -MF
.deps/cairo-image-surface.Tpo -c cairo-image-surface.c -o
cairo-image-surface.o >/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-path-stroke.lo -MD -MP -MF
.deps/cairo-path-stroke.Tpo -c cairo-path-stroke.c -o cairo-path-stroke.o
>/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-gstate.lo -MD -MP -MF
.deps/cairo-gstate.Tpo -c cairo-gstate.c -o cairo-gstate.o >/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/include
-I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -g -O2 -MT cairo-ft-font.lo -MD -MP -MF
.deps/cairo-ft-font.Tpo -c cairo-ft-font.c -o cairo-ft-font.o >/dev/null
2>&1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

----- SNIP ------

I tried it w/o the j parameter, but no luck. I think its a problem with the
includes, but I can't figure it out. Perhaps it's a general compiling issue
by me - if it is I'm sorry. Any help is appreciated.

-- 
10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++


More information about the cairo mailing list