[cairo] compiling cairo errors -- cairo_glitz_surface --

Jing Chen jc.chenjing at gmail.com
Tue Jan 4 15:10:14 PST 2005


Hey there

I am getting the following errors when compiling cairo. Any one know
how to solve this problem?

------------------------------------
cairo_glitz_surface.c:122: error: structure has no member named `red_size'
cairo_glitz_surface.c:125: error: structure has no member named `alpha_size'
cairo_glitz_surface.c: In function `_glitz_operator':
cairo_glitz_surface.c:310: error: `GLITZ_OPERATOR_SATURATE' undeclared
(first use in this function)
cairo_glitz_surface.c:310: error: (Each undeclared identifier is
reported only once
cairo_glitz_surface.c:310: error: for each function it appears in.)
cairo_glitz_surface.c: In function `_glitz_surface_create_solid':
cairo_glitz_surface.c:325: warning: implicit declaration of function
`glitz_surface_find_similar_standard_format'
cairo_glitz_surface.c:325: warning: nested extern declaration of
`glitz_surface_find_similar_standard_format'
cairo_glitz_surface.c:325: warning: assignment makes pointer from
integer without a cast
cairo_glitz_surface.c:329: warning: implicit declaration of function
`glitz_surface_create_similar'
cairo_glitz_surface.c:329: warning: nested extern declaration of
`glitz_surface_create_similar'
cairo_glitz_surface.c:329: warning: assignment makes pointer from
integer without a cast
cairo_glitz_surface.c: In function `_cairo_glitz_surface_create_similar':
cairo_glitz_surface.c:354: error: structure has no member named `read'
cairo_glitz_surface.c:355: error: `GLITZ_FORMAT_READ_OFFSCREEN_MASK'
undeclared (first use in this function)
cairo_glitz_surface.c:358: error: structure has no member named `draw'
cairo_glitz_surface.c:359: error:
`GLITZ_FEATURE_OFFSCREEN_MULTISAMPLE_MASK' undeclared (first use in
this function)
cairo_glitz_surface.c:360: error: structure has no member named `multisample'
cairo_glitz_surface.c:360: error: structure has no member named `multisample'
cairo_glitz_surface.c:361: error:
`GLITZ_FORMAT_MULTISAMPLE_SAMPLES_MASK' undeclared (first use in this
function)
cairo_glitz_surface.c:364: error: structure has no member named `draw'
cairo_glitz_surface.c:366: error: `GLITZ_FORMAT_DRAW_OFFSCREEN_MASK'
undeclared (first use in this function)
cairo_glitz_surface.c:371: error: structure has no member named `alpha_size'
cairo_glitz_surface.c:375: error: structure has no member named `red_size'
cairo_glitz_surface.c:380: error: structure has no member named `alpha_size'
cairo_glitz_surface.c:380: error: structure has no member named `red_size'
cairo_glitz_surface.c:387: warning: implicit declaration of function
`glitz_surface_find_similar_format'
cairo_glitz_surface.c:387: warning: nested extern declaration of
`glitz_surface_find_similar_format'
cairo_glitz_surface.c:387: warning: assignment makes pointer from
integer without a cast
cairo_glitz_surface.c:391: warning: assignment makes pointer from
integer without a cast
cairo_glitz_surface.c:396: warning: nested extern declaration of
`glitz_surface_create_similar'
cairo_glitz_surface.c:397: warning: assignment makes pointer from
integer without a cast
cairo_glitz_surface.c: In function `cairo_glitz_surface_create':
cairo_glitz_surface.c:922: warning: implicit declaration of function
`glitz_surface_get_features'
cairo_glitz_surface.c:922: warning: nested extern declaration of
`glitz_surface_get_features'
make[2]: [cairo_glitz_surface.lo] Error 1 (ignored)
/bin/sh ../libtool --mode=link gcc  -g -O2   -o libcairo.la -rpath
/usr/local/lib -version-info 1:0:0 -no-undefined cairo.lo
cairo_cache.lo cairo_color.lo cairo_fixed.lo cairo_font.lo
cairo_ft_font.lo cairo_gstate.lo cairo_hull.lo cairo_image_surface.lo
cairo_matrix.lo cairo_path.lo cairo_path_bounds.lo cairo_path_fill.lo
cairo_path_stroke.lo cairo_pen.lo cairo_polygon.lo cairo_slope.lo
cairo_spline.lo cairo_surface.lo cairo_traps.lo cairo_pattern.lo
cairo_wideint.lo cairo_ps_surface.lo cairo_png_surface.lo
cairo_xlib_surface.lo cairo_xcb_surface.lo cairo_glitz_surface.lo
-L/usr/X11R6/lib -lXrender -lX11 -lXext   -L/usr/local/lib -lXCB   -lz
-lpng12   -L/usr/local/lib -lglitz -lm   -lfontconfig  
-L/usr/local/lib -lpixman   -lfreetype -lz -lm -lm
libtool: link: `cairo_glitz_surface.lo' is not a valid libtool object
make[2]: [libcairo.la] Error 1 (ignored)
----------------------------------------

Thanks,
Jing



More information about the cairo mailing list