[cairo] cairo 1.2.2 compiling stop on solaris i386

Peter Weilbacher mozilla at Weilbacher.org
Thu Aug 10 02:14:07 PDT 2006


Maurizio Caloro wrote:

> i want asume that xrender are installed but i dont see me mestake

I don't understand what you mean by that, but ...

> if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I. -I../pixman/src -I/usr/include/freetype2     -I/usr/local/include/libpng12   -I/usr/local/include    -I/usr/openwin/include  -Wall -Wsign-compare -Werror-implicit-function-declaration   -Wpointer-arith -Wwrite-strings -Wswitch-enum   -Wpacked -Wmissing-format-attribute -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 -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/include/freetype2 -I/usr/local/include/libpng12 -I/usr/local/include -I/usr/openwin/include -Wall -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wswitch-enum -Wpacked -Wmissing-format-attribute -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_filter':
> cairo-xlib-surface.c:958: error: `FilterFast' undeclared (first use in this function)
> cairo-xlib-surface.c:958: error: (Each undeclared identifier is reported only once
> cairo-xlib-surface.c:958: error: for each function it appears in.)
> cairo-xlib-surface.c:961: error: `FilterGood' undeclared (first use in this function)
> cairo-xlib-surface.c:964: error: `FilterBest' undeclared (first use in this function)
> cairo-xlib-surface.c:967: error: `FilterNearest' undeclared (first use in this function)
> cairo-xlib-surface.c:970: error: `FilterBilinear' undeclared (first use in this function)

... on my machine (Linux) these Filters are defined in
X11/extensions/render.h (exists here in /usr/include) which gets
included from X11/extensions/Xrender.h. As there is not error message
about not finding X11/extensions/render.h perhaps you have an old
version of that or one that is broken somehow?
Or in case these Filters are defined elsewhere on Solaris, you should
search the files in your include path for "FilterFast".

   Peter.


More information about the cairo mailing list