[cairo] Problem building on Solaris SPARC

Mark Round mark at markround.com
Thu Aug 12 03:48:41 PDT 2004


Hi all,

I'm taking a stab at compiling Cairo on Solaris SPARC, and am getting 
the following errors when attempting a build :

In file included from /opt/csw/include/X11/extensions/Xrender.h:33,
                 from cairo.h:31,
                 from cairoint.h:44,
                 from cairo.c:28:
/usr/include/X11/Xutil.h:117: error: parse error before "Bool"
/usr/include/X11/Xutil.h:120: error: parse error before "icon_pixmap"
/usr/include/X11/Xutil.h:121: error: parse error before "icon_window"
/usr/include/X11/Xutil.h:123: error: parse error before "icon_mask"
/usr/include/X11/Xutil.h:124: error: parse error before "window_group"
/usr/include/X11/Xutil.h:161: error: parse error before "Atom"
/usr/include/X11/Xutil.h:164: error: parse error before '}' token
..rest of outout snipped..

I'm on Solaris 8, GCC 3.3.2, SunOS 5.8 Generic_117350-04 sun4u sparc. I 
have xrender, xft2 etc. from the Blastwave project, and have built 
slim,libic and libpixregion myself. Any idea what I'm doing wrong ?

Thanks in advance,

-Mark



More information about the cairo mailing list