<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
HI<br>I am trying to cross compile fontconfig<br>This is my configure <br><br>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/"<br><br>Configure is ok. When i make it, i get this error<br><br>make[3]: Leaving directory `/home/jjon/Desktop/fontconfig-2.4.2/src'<br>make[2]: Leaving directory `/home/jjon/Desktop/fontconfig-2.4.2/src'<br>Making all in fc-cache<br>make[2]: Entering directory `/home/jjon/Desktop/fontconfig-2.4.2/fc-cache'<br>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 &nbsp;&nbsp;&nbsp; -Wmissing-prototypes -Wmissing-declarations &nbsp;&nbsp;&nbsp; -Wnested-externs -fno-strict-aliasing&nbsp;&nbsp;&nbsp; -g -O2 -MT fc-cache.o -MD -MP -MF ".deps/fc-cache.Tpo" -c -o fc-cache.o fc-cache.c; \<br>&nbsp;&nbsp;&nbsp; then mv -f ".deps/fc-cache.Tpo" ".deps/fc-cache.Po"; else rm -f ".deps/fc-cache.Tpo"; exit 1; fi<br>/bin/bash ../libtool --tag=CC --mode=link arm-linux-gcc&nbsp; -g -O2&nbsp;&nbsp; -o fc-cache&nbsp; fc-cache.o -L/opt/crosstool/lib -lfreetype -L/opt/crosstool/lib/&nbsp; ../src/libfontconfig.la <br>mkdir .libs<br>arm-linux-gcc -g -O2 -o .libs/fc-cache fc-cache.o&nbsp; -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<br>../src/.libs/libfontconfig.so: undefined reference to `xmlCreatePushParserCtxt'<br>../src/.libs/libfontconfig.so: undefined reference to `xmlSAX2GetLineNumber'<br>../src/.libs/libfontconfig.so: undefined reference to `xmlParseChunk'<br>../src/.libs/libfontconfig.so: undefined reference to `xmlCtxtGetLastError'<br>../src/.libs/libfontconfig.so: undefined reference to `xmlFreeParserCtxt'<br>collect2: ld returned 1 exit status<br>make[2]: *** [fc-cache] Error 1<br>make[2]: Leaving directory `/home/jjon/Desktop/fontconfig-2.4.2/fc-cache'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/home/jjon/Desktop/fontconfig-2.4.2'<br>make: *** [all] Error <br><br>I had made libxml2 in /opt/crosstool/ , is my setting error?<br><br>attach my Makefile<br><br>Please tell me how to solve this problem<br><br>Thank you<br>                                               <br /><hr />Hotmail: Powerful Free email with security by Microsoft. <a href='https://signup.live.com/signup.aspx?id=60969' target='_new'>Get it now.</a></body>
</html>