It's been a while since I tried compiling the kernel (The last time was under Woody, last year) and now that I'd installed Sarge I thought I'd have a go again. Unfortunately it didn't go so well this time...
mm/mm.o(.text+0x6ae6): In function `do_mremap':
: undefined reference to `unlikely'
make: *** [vmlinux] Error 1
make: Leaving directory `/usr/src/kernel-source-2.4.16'
make: *** [stamp-build] Error 2
Not sure what the problem is. I've checked the headers included in mm.c and unlikely is there (in complier.h). I also know this worked under Woody, which suggests something has changed. Installing gcc-2.95 got rid of some earlier parse errors, do I need anything else?