[cairo] cairo errors under Solaris 9

Greg.Dunkel at mail.cuny.edu Greg.Dunkel at mail.cuny.edu
Mon Nov 28 13:12:23 PST 2005


----- Forwarded by Greg Dunkel/CENTRALOFFICE/CUNY on 11/28/2005 04:11 PM
-----
                                                                                                                                     
                      Greg Dunkel - x                                                                                                
                      978                      To:       joscu at domino1.cuny.edu                                                      
                      <greg at domino1.cun        cc:                                                                                   
                      y.edu>                   Subject:  cairo errors under Solaris 9                                                
                                                                                                                                     
                      11/28/2005 04:10                                                                                               
                      PM                                                                                                             
                                                                                                                                     
                                                                                                                                     




I wrote last week about a problem I was having building cairo from the
latest snapshot using autogen.sh

When I put the latest version of m4, m4.1.4.4, the latest version of
autoconf,  automake and libtools, autogen.sh did run successfully under
Solaris 9 for the latest snapshot.

I also put

 #define PictStandardARGB32      0
 #define PictStandardRGB24       1
 #define PictStandardA8                     2
 #define PictStandardA4                     3
 #define PictStandardA1                     4
 #define PictStandardNUM         5

 in cairo-xlib-surface.c to solve some of the unknown symbols problem.  But
I still got the following  undefined symbol errors.

 Does anybody have any suggestions on how I can get around these problems
and build cairo on Solaris 9.

 /greg


gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src
-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 -g -O2 -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

cairo-xlib-surface.c: In function `_cairo_xlib_surface_set_matrix':
cairo-xlib-surface.c:834: error: `XTransform' undeclared (first use in this
function)
cairo-xlib-surface.c:834: error: (Each undeclared identifier is reported
only once
cairo-xlib-surface.c:834: error: for each function it appears in.)
cairo-xlib-surface.c:834: error: parse error before "xtransform"
cairo-xlib-surface.c:839: error: `xtransform' undeclared (first use in this
function)
cairo-xlib-surface.c:853: error: syntax error before "identity"
cairo-xlib-surface.c:859: error: `identity' undeclared (first use in this
function)
cairo-xlib-surface.c: At top level:
cairo-xlib-surface.c:865: error: parse error before '->' token

cairo-xlib-surface.c: In function `_cairo_xlib_surface_set_filter':
cairo-xlib-surface.c:889: error: `FilterFast' undeclared (first use in this
function)
cairo-xlib-surface.c:892: error: `FilterGood' undeclared (first use in this
function)
cairo-xlib-surface.c:895: error: `FilterBest' undeclared (first use in this
function)
cairo-xlib-surface.c:898: error: `FilterNearest' undeclared (first use in
this function)
cairo-xlib-surface.c:901: error: `FilterBilinear' undeclared (first use in
this function)

cairo-xlib-surface.c: In function `_create_trapezoid_mask':
cairo-xlib-surface.c:1413: error: `XTrapezoid' undeclared (first use in
this function)
cairo-xlib-surface.c:1413: error: `offset_traps' undeclared (first use in
this function)
cairo-xlib-surface.c:1443: warning: implicit declaration of function
`XRenderCompositeTrapezoids'
cairo-xlib-surface.c:1443: warning: nested extern declaration of
`XRenderCompositeTrapezoids'
cairo-xlib-surface.c: In function
`_cairo_xlib_surface_composite_trapezoids':
cairo-xlib-surface.c:1500: warning: nested extern declaration of
`XRenderFindStandardFormat'
cairo-xlib-surface.c:1500: warning: assignment makes pointer from integer
without a cast
cairo-xlib-surface.c:1503: warning: assignment makes pointer from integer
without a cast
cairo-xlib-surface.c:1564: warning: nested extern declaration of
`XRenderCompositeTrapezoids'
cairo-xlib-surface.c:1570: error: `XTrapezoid' undeclared (first use in
this function)
cairo-xlib-surface.c:1570: error: parse error before ')' token
cairo-xlib-surface.c: In function `_cairo_xlib_surface_create_internal':
cairo-xlib-surface.c:1808: warning: nested extern declaration of
`XRenderFindStandardFormat'
cairo-xlib-surface.c:1808: warning: assignment makes pointer from integer
without a cast
make[2]: *** [cairo-xlib-surface.lo] Error 1






More information about the cairo mailing list