What version of gcc are you running? what steps have you taken? Did you do a make mrproper menuconfig dep clean bzImage modules?? I've compiled the 2.4 series on potato and woody and never seen this. Have you upgraded all the necessary packages mentioned in /usr/src/linux/Documentation/Changes??
Jason > > Hi all > > I'm trying to compile the latest kernel, and am getting a > compile error: > > > > gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.1/include -Wall > -Wstrict-prototypes -O2 -fomit-frame-pointer > -fno-strict-aliasing -pipe > -mpreferred-stack-boundary=2 -march=i686 -c -o init/main.o > init/main.c > > In file included from > /usr/src/kernel-source-2.4.1/include/linux/wait.h:13, > from > /usr/src/kernel-source-2.4.1/include/linux/fs.h:12, > from > /usr/src/kernel-source-2.4.1/include/linux/capability.h:17, > from > /usr/src/kernel-source-2.4.1/include/linux/binfmts.h:5, > from > /usr/src/kernel-source-2.4.1/include/linux/sched.h:9, > from > /usr/src/kernel-source-2.4.1/include/linux/mm.h:4, > > from > /usr/src/kernel-source-2.4.1/include/linux/slab.h:14, > from > /usr/src/kernel-source-2.4.1/include/linux/malloc.h:4, > from > /usr/src/kernel-source-2.4.1/include/linux/proc_fs.h:5, > from init/main.c:15: > /usr/src/kernel-source-2.4.1/include/linux/kernel.h:131: parse error > make[1]: *** [init/main.o] Error 1 > make[1]: Leaving directory `/usr/src/kernel-source-2.4.1' > make: *** [stamp-build] Error 2 > > > has anyone else had this problem? > > Richard > ÿôèPÔ > ÿzf¢Úy¸û¬z¿ëz«²ßåËlýשÿ¢¸0ØZ²æãyËhû§²æìr¸{ÿÓ®ï > ¢{ZrÙb²Ù²×«þX¬¶ÏÝy¸ú+ >