[cairo] Building problems / Cairo requirements

Edgar Kogler ed.kogler at utanet.at
Tue Jan 24 05:35:40 PST 2006


I want to build the GNOME-platform, which needs cairo.

building cairo from scratch i get the following errors:

[...]
                 from cairoint.h:55,
                 from cairo-xlib-surface.c:38:
/usr/include/bits/string2.h: In function `__strcpy_small':
/usr/include/bits/string2.h:418: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:426: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:431: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:436: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:438: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:443: warning: pointer of type `void *' used in arithmetic
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:182: warning: `pict_format' might be used uninitialized in this function
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)
[...]


What am I missing ? 

Edgar


More information about the cairo mailing list