> So, you didn't clean the sourcetree after the last try with the debian > setup, before doing make World? Then > > make World > cd your_toplevel_that_includes_debian > touch debian/stampdir/build > debian/rules binary
I tried this (now with 4.0.2-3), but the error seems to remain the same: What I did was: debian/rules source.make cd /xc/programs/Xserver/hw/xfree86/drivers mv mga mga_old tar xvzf mga-1_01_05beta.tgz (to replace mga with the matrox drivers from Matrox) cd /xc/config/cf cp xf86site.def host.def I've edited host.def to include #define HaveMatroxHal YES, and also, I removed some of the drivers I will not be needing. After all this, I did make World, followed by touch debian/stampdir/build and debian/rules binary This is the error message I got: 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[4]: *** [xftcfg.o] Error 1 make[4]: Leaving directory `/usr/src/xfree86-4.0.2/build-tree/xc/lib/Xft' make[3]: *** [install] Error 2 make[3]: Leaving directory `/usr/src/xfree86-4.0.2/build-tree/xc/lib' make[2]: *** [install] Error 2 make[2]: Leaving directory `/usr/src/xfree86-4.0.2/build-tree/xc' make[1]: *** [install] Error 2 make[1]: Leaving directory `/usr/src/xfree86-4.0.2/build-tree/xc' make: *** [debian/stampdir/install] Error 2 Any more ideas, I'd appreciate them :-) (I'm pretty sure I could just copy the generated mga drivers over the standard apt-installed drivers to get a working X 4.0.2, but I would rather compile the whole thing myself... -- "Gotcha, you snot-necked weenies!" -- Post Bros. Comics