<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>Cross compilation error in X11R6.7.0</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hi Group,<BR>
Greetings from my side.<BR>
<BR>
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.<BR>
Thanks a lot.<BR>
<BR>
<BR>
/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<BR>
In file included from ../../extras/fontconfig/src/fcint.h:39,<BR>
from fcatomic.c:50:<BR>
../../extras/fontconfig/fontconfig/fcfreetype.h:27:22: ft2build.h: No such file or directory<BR>
../../extras/fontconfig/fontconfig/fcfreetype.h:28:10: #include expects "FILENAME" or <FILENAME><BR>
In file included from ../../extras/fontconfig/src/fcint.h:39,<BR>
from fcatomic.c:50:<BR>
../../extras/fontconfig/fontconfig/fcfreetype.h:31: error: parse error before "FcFreeTypeCharIndex"<BR>
../../extras/fontconfig/fontconfig/fcfreetype.h:31: error: parse error before "face"<BR>
../../extras/fontconfig/fontconfig/fcfreetype.h:31: warning: data definition has no type or storage class<BR>
../../extras/fontconfig/fontconfig/fcfreetype.h:34: error: parse error before "face"<BR>
../../extras/fontconfig/fontconfig/fcfreetype.h:37: error: parse error before "face"<BR>
../../extras/fontconfig/fontconfig/fcfreetype.h:40: error: parse error before "FT_Face"<BR>
../../extras/fontconfig/fontconfig/fcfreetype.h:43: error: parse error before "f"<BR>
In file included from fcatomic.c:50:<BR>
../../extras/fontconfig/src/fcint.h:497: error: parse error before "encoding"<BR>
make[3]: *** [fcatomic.o] Error 1<BR>
make[3]: Leaving directory `/root/softwares/tinyx_gtk+res/Ztar_res/xc/lib/fontconfig'<BR>
make[2]: *** [install] Error 2<BR>
make[2]: Leaving directory `/root/softwares/tinyx_gtk+res/Ztar_res/xc/lib'<BR>
make[1]: *** [install] Error 2<BR>
make[1]: Leaving directory `/root/softwares/tinyx_gtk+res/Ztar_res/xc'<BR>
make: *** [install] Error 2<BR>
<BR>
<BR>
With regds,<BR>
<BR>
<BR>
<BR>
Shyjumon N<BR>
Mobile: +91-9945006965<BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>