Cross compilation error in X11R6.7.0

Mughilan Ramajayam mughirp at yahoo.com
Mon Mar 26 19:04:10 PDT 2007


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/20070326/334dc1c8/attachment.html>


More information about the xorg mailing list