Make sure, you have ft2build.h in your include path. Prior to building fontconfig, build and install freetype.<br><br>- Mughilan.R<br><br><b><i>"Shyjumon N." <shyjumon.n@ttec.soc-soft.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> <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> <!-- Converted from text/plain format --> <div><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> </div> _______________________________________________<br>xorg mailing list<br>xorg@lists.freedesktop.org<br>http://lists.freedesktop.org/mailman/listinfo/xorg</blockquote><br><p>
<hr size=1>It's here! Your new message!<br>Get
<a href="http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/"> new email alerts</a> with the free <a href="
http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/">Yahoo! Toolbar.</a>