Everything seems to go okay with
however, when I try to make modules I start getting errors...
make: Entering directory `/usr/src/linux-2.4.18-6mdk/drivers/block' gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-6mdk/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.18-6mdk/include/linux/modversions.h -DKBUILD_BASENAME=loop -DEXPORT_SYMTAB -c loop.c In file included from /usr/src/linux-2.4.18-6mdk/include/asm/processor.h:13, from /usr/src/linux-2.4.18-6mdk/include/linux/prefetch.h:13, from /usr/src/linux-2.4.18-6mdk/include/linux/list.h:6, from /usr/src/linux-2.4.18-6mdk/include/linux/module.h:12, from loop.c:64: /usr/src/linux-2.4.18-6mdk/include/asm/page.h:97: invalid suffix on integer constant /usr/src/linux-2.4.18-6mdk/include/asm/page.h:97: parse error before numeric constant /usr/src/linux-2.4.18-6mdk/include/asm/page.h:97: `do_BUG_R_ver_str' declared as function returning a function/usr/src/linux-2.4.18-6mdk/include/asm/page.h:97: warning: function declaration isn't a prototype
and similar for other modules. I've tried changing a few of the modules I use but I still get errors. Using gcc-3.0.4 here, which should be okay.
The Kernel HOWTO suggests that something is wrong with the source, which is worrying since this is the source that came with the distribution. Is this the case or is there something really obvious I'm missing?