Compilation problem in fcfreetype.c
k_guillaume at libertysurf.fr
Tue Sep 14 22:01:06 PDT 2004
I've got this compilation problem when trying to build X11R6.8.0 on a Debian Woody (gcc is gcc-3.0.4) :
gcc -c -O2 -fno-strength-reduce -ansi -pedantic -Wall -Wpointer-arith -Wundef -I/usr/include/freetype2 -I/usr/include/freetype2/config -I../../extras/fontconfig/src -I../../extras/fontconfig -I../../exports/include/X11 -I../.. -I../../exports/include -Dlinux -D__i386__ -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"' -fPIC fcfreetype.c
fcfreetype.c: In function `FcVendorFoundry':
fcfreetype.c:253: warning: pointer targets in passing arg 2 of `FcVendorMatch' differ in signedness
fcfreetype.c: In function `FcFreeTypeQuery':
fcfreetype.c:279: `PS_FontInfoRec' undeclared (first use in this function)
fcfreetype.c:279: (Each undeclared identifier is reported only once
fcfreetype.c:279: for each function it appears in.)
fcfreetype.c:279: parse error before "psfontinfo"
fcfreetype.c:333: warning: pointer targets in passing arg 1 of `FcVendorFoundry' differ in signedness
fcfreetype.c:568: warning: pointer targets in passing arg 1 of `FcNoticeFoundry' differ in signedness
fcfreetype.c:738: warning: implicit declaration of function `FT_Get_PS_Font_Info'
fcfreetype.c:738: `psfontinfo' undeclared (first use in this function)
make: *** [fcfreetype.o] Error 1
make: Leaving directory `/home/xilun/incoming/X.org/box/lib/fontconfig'
I'm not sure this is a bug, because I remember I installed some custom packages I built myself related to fonts under X on my Debian Woody, so maybe I made something wrong then ?
Anyway is that normal that the X.org build access to includes files of the host system ? I couldn't find anything related to dependencies in the Build Directions...
Thanks in advance,
More information about the xorg