<span style="color: rgb(204, 0, 0);"><span style="color: rgb(0, 0, 0);">Hi All,<br>I am trying to cross compile fontconfig version 2.4.1..I have export CPPFLAGS and LDFLAGS <br>when i type freetype-config --cflage<br>result is -I/usr/include/freetype2
<br>but i kept it at /home/sina/Desktop/install/include/freetype2..<br>Can any body please tell where is the problm?<br>Should i use any patch for cross compiling fontconfig?<br>Is it possible to cross compile font config?
<br>I am cross compiling it for arm-linux....<br><br></span>make all-recursive</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">
make[1]: Entering directory `/home/fountain/Desktop/tar/fontconfig-2.4.1'</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">Making all in fontconfig</span><br style="color: rgb(204, 0, 0);">
<span style="color: rgb(204, 0, 0);">make[2]: Entering directory `/home/fountain/Desktop/tar/fontconfig-2.4.1/fontconfig'</span><span class="q"><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">
make[2]: Nothing to be done for `all'.
</span><br style="color: rgb(204, 0, 0);"></span><span style="color: rgb(204, 0, 0);">make[2]: Leaving directory `/home/fountain/Desktop/tar/fontconfig-2.4.1/fontconfig'</span><span class="q"><br style="color: rgb(204, 0, 0);">
<span style="color: rgb(204, 0, 0);">
Making all in fc-case</span><br style="color: rgb(204, 0, 0);"></span><span style="color: rgb(204, 0, 0);">make[2]: Entering directory `/home/fountain/Desktop/tar/fontconfig-2.4.1/fc-case'</span><br style="color: rgb(204, 0, 0);">
<span style="color: rgb(204, 0, 0);">make all-am</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make[3]: Entering directory `/home/fountain/Desktop/tar/fontconfig-2.4.1/fc-case'</span>
<br style="color: rgb(204, 0, 0);">
<span style="color: rgb(204, 0, 0);">make[3]: Nothing to be done for `all-am'.</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make[3]: Leaving directory `/home/fountain/Desktop/tar/fontconfig-
2.4.1/fc-case'</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make[2]: Leaving directory `/home/fountain/Desktop/tar/fontconfig-2.4.1/fc-case'</span><span class="q"><br style="color: rgb(204, 0, 0);">
<span style="color: rgb(204, 0, 0);">Making all in fc-lang</span><br style="color: rgb(204, 0, 0);"></span><span style="color: rgb(204, 0, 0);">make[2]: Entering directory `/home/fountain/Desktop/tar/fontconfig-2.4.1/fc-lang'
</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make all-am</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make[3]: Entering directory `/home/fountain/Desktop/tar/fontconfig-
2.4.1/fc-lang'</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make[3]: Nothing to be done for `all-am'.</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">
make[3]: Leaving directory `/home/fountain/Desktop/tar/fontconfig-2.4.1/fc-lang'</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make[2]: Leaving directory `/home/fountain/Desktop/tar/fontconfig-
2.4.1/fc-lang'</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">Making all in fc-glyphname</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make[2]: Entering directory `/home/fountain/Desktop/tar/fontconfig-
2.4.1/fc-glyphname'</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make all-am</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make[3]: Entering directory `/home/fountain/Desktop/tar/fontconfig-
2.4.1/fc-glyphname'</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make[3]: Nothing to be done for `all-am'.</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">
make[3]: Leaving directory `/home/fountain/Desktop/tar/fontconfig-2.4.1/fc-glyphname'</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make[2]: Leaving directory `/home/fountain/Desktop/tar/fontconfig-
2.4.1/fc-glyphname'</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">Making all in fc-arch</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make[2]: Entering directory `/home/fountain/Desktop/tar
/fontconfig-
2.4.1/fc-arch'</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make all-am</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make[3]: Entering directory `/home/fountain/Desktop/tar/fontconfig-
2.4.1/fc-arch'</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make[3]: Nothing to be done for `all-am'.</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">
make[3]: Leaving directory `/home/fountain/Desktop/tar/fontconfig-2.4.1/fc-arch'</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make[2]: Leaving directory `/home/fountain/Desktop/tar/fontconfig-
2.4.1/fc-arch'</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">Making all in src</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make[2]: Entering directory `/home/fountain/Desktop/tar/fontconfig-
2.4.1/src'</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make all-am</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make[3]: Entering directory `/home/fountain/Desktop/tar/fontconfig-
2.4.1/src'</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">/bin/sh ../libtool --tag=CC --mode=link arm-9tdmi-linux-gnu-gcc -g -O2 -L /home/fountain/Desktop/install/lib -o <a href="http://libfontconfig.la/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
libfontconfig.la</a> -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</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">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</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 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</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">collect2: ld returned 1 exit status
</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make[3]: *** [<a href="http://libfontconfig.la/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">libfontconfig.la</a>] Error 1
</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">
make[3]: Leaving directory `/home/fountain/Desktop/tar/fontconfig-2.4.1/src'</span><span class="q"><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make[2]: *** [all] Error 2</span><br style="color: rgb(204, 0, 0);">
</span>
<span style="color: rgb(204, 0, 0);">make[2]: Leaving directory `/home/fountain/Desktop/tar/fontconfig-2.4.1/src'</span><span class="q"><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">make[1]: *** [all-recursive] Error 1
</span><br style="color: rgb(204, 0, 0);"></span><span style="color: rgb(204, 0, 0);">make[1]: Leaving directory `/home/fountain/Desktop/tar/fontconfig-2.4.1'</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">
make: *** [all] Error 2<br><span style="color: rgb(0, 0, 0);">I have try a lot...From net i do not get much help...So am sending email here again.....<br><br>Please advice me...<br>thanks<br>Sina<br></span></span>