[cairo] Building on Solaris

Axel Simon A.Simon at kent.ac.uk
Tue Oct 25 07:25:22 PDT 2005


Since nobody replied, to my message below, I try to ask some simpler
questions:

- does Cairo build on Solaris' X11 in general?

- what version do I need at minimum?

Any help would be greatly appreciated,
Thanks,
Axel.

-------- Forwarded Message --------
From: Axel Simon <A.Simon at kent.ac.uk>
To: cairo at cairographics.org
Subject: Building on Solaris
Date: Fri, 21 Oct 2005 09:51:04 +0100
Hi,

I'm trying to build Cairo 1.0.2 on Solaris 9 and I run into undefined
symbols. The system is

SunOS myrtle 5.9 Generic_118558-11 sun4u sparc SUNW,Sun-Fire-480R

All other Solaris issues I've found with respect to Cairo are about
earlier versions of Cario and problems later in the build.

Can anybody shed some light, please?

Thanks,
Axel.


 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -DXTHREADS -
I/usr/local/include -I/usr/openwin/include -I/usr/local/include/libpng12
-I/usr/local/include -I/usr/local/include/freetype2 -Wall -Wpointer-
arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -
Wnested-externs -fno-strict-aliasing -mcpu=v9 -MT cairo-xlib-surface.lo
-MD -MP -MF .deps/cairo-xlib-surface.Tpo -c cairo-xlib-surface.c  -fPIC
-DPIC -o .libs/cairo-xlib-surface.o
In file included from cairo-xlib.h:44,
                 from cairo-xlib-surface.c:39:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from cairo-xlib.h:44,
                 from cairo-xlib-surface.c:39:
/usr/openwin/include/X11/Xlib.h:529: warning: function declaration isn't
a prototype
In file included from /usr/openwin/include/X11/extensions/Xrender.h:33,
                 from cairo-xlib-xrender.h:44,
                 from cairo-xlib-surface.c:40:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
cairo-xlib-surface.c: In function `_CAIRO_FORMAT_XRENDER_FORMAT':
cairo-xlib-surface.c:185: error: `PictStandardA1' undeclared (first use
in this function)
cairo-xlib-surface.c:185: error: (Each undeclared identifier is reported
only once
cairo-xlib-surface.c:185: error: for each function it appears in.)
cairo-xlib-surface.c:187: error: `PictStandardA8' undeclared (first use
in this function)
cairo-xlib-surface.c:189: error: `PictStandardRGB24' undeclared (first
use in this function)
cairo-xlib-surface.c:192: error: `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: error: `XTransform' undeclared (first use in
this function)




More information about the cairo mailing list