Hi, I've encountered a problem today while trying to build X 4 from source, with adapted Matrox driver from the Matrox site (I have a G450). I've posted this already to this list as a CC from a mail to a xfree86 mailing list, but now I'm fairly certain it's a Debian-specific problem, since I've succesfully build the debian source with modified matrox mga driver using 'make World'. The error only seems to show up when I use 'debian/rules build', which is rather odd. Anyway, here is the error message again, maybe someone knows why the build fails using the debian build process, and continuous using the 'normal' build process? (the error is obviously also encountered, but it doesn't cause the build process to fail).
make[5]: Entering directory `/usr/src/xfree86-4.0.2/build-tree/xc/lib/Xft' rm -f xftcfg.o gcc -c -O2 -fno-strength-reduce -g -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -I/usr/include/freetype2 -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 -DXFT_DEFAULT_PATH=\"/etc/X11/XftConfig\" -DFREETYPE2 xftcfg.c In file included from xftint.h:30, from xftcfg.c:28: XftFreetype.h:34: parse error before `_XftFTlibrary' XftFreetype.h:34: warning: type defaults to `int' in declaration of `_XftFTlibrary' XftFreetype.h:34: ANSI C forbids data definition with no type or storage class XftFreetype.h:37: parse error before `FT_Face' XftFreetype.h:37: warning: no semicolon at end of struct or union XftFreetype.h:53: parse error before `}' XftFreetype.h:53: warning: ANSI C does not allow extra `;' outside of a function make[5]: *** [xftcfg.o] Error 1 make[5]: Leaving directory `/usr/src/xfree86-4.0.2/build-tree/xc/lib/Xft' make[4]: *** [all] Error 2 Thanks for helping out! -- Frederik Vanrenterghem