Hi all,<br>I am using buildroot release 20071120 for building toolchain and gtk+ with tinyx for my arm platform.<br>Tinyx seems to compile ok .<br>but when it comes to compile Cairo I get undefined references as follows.<br>
On searching libs(Xrender) of tinyx these functions were meissing.<br>I am using xc-011010 for making the tinyx server. There are several other definations misssing which are later required in pango.<br><br><br>cairo-xlib-surface.c: In function '_CAIRO_FORMAT_TO_XRENDER_FORMAT':<br>
cairo-xlib-surface.c:194: warning: enumeration value 'CAIRO_FORMAT_RGB16_565' not handled in switch<br>cairo-xlib-surface.c:205: error: implicit declaration of function 'XRenderFindStandardFormat'<br>cairo-xlib-surface.c:205: warning: nested extern declaration of 'XRenderFindStandardFormat'<br>
cairo-xlib-surface.c:205: warning: return makes pointer from integer without a cast<br>cairo-xlib-surface.c: In function '_cairo_xlib_surface_set_matrix':<br>cairo-xlib-surface.c:903: error: 'XTransform' undeclared (first use in this function)<br>
cairo-xlib-surface.c:903: error: (Each undeclared identifier is reported only once<br>cairo-xlib-surface.c:903: error: for each function it appears in.)<br>cairo-xlib-surface.c:903: error: expected ';' before 'xtransform'<br>
cairo-xlib-surface.c:908: error: 'xtransform' undeclared (first use in this function)<br>cairo-xlib-surface.c:922: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'identity'<br>
cairo-xlib-surface.c:922: error: 'identity' undeclared (first use in this function)<br>cairo-xlib-surface.c:922: error: expected expression before '{' token<br>cairo-xlib-surface.c:934: error: implicit declaration of function 'XRenderSetPictureTransform'<br>
cairo-xlib-surface.c:934: warning: nested extern declaration of 'XRenderSetPictureTransform'<br>cairo-xlib-surface.c: In function '_cairo_xlib_surface_set_filter':<br>cairo-xlib-surface.c:983: error: implicit declaration of function 'XRenderSetPictureFilter'<br>
cairo-xlib-surface.c:983: warning: nested extern declaration of 'XRenderSetPictureFilter'<br>cairo-xlib-surface.c: In function '_create_a8_picture':<br>cairo-xlib-surface.c:1464: warning: passing argument 3 of 'XRenderCreatePicture' makes pointer from integer without a cast<br>
cairo-xlib-surface.c: In function '_create_trapezoid_mask':<br>cairo-xlib-surface.c:1488: error: 'XTrapezoid' undeclared (first use in this function)<br>cairo-xlib-surface.c:1488: error: 'offset_traps' undeclared (first use in this function)<br>
cairo-xlib-surface.c:1489: warning: ISO C90 forbids mixed declarations and code<br>cairo-xlib-surface.c:1518: error: implicit declaration of function 'XRenderCompositeTrapezoids'<br>cairo-xlib-surface.c:1518: warning: nested extern declaration of 'XRenderCompositeTrapezoids'<br>
cairo-xlib-surface.c: In function '_cairo_xlib_surface_composite_trapezoids':<br>cairo-xlib-surface.c:1575: warning: assignment makes pointer from integer without a cast<br>cairo-xlib-surface.c:1581: warning: assignment makes pointer from integer without a cast<br>
cairo-xlib-surface.c:1647: error: 'XTrapezoid' undeclared (first use in this function)<br>cairo-xlib-surface.c:1647: error: expected expression before ')' token<br>cairo-xlib-surface.c: In function '_cairo_xlib_surface_create_internal':<br>
cairo-xlib-surface.c:1851: warning: assignment makes pointer from integer without a cast<br>cairo-xlib-surface.c: In function '_cairo_xlib_surface_add_glyph':<br>cairo-xlib-surface.c:2413: warning: enumeration value 'CAIRO_FORMAT_RGB16_565' not handled in switch<br>
cairo-xlib-surface.c: In function '_cairo_xlib_surface_show_glyphs8':<br>cairo-xlib-surface.c:2503: error: 'XGlyphElt8' undeclared (first use in this function)<br>cairo-xlib-surface.c:2503: error: 'elts' undeclared (first use in this function)<br>
cairo-xlib-surface.c:2504: error: expected ';' before 'stack_elts'<br>cairo-xlib-surface.c:2506: warning: ISO C90 forbids mixed declarations and code<br>cairo-xlib-surface.c:2515: error: 'stack_elts' undeclared (first use in this function)<br>
cairo-xlib-surface.c:2539: error: implicit declaration of function 'XRenderCompositeText8'<br>cairo-xlib-surface.c:2539: warning: nested extern declaration of 'XRenderCompositeText8'<br>cairo-xlib-surface.c: In function '_cairo_xlib_surface_show_glyphs16':<br>
cairo-xlib-surface.c:2564: error: 'XGlyphElt16' undeclared (first use in this function)<br>cairo-xlib-surface.c:2564: error: 'elts' undeclared (first use in this function)<br>cairo-xlib-surface.c:2565: error: expected ';' before 'stack_elts'<br>
cairo-xlib-surface.c:2567: warning: ISO C90 forbids mixed declarations and code<br>cairo-xlib-surface.c:2576: error: 'stack_elts' undeclared (first use in this function)<br>cairo-xlib-surface.c:2600: error: implicit declaration of function 'XRenderCompositeText16'<br>
cairo-xlib-surface.c:2600: warning: nested extern declaration of 'XRenderCompositeText16'<br>cairo-xlib-surface.c: In function '_cairo_xlib_surface_show_glyphs32':<br>cairo-xlib-surface.c:2625: error: 'XGlyphElt32' undeclared (first use in this function)<br>
cairo-xlib-surface.c:2625: error: 'elts' undeclared (first use in this function)<br>cairo-xlib-surface.c:2626: error: expected ';' before 'stack_elts'<br>cairo-xlib-surface.c:2628: warning: ISO C90 forbids mixed declarations and code<br>
cairo-xlib-surface.c:2637: error: 'stack_elts' undeclared (first use in this function)<br>cairo-xlib-surface.c:2661: error: implicit declaration of function 'XRenderCompositeText32'<br>cairo-xlib-surface.c:2661: warning: nested extern declaration of 'XRenderCompositeText32'<br>
make[4]: *** [cairo-xlib-surface.lo] Error 1<br>make[4]: Leaving directory <br><br>Should I be using a higher version of Xfree86??<br><div id="1fjz" class="ArwC7c ckChnd"><br>Thanx and regards<br>
<br>Tanweer </div><br>