I am trying to cross compile fontconfig version 2.4.1..I have export CPPFLAGS and LDFLAGS
when i type freetype-config --cflage
result is -I/usr/include/freetype2
but i kept it at /home/sina/Desktop/install/include/freetype2..
Can any body please tell where is the problm?
Should i use any patch for cross compiling fontconfig?
Is it possible to cross compile font config?
I am cross compiling it for arm-linux....
make all-recursive
make[1]: Entering directory `/home/fountain/Desktop/tar/fontconfig-2.4.1'
Making all in fontconfig
make[2]: Entering directory `/home/fountain/Desktop/tar/fontconfig-2.4.1/fontconfig'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/fountain/Desktop/tar/fontconfig-2.4.1/fontconfig'
Making all in fc-case
make[2]: Entering directory `/home/fountain/Desktop/tar/fontconfig-2.4.1/fc-case'
make all-am
make[3]: Entering directory `/home/fountain/Desktop/tar/fontconfig-2.4.1/fc-case'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/fountain/Desktop/tar/fontconfig- 2.4.1/fc-case'
make[2]: Leaving directory `/home/fountain/Desktop/tar/fontconfig-2.4.1/fc-case'
Making all in fc-lang
make[2]: Entering directory `/home/fountain/Desktop/tar/fontconfig-2.4.1/fc-lang'
make all-am
make[3]: Entering directory `/home/fountain/Desktop/tar/fontconfig- 2.4.1/fc-lang'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/fountain/Desktop/tar/fontconfig-2.4.1/fc-lang'
make[2]: Leaving directory `/home/fountain/Desktop/tar/fontconfig- 2.4.1/fc-lang'
Making all in fc-glyphname
make[2]: Entering directory `/home/fountain/Desktop/tar/fontconfig- 2.4.1/fc-glyphname'
make all-am
make[3]: Entering directory `/home/fountain/Desktop/tar/fontconfig- 2.4.1/fc-glyphname'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/fountain/Desktop/tar/fontconfig-2.4.1/fc-glyphname'
make[2]: Leaving directory `/home/fountain/Desktop/tar/fontconfig- 2.4.1/fc-glyphname'
Making all in fc-arch
make[2]: Entering directory `/home/fountain/Desktop/tar /fontconfig- 2.4.1/fc-arch'
make all-am
make[3]: Entering directory `/home/fountain/Desktop/tar/fontconfig- 2.4.1/fc-arch'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/fountain/Desktop/tar/fontconfig-2.4.1/fc-arch'
make[2]: Leaving directory `/home/fountain/Desktop/tar/fontconfig- 2.4.1/fc-arch'
Making all in src
make[2]: Entering directory `/home/fountain/Desktop/tar/fontconfig- 2.4.1/src'
make all-am
make[3]: Entering directory `/home/fountain/Desktop/tar/fontconfig- 2.4.1/src'
/bin/sh ../libtool --tag=CC --mode=link arm-9tdmi-linux-gnu-gcc -g -O2 -L /home/fountain/Desktop/install/lib -o libfontconfig.la -rpath /home/fountain/Desktop/install//lib -version-info 2:0:1 -no-undefined fcatomic.lo fcblanks.lo fccache.lo fccfg.lo fccharset.lo fcdbg.lo fcdefault.lo fcdir.lo fcfreetype.lo fcfs.lo fcinit.lo fclang.lo fclist.lo fcmatch.lo fcmatrix.lo fcname.lo fcpat.lo fcserialize.lo fcstr.lo fcxml.lo ftglue.lo -lfreetype -lz -lexpat
arm-9tdmi-linux-gnu-gcc -shared .libs/fcatomic.o .libs/fcblanks.o .libs/fccache.o .libs/fccfg.o .libs/fccharset.o .libs/fcdbg.o .libs/fcdefault.o .libs/fcdir.o .libs/fcfreetype.o .libs/fcfs.o .libs/fcinit.o .libs/fclang.o .libs/fclist.o .libs/fcmatch.o .libs/fcmatrix.o .libs/fcname.o .libs/fcpat.o .libs/fcserialize.o .libs/fcstr.o .libs/fcxml.o .libs/ftglue.o -L/home/fountain/Desktop/tar/fontconfig- 2.4.1/src -lfreetype -lz -lexpat -Wl,-soname -Wl,libfontconfig.so.1 -o .libs/libfontconfig.so.1.1.0
/opt/crosstoolstatic,/gcc-4.1.0-glibc-2.3.2 /arm-9tdmi-linux-gnu/lib/gcc/arm-9tdmi-linux-gnu/4.1.0/../../../../arm-9tdmi-linux-gnu/bin/ld: cannot find -lfreetype
collect2: ld returned 1 exit status
make[3]: *** [libfontconfig.la] Error 1
make[3]: Leaving directory `/home/fountain/Desktop/tar/fontconfig-2.4.1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/fountain/Desktop/tar/fontconfig-2.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fountain/Desktop/tar/fontconfig-2.4.1'
make: *** [all] Error 2
I have try a lot...From net i do not get much help...So am sending email here again.....
Please advice me...
thanks
Sina
_______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig