[cairo] Still can't compile cairo under Solaris 9
James Reese
jreese99 at verizon.net
Tue Apr 24 10:35:16 PDT 2007
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'
Any help will be greatly appreciated.
Jim
More information about the cairo
mailing list