[Fontconfig] corss compile fontconfig error

ON JJ jjon1985 at hotmail.com
Sat Mar 13 00:41:02 PST 2010


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 -lxml2 -lm"

configure is ok. But when i make it, I get this error

make[2]: Entering directory `/home/jjon/Desktop/fontconfig-2.8.0/fc-cache'
  CC     fc-cache.o
  CCLD   fc-cache
../src/.libs/libfontconfig.so: undefined reference to `libiconv_open'
../src/.libs/libfontconfig.so: undefined reference to `libiconv_close'
../src/.libs/libfontconfig.so: undefined reference to `libiconv'
collect2: ld returned 1 exit status

Please tell me how to slove this problem

Thank you
 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20100313/612b3741/attachment.html>


More information about the Fontconfig mailing list