Hi All,<br>I am trying to cross compile fontconfig-2.2.3 for making xserver from xorg....For making xserver fontconfig is a minimum requirement.But during make command i am getting this error....<br>Command: make ARCH=arm CROSS_COMPILE=/opt/crosstoolstatic,/gcc-
4.1.0-glibc-2.3.2/arm-9tdmi-linux-gnu/bin/arm-9tdmi-linux-gnu-<br><br>Error:<br><span style="color: rgb(153, 0, 0);">make all-recursive<br>make[1]: Entering directory `/home/sina/Desktop/extract/fontconfig-2.2.3'<br>
Making all in fontconfig<br>make[2]: Entering directory `/home/sina/Desktop/extract/fontconfig-2.2.3/fontconfig'<br>make[2]: Nothing to be done for `all'.<br>make[2]: Leaving directory `/home/sina/Desktop/extract/fontconfig-
2.2.3/fontconfig'<br>Making all in fc-lang<br>make[2]: Entering directory `/home/sina/Desktop/extract/fontconfig-2.2.3/fc-lang'<br>if arm-9tdmi-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I.. -I/home/sina/Desktop/freetype/include/freetype2 -I/home/sina/Desktop/freetype/include -I /home/sina/Desktop/install/include/ -I /home/sina/Desktop/install/include/ -MT
fc-lang.o -MD -MP -MF ".deps/fc-lang.Tpo" \<br> -c -o fc-lang.o `test -f 'fc-lang.c' || echo './'`fc-lang.c; \<br>then mv -f ".deps/fc-lang.Tpo" ".deps/fc-lang.Po"; \<br>else rm -f ".deps/fc-
lang.Tpo"; exit 1; \<br>fi<br>In file included from ../fontconfig/fcfreetype.h:27,<br> from ../src/fcint.h:39,<br> from fc-lang.c:25:<br>/home/sina/Desktop/install/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
<br>In file included from ../src/fcint.h:39,<br> from fc-lang.c:25:<br>../fontconfig/fcfreetype.h:28:10: error: #include expects "FILENAME" or <FILENAME><br>In file included from ../src/fcint.h:39,
<br> from fc-lang.c:25:<br>../fontconfig/fcfreetype.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'FcFreeTypeCharIndex'<br>../fontconfig/fcfreetype.h:34: error: expected ')' before 'face'
<br>../fontconfig/fcfreetype.h:37: error: expected ')' before 'face'<br>../fontconfig/fcfreetype.h:40: error: expected declaration specifiers or '...' before 'FT_Face'<br>../fontconfig/fcfreetype.h:43: error: expected ';', ',' or ')' before 'f'
<br>In file included from fc-lang.c:25:<br>../src/fcint.h:497: error: expected ')' before 'encoding'<br>make[2]: *** [fc-lang.o] Error 1<br>make[2]: Leaving directory `/home/sina/Desktop/extract/fontconfig-
2.2.3/fc-lang'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/home/sina/Desktop/extract/fontconfig-2.2.3'<br>make: *** [all] Error 2<br><br><br><br><span style="color: rgb(0, 0, 0);">Before make command i had been export two enviroment verriable CPFLAGS and LDFLAGS..I could not under stand why
ftheader.h do not found....<br>Please advice me so i will able to install fontconfig-2.2.3..should ii supply some other enviroment verriable?....If so then what is that one...?<br>Thanks<br>Sina<br></span><br><br><br><span style="color: rgb(0, 0, 0);">
</span><br></span><br>