[cairo] install problem
ryanc at email.arizona.edu
ryanc at email.arizona.edu
Fri Apr 13 13:24:56 PDT 2007
I am trying to install cairo on my x86_64 machine running SuSe 10.2. I have
tried installing several different versions of cairo and all of them fail. I
get through the config, but when I run the make command I get all sorts of
errors. Here is the list of them that comes at the end. There are more that
come before this as well. If anyone has any ideas on how to fix the problem I'd
appreciate it. Thanks.
cairo-xlib-surface.c:129: error: expected specifier-qualifier-list before
'XRenderPictFormat'
cairo-xlib-surface.c:189: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
cairo-xlib-surface.c: In function
'_cairo_xlib_surface_create_similar_with_format':
cairo-xlib-surface.c:218: error: 'XRenderPictFormat' undeclared (first use in
this function)
cairo-xlib-surface.c:218: error: (Each undeclared identifier is reported only
once
cairo-xlib-surface.c:218: error: for each function it appears in.)
cairo-xlib-surface.c:218: error: 'xrender_format' undeclared (first use in this
function)
cairo-xlib-surface.c:218: error: implicit declaration of function
'_CAIRO_FORMAT_TO_XRENDER_FORMAT'
cairo-xlib-surface.c:218: warning: nested extern declaration of
'_CAIRO_FORMAT_TO_XRENDER_FORMAT'
cairo-xlib-surface.c:237: error: too many arguments to function
'cairo_xlib_surface_create_with_xrender_format'
cairo-xlib-surface.c: At top level:
cairo-xlib-surface.c:249: error: expected ')' before '*' token
cairo-xlib-surface.c: In function '_cairo_xlib_surface_create_similar':
cairo-xlib-surface.c:280: error: 'XRenderPictFormat' undeclared (first use in
this function)
cairo-xlib-surface.c:280: error: 'xrender_format' undeclared (first use in this
function)
cairo-xlib-surface.c:280: error: 'cairo_xlib_surface_t' has no member named
'xrender_format'
cairo-xlib-surface.c:281: warning: ISO C90 forbids mixed declarations and code
cairo-xlib-surface.c:288: error: implicit declaration of function
'XRenderFindVisualFormat'
cairo-xlib-surface.c:288: warning: nested extern declaration of
'XRenderFindVisualFormat'
cairo-xlib-surface.c:296: error: implicit declaration of function
'_xrender_format_to_content'
cairo-xlib-surface.c:296: warning: nested extern declaration of
'_xrender_format_to_content'
cairo-xlib-surface.c:296: warning: comparison between signed and unsigned
cairo-xlib-surface.c:314: error: too many arguments to function
'cairo_xlib_surface_create_with_xrender_format'
cairo-xlib-surface.c: In function '_cairo_xlib_surface_finish':
cairo-xlib-surface.c:330: error: implicit declaration of function
'XRenderFreePicture'
cairo-xlib-surface.c:330: warning: nested extern declaration of
'XRenderFreePicture'
cairo-xlib-surface.c: In function '_get_image_surface':
cairo-xlib-surface.c:618: error: 'cairo_xlib_surface_t' has no member named
'xrender_format'
cairo-xlib-surface.c:620: error: 'cairo_xlib_surface_t' has no member named
'xrender_format'
cairo-xlib-surface.c:621: error: 'cairo_xlib_surface_t' has no member named
'xrender_format'
cairo-xlib-surface.c:622: error: 'cairo_xlib_surface_t' has no member named
'xrender_format'
cairo-xlib-surface.c:623: error: 'cairo_xlib_surface_t' has no member named
'xrender_format'
cairo-xlib-surface.c:624: error: 'cairo_xlib_surface_t' has no member named
'xrender_format'
cairo-xlib-surface.c:625: error: 'cairo_xlib_surface_t' has no member named
'xrender_format'
cairo-xlib-surface.c:626: error: 'cairo_xlib_surface_t' has no member named
'xrender_format'
cairo-xlib-surface.c:627: error: 'cairo_xlib_surface_t' has no member named
'xrender_format'
cairo-xlib-surface.c:681: error: implicit declaration of function
'XDestroyImage'
cairo-xlib-surface.c:681: warning: nested extern declaration of 'XDestroyImage'
cairo-xlib-surface.c: In function '_cairo_xlib_surface_ensure_src_picture':
cairo-xlib-surface.c:695: error: implicit declaration of function
'XRenderCreatePicture'
cairo-xlib-surface.c:695: warning: nested extern declaration of
'XRenderCreatePicture'
cairo-xlib-surface.c:697: error: 'cairo_xlib_surface_t' has no member named
'xrender_format'
cairo-xlib-surface.c: In function '_cairo_xlib_surface_set_picture_clip_rects':
cairo-xlib-surface.c:705: error: implicit declaration of function
'XRenderSetPictureClipRectangles'
cairo-xlib-surface.c:705: warning: nested extern declaration of
'XRenderSetPictureClipRectangles'
cairo-xlib-surface.c: In function '_cairo_xlib_surface_ensure_dst_picture':
cairo-xlib-surface.c:727: error: 'cairo_xlib_surface_t' has no member named
'xrender_format'
cairo-xlib-surface.c: In function '_cairo_xlib_surface_set_matrix':
cairo-xlib-surface.c:915: error: 'XTransform' undeclared (first use in this
function)
cairo-xlib-surface.c:915: error: expected ';' before 'xtransform'
cairo-xlib-surface.c:920: error: 'xtransform' undeclared (first use in this
function)
cairo-xlib-surface.c:934: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'identity'
cairo-xlib-surface.c:934: error: 'identity' undeclared (first use in this
function)
cairo-xlib-surface.c:934: error: expected expression before '{' token
cairo-xlib-surface.c:946: error: implicit declaration of function
'XRenderSetPictureTransform'
cairo-xlib-surface.c:946: warning: nested extern declaration of
'XRenderSetPictureTransform'
cairo-xlib-surface.c: In function '_cairo_xlib_surface_set_filter':
cairo-xlib-surface.c:995: error: implicit declaration of function
'XRenderSetPictureFilter'
cairo-xlib-surface.c:995: warning: nested extern declaration of
'XRenderSetPictureFilter'
cairo-xlib-surface.c: In function '_cairo_xlib_surface_set_repeat':
cairo-xlib-surface.c:1004: error: 'XRenderPictureAttributes' undeclared (first
use in this function)
cairo-xlib-surface.c:1004: error: expected ';' before 'pa'
cairo-xlib-surface.c:1005: warning: ISO C90 forbids mixed declarations and code
cairo-xlib-surface.c:1011: error: 'pa' undeclared (first use in this function)
cairo-xlib-surface.c:1013: error: implicit declaration of function
'XRenderChangePicture'
cairo-xlib-surface.c:1013: warning: nested extern declaration of
'XRenderChangePicture'
cairo-xlib-surface.c: In function '_surfaces_compatible':
cairo-xlib-surface.c:1066: error: 'cairo_xlib_surface_t' has no member named
'xrender_format'
cairo-xlib-surface.c:1066: error: 'cairo_xlib_surface_t' has no member named
'xrender_format'
cairo-xlib-surface.c:1066: error: 'cairo_xlib_surface_t' has no member named
'xrender_format'
cairo-xlib-surface.c: In function '_surface_has_alpha':
cairo-xlib-surface.c:1079: error: 'cairo_xlib_surface_t' has no member named
'xrender_format'
cairo-xlib-surface.c:1080: error: 'cairo_xlib_surface_t' has no member named
'xrender_format'
cairo-xlib-surface.c:1081: error: 'cairo_xlib_surface_t' has no member named
'xrender_format'
cairo-xlib-surface.c: In function '_cairo_xlib_surface_composite':
cairo-xlib-surface.c:1340: error: implicit declaration of function
'XRenderComposite'
cairo-xlib-surface.c:1340: warning: nested extern declaration of
'XRenderComposite'
cairo-xlib-surface.c: In function '_cairo_xlib_surface_fill_rectangles':
cairo-xlib-surface.c:1431: error: 'XRenderColor' undeclared (first use in this
function)
cairo-xlib-surface.c:1431: error: expected ';' before 'render_color'
cairo-xlib-surface.c:1436: error: 'render_color' undeclared (first use in this
function)
cairo-xlib-surface.c:1443: error: implicit declaration of function
'XRenderFillRectangles'
cairo-xlib-surface.c:1443: warning: nested extern declaration of
'XRenderFillRectangles'
cairo-xlib-surface.c: At top level:
cairo-xlib-surface.c:1455: error: expected declaration specifiers or '...'
before 'XRenderColor'
cairo-xlib-surface.c: In function '_create_a8_picture':
cairo-xlib-surface.c:1460: error: 'XRenderPictureAttributes' undeclared (first
use in this function)
cairo-xlib-surface.c:1460: error: expected ';' before 'pa'
cairo-xlib-surface.c:1461: warning: ISO C90 forbids mixed declarations and code
cairo-xlib-surface.c:1470: error: 'pa' undeclared (first use in this function)
cairo-xlib-surface.c:1475: error: implicit declaration of function
'XRenderFindStandardFormat'
cairo-xlib-surface.c:1475: warning: nested extern declaration of
'XRenderFindStandardFormat'
cairo-xlib-surface.c:1475: error: 'PictStandardA8' undeclared (first use in this
function)
cairo-xlib-surface.c:1477: error: implicit declaration of function
'XRenderFillRectangle'
cairo-xlib-surface.c:1477: warning: nested extern declaration of
'XRenderFillRectangle'
cairo-xlib-surface.c:1477: error: 'color' undeclared (first use in this
function)
cairo-xlib-surface.c: At top level:
cairo-xlib-surface.c:1495: error: expected declaration specifiers or '...'
before 'XRenderPictFormat'
cairo-xlib-surface.c: In function '_create_trapezoid_mask':
cairo-xlib-surface.c:1497: error: 'XRenderColor' undeclared (first use in this
function)
cairo-xlib-surface.c:1497: error: expected ';' before 'transparent'
cairo-xlib-surface.c:1498: error: expected ';' before 'solid'
cairo-xlib-surface.c:1499: warning: ISO C90 forbids mixed declarations and code
cairo-xlib-surface.c:1500: error: 'XTrapezoid' undeclared (first use in this
function)
cairo-xlib-surface.c:1500: error: 'offset_traps' undeclared (first use in this
function)
cairo-xlib-surface.c:1501: warning: ISO C90 forbids mixed declarations and code
cairo-xlib-surface.c:1510: error: 'transparent' undeclared (first use in this
function)
cairo-xlib-surface.c:1510: error: too many arguments to function
'_create_a8_picture'
cairo-xlib-surface.c:1511: error: 'solid' undeclared (first use in this
function)
cairo-xlib-surface.c:1511: error: too many arguments to function
'_create_a8_picture'
cairo-xlib-surface.c:1530: error: implicit declaration of function
'XRenderCompositeTrapezoids'
cairo-xlib-surface.c:1530: warning: nested extern declaration of
'XRenderCompositeTrapezoids'
cairo-xlib-surface.c:1532: error: 'pict_format' undeclared (first use in this
function)
cairo-xlib-surface.c: In function '_cairo_xlib_surface_composite_trapezoids':
cairo-xlib-surface.c:1563: error: 'XRenderPictFormat' undeclared (first use in
this function)
cairo-xlib-surface.c:1563: error: 'pict_format' undeclared (first use in this
function)
cairo-xlib-surface.c:1587: error: 'PictStandardA1' undeclared (first use in this
function)
cairo-xlib-surface.c:1593: error: 'PictStandardA8' undeclared (first use in this
function)
cairo-xlib-surface.c:1625: error: too many arguments to function
'_create_trapezoid_mask'
cairo-xlib-surface.c:1659: error: 'XTrapezoid' undeclared (first use in this
function)
cairo-xlib-surface.c:1659: error: expected expression before ')' token
cairo-xlib-surface.c: In function '_cairo_xlib_surface_set_clip_region':
cairo-xlib-surface.c:1686: error: 'cairo_xlib_surface_t' has no member named
'xrender_format'
cairo-xlib-surface.c:1687: error: 'XRenderPictureAttributes' undeclared (first
use in this function)
cairo-xlib-surface.c:1687: error: expected ';' before 'pa'
cairo-xlib-surface.c:1688: error: 'pa' undeclared (first use in this function)
cairo-xlib-surface.c: At top level:
cairo-xlib-surface.c:1811: error: expected declaration specifiers or '...'
before 'XRenderPictFormat'
cairo-xlib-surface.c: In function '_cairo_xlib_surface_create_internal':
cairo-xlib-surface.c:1831: error: 'xrender_format' undeclared (first use in this
function)
cairo-xlib-surface.c:1853: error: implicit declaration of function
'XRenderQueryVersion'
cairo-xlib-surface.c:1853: warning: nested extern declaration of
'XRenderQueryVersion'
cairo-xlib-surface.c:1863: error: 'PictStandardA1' undeclared (first use in this
function)
cairo-xlib-surface.c:1899: error: 'cairo_xlib_surface_t' has no member named
'xrender_format'
cairo-xlib-surface.c: In function 'cairo_xlib_surface_create':
cairo-xlib-surface.c:1967: warning: passing argument 5 of
'_cairo_xlib_surface_create_internal' makes integer from pointer without a cast
cairo-xlib-surface.c:1967: error: too many arguments to function
'_cairo_xlib_surface_create_internal'
cairo-xlib-surface.c: In function 'cairo_xlib_surface_create_for_bitmap':
cairo-xlib-surface.c:1991: warning: passing argument 5 of
'_cairo_xlib_surface_create_internal' makes integer from pointer without a cast
cairo-xlib-surface.c:1991: error: too many arguments to function
'_cairo_xlib_surface_create_internal'
cairo-xlib-surface.c: At top level:
cairo-xlib-surface.c:2018: error: expected declaration specifiers or '...'
before 'XRenderPictFormat'
cairo-xlib-surface.c: In function
'cairo_xlib_surface_create_with_xrender_format':
cairo-xlib-surface.c:2023: error: 'format' undeclared (first use in this
function)
cairo-xlib-surface.c:2023: error: too many arguments to function
'_cairo_xlib_surface_create_internal'
cairo-xlib-surface.c: At top level:
cairo-xlib-surface.c:2271: error: expected specifier-qualifier-list before
'XRenderPictFormat'
cairo-xlib-surface.c: In function '_cairo_xlib_surface_remove_scaled_font':
cairo-xlib-surface.c:2286: error: implicit declaration of function
'XRenderFreeGlyphSet'
cairo-xlib-surface.c:2286: warning: nested extern declaration of
'XRenderFreeGlyphSet'
cairo-xlib-surface.c: In function '_cairo_xlib_surface_font_init':
cairo-xlib-surface.c:2310: error: 'cairo_xlib_surface_font_private_t' has no
member named 'xrender_format'
cairo-xlib-surface.c:2311: error: implicit declaration of function
'XRenderCreateGlyphSet'
cairo-xlib-surface.c:2311: warning: nested extern declaration of
'XRenderCreateGlyphSet'
cairo-xlib-surface.c:2311: error: 'cairo_xlib_surface_font_private_t' has no
member named 'xrender_format'
cairo-xlib-surface.c: In function '_cairo_xlib_surface_scaled_glyph_fini':
cairo-xlib-surface.c:2338: error: implicit declaration of function
'XRenderFreeGlyphs'
cairo-xlib-surface.c:2338: warning: nested extern declaration of
'XRenderFreeGlyphs'
cairo-xlib-surface.c: In function '_cairo_xlib_surface_add_glyph':
cairo-xlib-surface.c:2357: error: 'XGlyphInfo' undeclared (first use in this
function)
cairo-xlib-surface.c:2357: error: expected ';' before 'glyph_info'
cairo-xlib-surface.c:2358: warning: ISO C90 forbids mixed declarations and code
cairo-xlib-surface.c:2440: error: 'glyph_info' undeclared (first use in this
function)
cairo-xlib-surface.c:2513: error: implicit declaration of function
'XRenderAddGlyphs'
cairo-xlib-surface.c:2513: warning: nested extern declaration of
'XRenderAddGlyphs'
cairo-xlib-surface.c: At top level:
cairo-xlib-surface.c:2533: warning: type defaults to 'int' in declaration of
'XRenderPictFormat'
cairo-xlib-surface.c:2533: error: expected ';', ',' or ')' before '*' token
cairo-xlib-surface.c: In function '_cairo_xlib_surface_emit_glyphs_chunk':
cairo-xlib-surface.c:2573: error: 'cairo_xrender_composite_text_func_t'
undeclared (first use in this function)
cairo-xlib-surface.c:2573: error: expected ';' before 'composite_text_func'
cairo-xlib-surface.c:2574: warning: ISO C90 forbids mixed declarations and code
cairo-xlib-surface.c:2577: error: 'XGlyphElt8' undeclared (first use in this
function)
cairo-xlib-surface.c:2577: error: 'elts' undeclared (first use in this function)
cairo-xlib-surface.c:2578: error: expected ';' before 'stack_elts'
cairo-xlib-surface.c:2581: warning: ISO C90 forbids mixed declarations and code
cairo-xlib-surface.c:2595: error: 'composite_text_func' undeclared (first use in
this function)
cairo-xlib-surface.c:2595: error: 'XRenderCompositeText8' undeclared (first use
in this function)
cairo-xlib-surface.c:2599: error: expected ';' before 'XRenderCompositeText16'
cairo-xlib-surface.c:2604: error: expected ';' before 'XRenderCompositeText32'
cairo-xlib-surface.c:2610: error: 'stack_elts' undeclared (first use in this
function)
cairo-xlib-surface.c:2658: error: implicit declaration of function
'composite_text_func'
cairo-xlib-surface.c:2662: error: 'cairo_xlib_surface_font_private_t' has no
member named 'xrender_format'
cairo-xlib-surface.c:2666: error: expected expression before ')' token
cairo-xlib-surface.c: In function '_cairo_xlib_surface_show_glyphs':
cairo-xlib-surface.c:2837: error: 'cairo_xlib_surface_t' has no member named
'xrender_format'
make[2]: *** [cairo-xlib-surface.lo] Error 1
make[2]: Leaving directory `/home/ryanc/Desktop/cairo-1.4.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ryanc/Desktop/cairo-1.4.2'
make: *** [all] Error 2
More information about the cairo
mailing list