Slackware 9 kernel compile problem
First off, I installed Slackware 9 from the ISO, which does not include the kernel source. I downloaded the kernel source packages, installed them using pkgtool, and then configured the kernel. When I do make dep, I get the following error:
blah@darkstar:/usr/src/linux# make dep 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/i386-slackware-linux/3.2.2/include/limits.h:132, from /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/syslimits.h:7, from /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/limits.h:11, from scripts/mkdep.c:35: /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory scripts/mkdep.c: In function `add_path': scripts/mkdep.c:221: `PATH_MAX' undeclared (first use in this function) scripts/mkdep.c:221: (Each undeclared identifier is reported only once scripts/mkdep.c:221: for each function it appears in.) scripts/mkdep.c:221: warning: unused variable `resolved_path' make: *** [scripts/mkdep] Error 1 I was wondering which packages I need to install to correct this error. Comments are much appereciated. :) |
I suggest you to download the tar.gz or tar.bz2 from http://ftp.kernel.org.
Then untar/bzip it in your home directory and things should work. Don't compile the kernel in /usr/src/linux as described in the README. HTH mandeltuete |
I found the problem. Something messed up when I downloaded the slack 9.0 iso. I redownloaded the ISO, and reinstalled slack, and now everything works fine. Doh :eek:
|
All times are GMT -5. The time now is 08:40 AM. |