[cairo] cairo 1.4.6 compilation problems

steve kirby thin_runner at yahoo.com
Tue May 8 11:56:51 PDT 2007


Hi,

Trying to compile cairo 1.4.6 on a RH 8.0 system, but
it fails. 

Upgraded the gcc version from 3.2 to 4.1.2, but still
fails.

The errors are like this:

 /usr/local/bin/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/X11R6/include -Wall -Wextra -Wsign-compare
-Werror-implicit-function-declaration -Wpointer-arith
-Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Wpacked -Wswitch-enum
-Wmissing-format-attribute -Wstrict-aliasing=2
-Winit-self -Wunsafe-loop-optimizations
-Wdeclaration-after-statement -Wold-style-definition
-Wno-missing-field-initializers -Wno-unused-parameter
-Wno-attributes -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^M

In file included from cairo-xlib-surface.c:43:^M
cairo-xlib-surface-private.h:90: error: expected
specifier-qualifier-list before 'XTransform'^M
cairo-xlib-surface.c:83: error: expected '=', ',',
';', 'asm' or '__attribute__' before 'identity'^M
cairo-xlib-surface.c: In function
'_CAIRO_FORMAT_TO_XRENDER_FORMAT':^M
cairo-xlib-surface.c:133: error: 'PictStandardA1'
undeclared (first use in this function)^M
cairo-xlib-surface.c:133: error: (Each undeclared
identifier is reported only once^M
cairo-xlib-surface.c:133: error: for each function it
appears in.)^M
cairo-xlib-surface.c:135: error: 'PictStandardA8'
undeclared (first use in this function)

Looks like maybe I need to define some parameters in
configure, but what?


TIA,
Steve



 
____________________________________________________________________________________
Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL


More information about the cairo mailing list