[svlug] Cairo cross compile

Giriprasad Deviprasad g_pr21 at yahoo.in
Tue Sep 14 06:54:23 PDT 2010


Hi All,



 I configured cairo successfully, but when I do make, it gives the foll errors :



cairo-scaled-font-subsets.c: In function '_cairo_scaled_font_subset_create_glyph_names':

cairo-scaled-font-subsets.c:1015: error: implicit declaration of function '_cairo_utf8_to_utf16'

cairo-scaled-font-subsets.c:1015: warning: nested extern declaration of '_cairo_utf8_to_utf16'

make[3]: *** [cairo-scaled-font-subsets.lo] Error 1

make[3]: Leaving directory `/root/playhome/cairo-1.8.10/src'



 Any ideas why?



Thanks & Regards,

D.Giri Prasad


I'm not sure that you've built the other cross-compile libraries correctly (you normally have the prefix acting as a faux-/usr directory -- as in freetype and fontconfig should coexist in one lib directory), but you should be able to configure it with something such as./configure --prefix=/opt/asdlab --with-freetype=/opt/asdlab/freetype --with-fontconfig=/opt/asdlab/fontconfig
As I'm an embedded developer I've cross-compiled Cairo for many different platforms (linux-mips, meander-arm, and awos-486 to name a few), so if you need any further help feel free to ask away. :)
HTH,Andrew

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.svlug.org/archives/svlug/attachments/20100914/dca90c0b/attachment.htm


More information about the svlug mailing list