Click to See Complete Forum and Search --> : Kernel Compilin' Woes


berb
02-26-2001, 06:06 PM
Hey, having decided to upgrade to 2.4.2 I did everything OK (I think - I used make oldconfig) until I tries to make bzimage and make modules :
root@toto:/usr/src/linux-2.4.2/2.4.2/linux# make bzdisk
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c
In file included from /usr/include/errno.h:36,
from scripts/split-include.c:26:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
make: *** [scripts/split-include] Error 1

root@toto:/usr/src/linux-2.4.2/2.4.2/linux# make bzdisk
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c
In file included from /usr/include/errno.h:36,
from scripts/split-include.c:26:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
make: *** [scripts/split-include] Error 1

root@toto:/usr/src/linux-2.4.2/2.4.2/linux# make bzimage
make: *** No rule to make target `bzimage'. Stop.
root@toto:/usr/src/linux-2.4.2/2.4.2/linux# exit
exit

Script done on Mon Feb 26 16:58:29 2001


any help? I'm running slack 7.1, 2.2.16 (I think) on a Athlon 800.

berb
02-27-2001, 03:08 AM
push to top

SNOT
02-27-2001, 04:38 AM
sorry can't help you, but i had those same problems. I wanted to experiment so i tried to compile and install the 2.4.2 kernel.

same kind of errors you had, err, have.

SNOT
02-27-2001, 04:55 AM
sorry can't help you, but i had those same problems. I wanted to experiment so i tried to compile and install the 2.4.2 kernel.

same kind of errors you had, err, have.

berb
02-27-2001, 05:48 AM
Solved my own problem, ain't Google great.
needed :
ln -s /usr/src/linux/2.4.2/linux/include/asm /usr/include/asm
and
ln -s /usr/src/linux/2.4.2/linux/include/linux /usr/include/linux

I think this is a Slackware problem.

But, new kernel doesn't work still - problem with oldconfig and USB support - looks like I have to do it the hard way!