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. |
Is it possible that you didn't call your kernel source directory "/usr/src/linux"? That can be a symlink -
$ ls -l /usr/src total 12 lrwxrwxrwx 1 root root 12 May 18 18:17 linux -> linux-2.4.18 drwxr-xr-x 14 573 573 4096 Jun 26 23:34 linux-2.4.18 $ ls -l /usr/src/linux/include/linux/limits.h -rw-r--r-- 1 573 573 765 Feb 25 14:38 /usr/src/linux/include/linux/limits.h Hope it helps, Martin |
All times are GMT -5. The time now is 11:49 AM. |