fontconfig-2.2.3 cross compilation error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,
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....
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-

Error:
make  all-recursive
make[1]: Entering directory `/home/sina/Desktop/extract/fontconfig-2.2.3'
Making all in fontconfig
make[2]: Entering directory `/home/sina/Desktop/extract/fontconfig-2.2.3/fontconfig'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sina/Desktop/extract/fontconfig- 2.2.3/fontconfig'
Making all in fc-lang
make[2]: Entering directory `/home/sina/Desktop/extract/fontconfig-2.2.3/fc-lang'
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" \
  -c -o fc-lang.o `test -f 'fc-lang.c' || echo './'`fc-lang.c; \
then mv -f ".deps/fc-lang.Tpo" ".deps/fc-lang.Po"; \
else rm -f ".deps/fc- lang.Tpo"; exit 1; \
fi
In file included from ../fontconfig/fcfreetype.h:27,
                 from ../src/fcint.h:39,
                 from fc-lang.c:25:
/home/sina/Desktop/install/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
In file included from ../src/fcint.h:39,
                 from fc-lang.c:25:
../fontconfig/fcfreetype.h:28:10: error: #include expects "FILENAME" or <FILENAME>
In file included from ../src/fcint.h:39,
                 from fc-lang.c:25:
../fontconfig/fcfreetype.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'FcFreeTypeCharIndex'
../fontconfig/fcfreetype.h:34: error: expected ')' before 'face'
../fontconfig/fcfreetype.h:37: error: expected ')' before 'face'
../fontconfig/fcfreetype.h:40: error: expected declaration specifiers or '...' before 'FT_Face'
../fontconfig/fcfreetype.h:43: error: expected ';', ',' or ')' before 'f'
In file included from fc-lang.c:25:
../src/fcint.h:497: error: expected ')' before 'encoding'
make[2]: *** [fc-lang.o] Error 1
make[2]: Leaving directory `/home/sina/Desktop/extract/fontconfig- 2.2.3/fc-lang'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sina/Desktop/extract/fontconfig-2.2.3'
make: *** [all] Error 2



Before make command i  had been export two enviroment verriable CPFLAGS and LDFLAGS..I could not under stand why ftheader.h do not found....
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...?
Thanks
Sina





_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux