failing to cross compile fontconfig

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HI
This is probably clueless - newbie question, but searching the list archive doesn't help
I am tryinf to cross compile fontconfig 2.60 on arm linux
i configure with

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=/opt/crosstool/lib/

configure is OK, but want i make it, I get this error

arm-linux-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  -Wl,--rpath -Wl,/opt/crosstool/lib -Wl,--rpath -Wl,/opt/crosstool/lib -L/opt/crosstool/lib /opt/crosstool/lib/libf reetype.so  -Wl,-soname -Wl,libfontconfig.so.1 -o .libs/libfontconfig.so.1.2.0
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: ERROR: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/libgcc.a(_udivsi3.oS) uses FPA instructions, whereas .libs/libfontconfig.so.1.2.0 does not
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: ERROR: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/libgcc.a(_udivsi3.oS) uses hardware FP, whereas .libs/libfontconfig.so.1.2.0 uses software FP
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: failed to merge target specific data of file /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/libgcc.a(_udivsi3.oS)
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: ERROR: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/libgcc.a(_divsi3.oS) uses FPA instructions, whereas .libs/libfontconfig.so.1.2.0 does not
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/.. /../../../arm-linux/bin/ld: ERROR: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/libgcc.a(_divsi3.oS) uses hardware FP, whereas .libs/libfontconfig.so.1.2.0 uses software FP
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: failed to merge target specific data of file /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/libgcc.a(_divsi3.oS)
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: ERROR: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/libgcc.a(_umodsi3.oS) uses FPA instructions, whereas .libs/libfontconfig.so.1.2.0 does not
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: ERROR: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/libgcc.a(_umodsi3.oS) uses hardware FP, whereas .libs/libfontconfig.so.1.2.0 uses software FP
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: failed to merge target specific data of file /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/libgcc.a(_umod si3.oS)
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: ERROR: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/libgcc.a(_modsi3.oS) uses FPA instructions, whereas .libs/libfontconfig.so.1.2.0 does not
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: ERROR: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/libgcc.a(_modsi3.oS) uses hardware FP, whereas .libs/libfontconfig.so.1.2.0 uses software FP
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: failed to merge target specific data of file /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/libgcc.a(_modsi3.oS)
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: ERROR: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/libgcc.a(_dvmd_lnx.oS) uses FPA instructions, whereas .libs/libfontconfig.so.1.2.0 does not
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: ERROR: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4 .1/libgcc.a(_dvmd_lnx.oS) uses hardware FP, whereas .libs/libfontconfig.so.1.2.0 uses software FP
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: failed to merge target specific data of file /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/libgcc.a(_dvmd_lnx.oS)
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: ERROR: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libgcc_s.so uses FPA instructions, whereas .libs/libfontconfig.so.1.2.0 does not
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: ERROR: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libgcc_s.so uses hardware FP, whereas .libs/libfontconfig.so.1.2.0 uses software FP
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: failed to merge target specific data of file /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libgcc_s.so
/usr/local/arm /3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: ERROR: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libc.so.6 uses FPA instructions, whereas .libs/libfontconfig.so.1.2.0 does not
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: ERROR: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libc.so.6 uses hardware FP, whereas .libs/libfontconfig.so.1.2.0 uses software FP
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: failed to merge target specific data of file /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libc.so.6
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: ERROR: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libgcc_s.so uses FPA instructions, whereas .libs/libfontconfig.so.1.2.0 does not
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: ERROR: /usr/lo cal/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libgcc_s.so uses hardware FP, whereas .libs/libfontconfig.so.1.2.0 uses software FP
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: failed to merge target specific data of file /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libgcc_s.so
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: ERROR: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/crtendS.o uses FPA instructions, whereas .libs/libfontconfig.so.1.2.0 does not
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: ERROR: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/crtendS.o uses hardware FP, whereas .libs/libfontconfig.so.1.2.0 uses software FP
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: failed to merge target specific data of file /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/crtendS.o
/usr/local/arm/3.4.1/lib/gcc/arm- linux/3.4.1/../../../../arm-linux/bin/ld: ERROR: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/crtn.o uses FPA instructions, whereas .libs/libfontconfig.so.1.2.0 does not
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: ERROR: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/crtn.o uses hardware FP, whereas .libs/libfontconfig.so.1.2.0 uses software FP
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: failed to merge target specific data of file /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/crtn.o
collect2: ld returned 1 exit status
make[3]: *** [libfontconfig.la] Error 1
make[3]: Leaving directory `/home/jjon/Desktop/fontconfig-2.4.2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/jjon/Desktop/fontconfig-2.4.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jjon/Desktop/fontconfig- 2.4.2'
make: *** [all] Error 2

Can to tell me how to sovle this error?

Thank you


Hotmail: Free, trusted and rich email service. Get it now.
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux