i am trying to upgrade to 2.4.17 linux kernal and i can not for the life of me figure out why i am unable to compile. i get this as an error everytime.
 
gcc -D__KERNEL__ -I/usr/src/linux-2.4.17/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586    -c -o swap_state.o swap_state.c
In file included from /usr/src/linux-2.4.17/include/linux/coda_fs_i.h:14,
                 from /usr/src/linux-2.4.17/include/linux/fs.h:303,
                 from /usr/src/linux-2.4.17/include/linux/capability.h:17,
                 from /usr/src/linux-2.4.17/include/linux/binfmts.h:5,
                 from /usr/src/linux-2.4.17/include/linux/sched.h:9,
                 from /usr/src/linux-2.4.17/include/linux/mm.h:4,
                 from swap_state.c:10:
/usr/src/linux-2.4.17/include/linux/coda.h:760: variable-size type declared outside of any function
make[2]: *** [swap_state.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.17/mm'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.17/mm'
make: *** [_dir_mm] Error 2
I would like some info from somebody as to what the F$%# is happening
 
the command i use to compile is   make dep && make bzImage && make modules && make modules_install && make install
 
Anyhelp would be appreciated (even if it is a you are screwed) thanks
 
Chris

Reply via email to