[cairo] Still can't compile cairo under Solaris 9

sam sirlin samuel.w.sirlin at jpl.nasa.gov
Tue Apr 24 10:50:13 PDT 2007


On Tue, 24 Apr 2007 13:35:16 -0400
James Reese <jreese99 at verizon.net> wrote:

> Hi,
> 
> I've gotten past the problem with Xrender.h. Now I'm getting this  
> error when I attempt to compile cairo:
> 
> if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  - 
> I. -I. -I.. -I. -I../pixman/src -I/usr/local/include/freetype2   -I/ 
> usr/local/include   -I/usr/local/include/libpng12   -I/usr/local/ 
> include    -I/usr/openwin/include   -Wall -Wsign-compare -Werror- 
> implicit-function-declaration -Wpointer-arith -Wwrite-strings - 
> Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations - 
> Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute - 
> Wno-unused-parameter -fno-strict-aliasing     -g -O2 -MT cairo-xlib- 
> surface.lo -MD -MP -MF ".deps/cairo-xlib-surface.Tpo" -c -o cairo- 
> xlib-surface.lo cairo-xlib-surface.c; \
> then mv -f ".deps/cairo-xlib-surface.Tpo" ".deps/cairo-xlib- 
> surface.Plo"; else rm -f ".deps/cairo-xlib-surface.Tpo"; exit 1; fi
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/local/ 
> include/freetype2 -I/usr/local/include -I/usr/local/include/libpng12 - 
> I/usr/local/include -I/usr/openwin/include -Wall -Wsign-compare - 
> Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings - 
> Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations - 
> Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute - 
> Wno-unused-parameter -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
> In file included from cairo-xlib.h:44,
>                   from cairo-xlib-surface.c:40:
> /usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
> In file included from cairo-xlib.h:44,
>                   from cairo-xlib-surface.c:40:
> /usr/openwin/include/X11/Xlib.h:529: warning: function declaration  
> isn't a prototype
> In file included from /usr/openwin/include/X11/extensions/ 
> renderproto.h:29,
>                   from cairo-xlib-surface.c:46:
> /usr/openwin/include/X11/Xmd.h:46: warning: ignoring #pragma ident
> cairo-xlib-surface.c: In function `_cairo_xlib_surface_set_filter':
> cairo-xlib-surface.c:991: error: `FilterFast' undeclared (first use  
> in this function)
> cairo-xlib-surface.c:991: error: (Each undeclared identifier is  
> reported only once
> cairo-xlib-surface.c:991: error: for each function it appears in.)
> cairo-xlib-surface.c:994: error: `FilterGood' undeclared (first use  
> in this function)
> cairo-xlib-surface.c:997: error: `FilterBest' undeclared (first use  
> in this function)
> cairo-xlib-surface.c:1000: error: `FilterNearest' undeclared (first  
> use in this function)
> cairo-xlib-surface.c:1003: error: `FilterBilinear' undeclared (first  
> use in this function)
> *** Error code 1
> make: Fatal error: Command failed for target `cairo-xlib-surface.lo'

This is part of Xrender, so you apparently still are using an old version 

X11/extensions/render.h:#define FilterFast                        "fast"

-- 
sam sirlin <samuel.w.sirlin at jpl.nasa.gov>


More information about the cairo mailing list