Just been compiling new kernel in Redhat 6
Current kernel 2.2.5
Trying 2.3.29, mainly for the USB development stuff.
I've followed the normal procedure for compiling new kernels & get through the config ok.
then when i go to "make dep" I get the following error:
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c
scripts/mkdep.c:23: ctype.h: No such file or directory
scripts/mkdep.c:24: stdio.h: No such file or directory
scripts/mkdep.c:25: stdlib.h: No such file or directory
scripts/mkdep.c:26: string.h: No such file or directory
scripts/mkdep.c:27: unistd.h: No such file or directory
scripts/mkdep.c:29: sys/fcntl.h: No such file or directory
scripts/mkdep.c:30: sys/mman.h: No such file or directory
scripts/mkdep.c:31: sys/stat.h: No such file or directory
scripts/mkdep.c:32: sys/types.h: No such file or directory
make: *** [scripts/mkdep] Error 1
Funny part is, these files do exist in the path that it is looking for. The script actually points there! All the symlinks etc are ok, have checked all that.
And yes, I do have the latest versions of required packages :o)
(this is the first time I've compiled a new kernel on this installation of RH 6. Previously I was running RH 5.2 & compiled at least 3 kernels with good success)