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>
mpsuzuki at hiroshima-u.ac.jp
2010-Mar-13 14:16 UTC
[Fontconfig] corss compile fontconfig error
On Sat, 13 Mar 2010 08:41:02 +0000 ON JJ <jjon1985 at hotmail.com> wrote:>../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''post 2 files: 1) config.log 2) output by "make V=1"