Cross compile fontconfig error

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

 



HI
I am trying to cross compile fontconfig
This is my configure

sudo ./configure --prefix=/opt/crosstool/ --host=arm-linux --with-freetype-config=/opt/crosstool/bin/freetype-config --with-confdir=/etc/fonts --enable-libxml2 --with-arch=arm LIBXML2_CFLAGS="-I/opt/crosstool/include/libxml2" LIBXML2_LIBS="-L/opt/crosstool/lib/"

Configure is ok. When i make it, i get this error

make[3]: Leaving directory `/home/jjon/Desktop/fontconfig-2.4.2/src'
make[2]: Leaving directory `/home/jjon/Desktop/fontconfig-2.4.2/src'
Making all in fc-cache
make[2]: Entering directory `/home/jjon/Desktop/fontconfig-2.4.2/fc-cache'
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I/opt/crosstool/include/freetype2 -I/opt/crosstool/include -Wall -Wpointer-arith -Wstrict-prototypes     -Wmissing-prototypes -Wmissing-declarations     -Wnested-externs -fno-strict-aliasing    -g -O2 -MT fc-cache.o -MD -MP -MF ".d eps/fc-cache.Tpo" -c -o fc-cache.o fc-cache.c; \
    then mv -f ".deps/fc-cache.Tpo" ".deps/fc-cache.Po"; else rm -f ".deps/fc-cache.Tpo"; exit 1; fi
/bin/bash ../libtool --tag=CC --mode=link arm-linux-gcc  -g -O2   -o fc-cache  fc-cache.o -L/opt/crosstool/lib -lfreetype -L/opt/crosstool/lib/  ../src/libfontconfig.la
mkdir .libs
arm-linux-gcc -g -O2 -o .libs/fc-cache fc-cache.o  -L/opt/crosstool/lib /opt/crosstool/lib/libfreetype.so -L/opt/crosstool/lib/ ../src/.libs/libfontconfig.so -Wl,--rpath -Wl,/opt/crosstool/lib -Wl,--rpath -Wl,/opt/crosstool//lib
../src/.libs/libfontconfig.so: undefined reference to `xmlCreatePushParserCtxt'
../src/.libs/libfontconfig.so: undefined reference to `xmlSAX2GetLineNumber'
../src/.libs/libfontconfig.so: undefined reference to `xmlParseChunk'
../src/.libs/libfontconfig.so: undefined reference to `xmlCtxtGetLastError'
../src/.libs/libfontconfig.so: undefined reference to `xmlFreeParserCtxt'
collect2: ld returned 1 exit status
make[2]: *** [fc-cache] Error 1
make[2]: Leaving directory `/home/jjon/Desktop/fontconfig-2.4.2/fc-cache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jjon/Desktop/fontconfig-2.4.2'
make: *** [all] Error

I had made libxml2 in /opt/crosstool/ , is my setting error?

attach my Makefile

Please tell me how to solve this problem

Thank you


Hotmail: Powerful Free email with security by Microsoft. Get it now.

Attachment: Makefile
Description: Binary data

_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux