Ok I tried to complie my first kernel ok well i tried and it didnt work so im hoping u guys can help me out here. Ok first of all i went to
http://www.kernel.org and download linux-2.6.0-test6.tar.gz i wasnt sure if this is the right one. Anyways i did gzip -cd linux-2.6.0-test6.tar.gz | tar xfv - and then it started doing all this stuff. Oh and before i started all this i added this to my lilo conf:
image = /boot/vmlinuz.old
root = /dev/hda1
label = slack.old
read-only
then after that was done i started all that. Ok now were at when it finished unziping it then i did:
cd /usr/include
rm -rf asm linux scsi
ln -s /usr/src/linux/include/asm-i386 asm
ln -s /usr/src/linux/include/linux linux
ln -s /usr/src/linux/include/scsi scsi
but for some reason the last three lines had trouble i dunno??? anyways it wasnt in the kernel complieing guide at the top of this forum so it didnt concen me much. So i did this:
cd /usr/src/linux
make mrproper
then i tried make config and i got alot of errors:
root@DarkPunk:/usr/src/linux-2.6.0-test6# make config
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.2.3/include/limits.h:132,
from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/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: `PATH_MAX' undeclared (first use in this function)
scripts/fixdep.c:193: (Each undeclared identifier is reported only once
scripts/fixdep.c:193: 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: `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
root@DarkPunk:/usr/src/linux-2.6.0-test6#
then for make menuconfig i get this:
root@DarkPunk:/usr/src/linux-2.6.0-test6# make menuconfig
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.2.3/include/limits.h:132,
from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/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: `PATH_MAX' undeclared (first use in this function)
scripts/fixdep.c:193: (Each undeclared identifier is reported only once
scripts/fixdep.c:193: 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: `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
root@DarkPunk:/usr/src/linux-2.6.0-test6#
I dunno why im getting these errors can anyone help me out plz. Also im not too sure if i downloaded the right kernel i have the one that came with slack 9.0 and using swaret i upgrade my packs. but it excluded the kernel. PLZ HELP ME!!!!!!
THANX
Matt3333