Kernel Won't Compile For i586 machine
I'm trying to build a custom 2.4.18 kernel for my LFS distro b/ it won't compile for my i586 machine. I run the make mrproper && make menuconfig and get to the make dep and receive this message-->
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c
In file included from /usr/include/bits/posix1_lim.h:126,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.3/include/limits.h:177,
from /usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.3/include/syslimits.h:7,
from /usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.3/include/limits.h:11,
from scripts/mkdep.c:35:
/usr/include/bits/local_lim.h:36: linux/limits.h: No such file or directory
make: *** [scripts/mkdep] Error 1
If you have any idea how to fix this problem please respond to this post.
|