problems : cross compilation of pango




 hai all,

I would like to cross compile Pango 1.18.2  for an ARM board
with the toolchain arm-linux.
I  have set all variables like CC,LD,AS,AR,RANLIB,STRIP correctly.
this is my configure
I have checked the make file all flags and libs are set correctly

freetype,fontconfig,cairo got installed correctly with directfb support.

when i had installed cairo i had got a warning fonts.cache not built generate this file manually on host systems using fc-cache

./configure  --host=arm-linux --build=i686-linux --prefix=$PREFIX --enable-static=yes --without-x --disable-sdl --disable-win32 --with-gfxdrivers=none --enable-explicit-deps=yes

configuration happen correctly

when i do a make this is what i get,
can anyone help..

/opt/gtkdfb-arm/lib/libcairo.a(cairo-ft-font.o): In function `_cairo_ft_unscaled_font_create_for_pattern':

/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:395: undefined reference to `FcPatternGetString'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:399: undefined reference to `FcPatternGetInteger'
/opt/gtkdfb-arm/lib/libcairo.a(cairo-ft-font.o): In function `_get_pattern_ft_options':
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:1225: undefined reference to `FcPatternGetBool'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:1230: undefined reference to `FcPatternGetBool'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:1307: undefined reference to `FcPatternGetBool'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:1314: undefined reference to `FcPatternGetBool'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:1324: undefined reference to `FcPatternGetBool'
/opt/gtkdfb-arm/lib/libcairo.a(cairo-ft-font.o):/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:1241: more undefined references to `FcPatternGetBool' follow
/opt/gtkdfb-arm/lib/libcairo.a(cairo-ft-font.o): In function `_get_pattern_ft_options':
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:1245: undefined reference to `FcPatternGetInteger'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:1275: undefined reference to `FcPatternGetInteger'

/opt/gtkdfb-arm/lib/libcairo.a(cairo-ft-font.o): In function `*INT_cairo_ft_font_options_substitute':
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:2241: undefined reference to `FcPatternGet'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:2247: undefined reference to `FcPatternGet'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:2268: undefined reference to `FcPatternAddInteger'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:2198: undefined reference to `FcPatternGet'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:2210: undefined reference to `FcPatternGet'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:2235: undefined reference to `FcPatternAddInteger'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:2243: undefined reference to `FcPatternAddBool'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:2200: undefined reference to `FcPatternAddBool'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:2202: undefined reference to `FcPatternDel'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:2203: undefined reference to `FcPatternAddInteger'
/opt/gtkdfb-arm/lib/libcairo.a(cairo-ft-font.o): In function `_cairo_ft_scaled_font_create_toy':
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:1518: undefined reference to `FcPatternCreate'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:1547: undefined reference to `FcPatternAddString'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:1584: undefined reference to `FcPatternDestroy'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:1549: undefined reference to `FcPatternAddInteger'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:1551: undefined reference to `FcPatternAddInteger'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:1557: undefined reference to `FcPatternAddInteger'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:1559: undefined reference to `FcConfigSubstitute'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:1561: undefined reference to `FcDefaultSubstitute'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:1563: undefined reference to `FcFontMatch'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:1581: undefined reference to `FcPatternDestroy'
/home/shilpasingh/cairo-1.2.6/src/cairo-ft-font.c:1584: undefined reference to `FcPatternDestroy'
collect2: ld returned 1 exit status
make[2]: *** [cairosimple] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

______________________________________________________________________


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]