Cross compilation error in X11R6.7.0
Shyjumon N.
shyjumon.n at ttec.soc-soft.com
Mon Mar 26 22:47:25 PDT 2007
Dear Mughilan Ramajayam,
Thanks for your help.
I have ft2build.h in my include path and also i have installed freetype.
Let me show you my error while that i am getting while cross compiling fontconfig.
Please read the following. Something related to hardwarefp and softwarefp i am not sure about this things.
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/fcstr.o .libs/fcxml.o .libs/ftglue.o -L/opt/tinyx-gtk/lib /opt/tinyx-gtk/lib/libfreetype.a -lz -Wl,-soname -Wl,libfontconfig.so.1 -o .libs/libfontconfig.so.1.0.4
/root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: ERROR: /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/crtendS.o uses FPA instructions, whereas .libs/libfontconfig.so.1.0.4 does not
/root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: ERROR: /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/crtendS.o uses hardware FP, whereas .libs/libfontconfig.so.1.0.4 uses software FP
File format not recognized: failed to merge target specific data of file /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/crtendS.o
/root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: ERROR: /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/lib/crtn.o uses FPA instructions, whereas .libs/libfontconfig.so.1.0.4 does not
/root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: ERROR: /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/lib/crtn.o uses hardware FP, whereas .libs/libfontconfig.so.1.0.4 uses software FP
File format not recognized: failed to merge target specific data of file /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/lib/crtn.o
collect2: ld returned 1 exit status
gmake[2]: *** [libfontconfig.la] Error 1
gmake[2]: Leaving directory `/root/softwares/tinyx_gtk+res/fontconfig-2.3.93/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/root/softwares/tinyx_gtk+res/fontconfig-2.3.93'
gmake: *** [all] Error 2
Any clues ?
Make sure, you have ft2build.h in your include path. Prior to building fontconfig, build and install freetype.
- Mughilan.R
"Shyjumon N." <shyjumon.n at ttec.soc-soft.com> wrote: Cross compilation error in X11R6.7.0 Hi Group,
Greetings from my side.
I am new to this group. As i am trying to cross compiling xlibraries (Want to do tinyX), for gtk+, for arm9 processors. I am able to cross compile (after making lot of changes in both source and makefiles), but my problem is when i am trying to install with fonts (in config/cf/host.def with option BuildFonts YES), i am getting the following errors. Is there any body did cross compilation of xlibs for arm or any one come across this situation please comment on the following errors.
Thanks a lot.
/root/crslib/arm/3.3.1/bin/`echo gcc|sed "s%.*/%%"` -c -O3 -fsigned-char -I/opt/tinyx-gtk/include/freetype2/include -I/opt/tinyx-gtk/include/freetype2/include/freetype2 -I/opt/tinyx-gtk/include/freetype2/include/freetype2/config -I../../extras/fontconfig/src -I../../extras/fontconfig -I../../exports/include/X11 -I../.. -I../../exports/include -Dlinux -D__arm__ -D__arm32__ -U__arm -Uarm -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DFC_DEFAULT_FONTS='""' -DHAVE_EXPAT -DXFREE86_FT2 -DFONTCONFIG_PATH='"/etc/fonts"' -DXVENDORNAME='"The X.Org Foundation"' -DXVENDORNAMESHORT='"X.Org"' -fPIC fcatomic.c
In file included from ../../extras/fontconfig/src/fcint.h:39,
from fcatomic.c:50:
../../extras/fontconfig/fontconfig/fcfreetype.h:27:22: ft2build.h: No such file or directory
../../extras/fontconfig/fontconfig/fcfreetype.h:28:10: #include expects "FILENAME" or <FILENAME>
In file included from ../../extras/fontconfig/src/fcint.h:39,
from fcatomic.c:50:
../../extras/fontconfig/fontconfig/fcfreetype.h:31: error: parse error before "FcFreeTypeCharIndex"
../../extras/fontconfig/fontconfig/fcfreetype.h:31: error: parse error before "face"
../../extras/fontconfig/fontconfig/fcfreetype.h:31: warning: data definition has no type or storage class
../../extras/fontconfig/fontconfig/fcfreetype.h:34: error: parse error before "face"
../../extras/fontconfig/fontconfig/fcfreetype.h:37: error: parse error before "face"
../../extras/fontconfig/fontconfig/fcfreetype.h:40: error: parse error before "FT_Face"
../../extras/fontconfig/fontconfig/fcfreetype.h:43: error: parse error before "f"
In file included from fcatomic.c:50:
../../extras/fontconfig/src/fcint.h:497: error: parse error before "encoding"
make[3]: *** [fcatomic.o] Error 1
make[3]: Leaving directory `/root/softwares/tinyx_gtk+res/Ztar_res/xc/lib/fontconfig'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/root/softwares/tinyx_gtk+res/Ztar_res/xc/lib'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/root/softwares/tinyx_gtk+res/Ztar_res/xc'
make: *** [install] Error 2
With regds,
Shyjumon N
Mobile: +91-9945006965
_______________________________________________
xorg mailing list
xorg at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg
---------------------------------
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20070327/651f24ba/attachment.html>
More information about the xorg
mailing list