kernel 2.6.1 make error
Hi, I was all set to compile my kernel (2.6.1) when I got this error:
HOSTCC scripts/fixdep In file included from /usr/include/bits/posix1_lim.h:126, from /usr/include/limits.h:144, from /usr/lib/gcc-lib/i486-slackware-linux/3.3.2/include/limits.h:122, from /usr/lib/gcc-lib/i486-slackware-linux/3.3.2/include/syslimits.h:7, from /usr/lib/gcc-lib/i486-slackware-linux/3.3.2/include/limits.h:11, from scripts/fixdep.c:105: /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory In file included from /usr/include/netinet/in.h:212, from scripts/fixdep.c:107: /usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory scripts/fixdep.c: In function 'use_config': scripts/fixdep.c:193: error: 'PATH_MAX' undeclared (first use in this function) scripts/fixdep.c:193: error: (Each undeclared identify is reported only once scripts/fixdep.c:193: error: for each function it appears in.) scripts/fixdep.c:193: warning: unused variable 's' scripts/fixdep.c: In function 'parse_dep_file': scripts/fixdep.c:289: error: 'PATH_MAX' undeclared (first use in this function) scripts/fixdep.c:289: warning: unused variable 's' make[1]: *** [scripts/fixdep] Error 1 make: *** [scripts/fixdep] Error 2 So far I have had to swaret gcc and make to compile the kernel which is no troubles as I like to install the bare minimum at first then install the rest later. But I was wondering whether I might not have not installed something that is needed also to compile the kernel. If anyone can offer some advice or has some suggestion that would be great. Thanks |
You seem to be missing some of the kernel header files, wich are pretty essential for compiling the kernel. Try reinstalling the sources, if that doesn't work, download them again and install.
And if it still doesn't work, take two aspirins and call me in the morning =) |
Yeh it was just the kernel-headers and ncurses I had to install. Thanks
|
Quote:
I have the same problem. Thanks. (my linux knowledge is very poor) |
All times are GMT -5. The time now is 11:30 AM. |