[cairo] tinyx with Gtk+

tanweer alam tanalam at gmail.com
Sun Feb 3 20:55:19 PST 2008


Hi all,
I am using buildroot release 20071120 for building toolchain and gtk+ with
tinyx for my arm platform.
Tinyx seems to compile ok .
but when it comes to compile Cairo I get undefined references as follows.
On searching libs(Xrender) of tinyx  these functions were meissing.
I am using xc-011010 for making the tinyx server. There are several other
definations misssing which are later required in pango.


cairo-xlib-surface.c: In function '_CAIRO_FORMAT_TO_XRENDER_FORMAT':
cairo-xlib-surface.c:194: warning: enumeration value
'CAIRO_FORMAT_RGB16_565' not handled in switch
cairo-xlib-surface.c:205: error: implicit declaration of function
'XRenderFindStandardFormat'
cairo-xlib-surface.c:205: warning: nested extern declaration of
'XRenderFindStandardFormat'
cairo-xlib-surface.c:205: warning: return makes pointer from integer without
a cast
cairo-xlib-surface.c: In function '_cairo_xlib_surface_set_matrix':
cairo-xlib-surface.c:903: error: 'XTransform' undeclared (first use in this
function)
cairo-xlib-surface.c:903: error: (Each undeclared identifier is reported
only once
cairo-xlib-surface.c:903: error: for each function it appears in.)
cairo-xlib-surface.c:903: error: expected ';' before 'xtransform'
cairo-xlib-surface.c:908: error: 'xtransform' undeclared (first use in this
function)
cairo-xlib-surface.c:922: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'identity'
cairo-xlib-surface.c:922: error: 'identity' undeclared (first use in this
function)
cairo-xlib-surface.c:922: error: expected expression before '{' token
cairo-xlib-surface.c:934: error: implicit declaration of function
'XRenderSetPictureTransform'
cairo-xlib-surface.c:934: warning: nested extern declaration of
'XRenderSetPictureTransform'
cairo-xlib-surface.c: In function '_cairo_xlib_surface_set_filter':
cairo-xlib-surface.c:983: error: implicit declaration of function
'XRenderSetPictureFilter'
cairo-xlib-surface.c:983: warning: nested extern declaration of
'XRenderSetPictureFilter'
cairo-xlib-surface.c: In function '_create_a8_picture':
cairo-xlib-surface.c:1464: warning: passing argument 3 of
'XRenderCreatePicture' makes pointer from integer without a cast
cairo-xlib-surface.c: In function '_create_trapezoid_mask':
cairo-xlib-surface.c:1488: error: 'XTrapezoid' undeclared (first use in this
function)
cairo-xlib-surface.c:1488: error: 'offset_traps' undeclared (first use in
this function)
cairo-xlib-surface.c:1489: warning: ISO C90 forbids mixed declarations and
code
cairo-xlib-surface.c:1518: error: implicit declaration of function
'XRenderCompositeTrapezoids'
cairo-xlib-surface.c:1518: warning: nested extern declaration of
'XRenderCompositeTrapezoids'
cairo-xlib-surface.c: In function
'_cairo_xlib_surface_composite_trapezoids':
cairo-xlib-surface.c:1575: warning: assignment makes pointer from integer
without a cast
cairo-xlib-surface.c:1581: warning: assignment makes pointer from integer
without a cast
cairo-xlib-surface.c:1647: error: 'XTrapezoid' undeclared (first use in this
function)
cairo-xlib-surface.c:1647: error: expected expression before ')' token
cairo-xlib-surface.c: In function '_cairo_xlib_surface_create_internal':
cairo-xlib-surface.c:1851: warning: assignment makes pointer from integer
without a cast
cairo-xlib-surface.c: In function '_cairo_xlib_surface_add_glyph':
cairo-xlib-surface.c:2413: warning: enumeration value
'CAIRO_FORMAT_RGB16_565' not handled in switch
cairo-xlib-surface.c: In function '_cairo_xlib_surface_show_glyphs8':
cairo-xlib-surface.c:2503: error: 'XGlyphElt8' undeclared (first use in this
function)
cairo-xlib-surface.c:2503: error: 'elts' undeclared (first use in this
function)
cairo-xlib-surface.c:2504: error: expected ';' before 'stack_elts'
cairo-xlib-surface.c:2506: warning: ISO C90 forbids mixed declarations and
code
cairo-xlib-surface.c:2515: error: 'stack_elts' undeclared (first use in this
function)
cairo-xlib-surface.c:2539: error: implicit declaration of function
'XRenderCompositeText8'
cairo-xlib-surface.c:2539: warning: nested extern declaration of
'XRenderCompositeText8'
cairo-xlib-surface.c: In function '_cairo_xlib_surface_show_glyphs16':
cairo-xlib-surface.c:2564: error: 'XGlyphElt16' undeclared (first use in
this function)
cairo-xlib-surface.c:2564: error: 'elts' undeclared (first use in this
function)
cairo-xlib-surface.c:2565: error: expected ';' before 'stack_elts'
cairo-xlib-surface.c:2567: warning: ISO C90 forbids mixed declarations and
code
cairo-xlib-surface.c:2576: error: 'stack_elts' undeclared (first use in this
function)
cairo-xlib-surface.c:2600: error: implicit declaration of function
'XRenderCompositeText16'
cairo-xlib-surface.c:2600: warning: nested extern declaration of
'XRenderCompositeText16'
cairo-xlib-surface.c: In function '_cairo_xlib_surface_show_glyphs32':
cairo-xlib-surface.c:2625: error: 'XGlyphElt32' undeclared (first use in
this function)
cairo-xlib-surface.c:2625: error: 'elts' undeclared (first use in this
function)
cairo-xlib-surface.c:2626: error: expected ';' before 'stack_elts'
cairo-xlib-surface.c:2628: warning: ISO C90 forbids mixed declarations and
code
cairo-xlib-surface.c:2637: error: 'stack_elts' undeclared (first use in this
function)
cairo-xlib-surface.c:2661: error: implicit declaration of function
'XRenderCompositeText32'
cairo-xlib-surface.c:2661: warning: nested extern declaration of
'XRenderCompositeText32'
make[4]: *** [cairo-xlib-surface.lo] Error 1
make[4]: Leaving directory

Should I be using a higher version of Xfree86??

Thanx and regards

Tanweer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20080204/343d2b8c/attachment-0001.html 


More information about the cairo mailing list