cannot get clean 2.4.20 kernel to compile
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 11 lines · George P Nychis
Hi,
I have downloaded the 2.4.20 kernel from ftp.kernel.org, have checked its sign, and no matter what I try I cannot get it to compile.
I do a make mrproper, I then do make dep which is fine, but then i try "make bzImage modules
modules_install", selecting all the defaults, and get an SMP header error:
http://rafb.net/paste/results/QzIq7v86.htmlI then disable SMP support and get:
http://rafb.net/paste/results/muYA9t12.htmlI even tried using my config from the 2.4.32 kernel which works perfectly fine, and I also get the sched errors.
What gcc version? Some old kernels might not be buildable with newer compilers.
Signature · 3 lines
Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from [email protected] Home Page: http://www.roberthancock.com/
Quoted 1 line
From the error output 1, it appears that your directory
include/asmis
not a link to include/linux. Can you check that?
Otherwise, simply delete the directory include/asm and re-compile the kernel from start; it should work.
-- Sumit
Quoted 27 lines · Robert Hancock
Quoted 11 lines · George P Nychis
Hi,
I have downloaded the 2.4.20 kernel from ftp.kernel.org, have checked its sign, and no matter what I try I cannot get it to compile.
I do a make mrproper, I then do make dep which is fine, but then i try "make bzImage modules
modules_install", selecting all the defaults, and get an SMP header error:
http://rafb.net/paste/results/QzIq7v86.htmlI then disable SMP support and get:
http://rafb.net/paste/results/muYA9t12.htmlI even tried using my config from the 2.4.32 kernel which works perfectly fine, and I also get the sched errors.
What gcc version? Some old kernels might not be buildable with newer compilers.
--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from [email protected] Home Page: http://www.roberthancock.com/-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 5 lines · Sumit Narayan
Quoted 1 line
From the error output 1, it appears that your directory
include/asmisnot a link to
include/linux. Can you check that?Otherwise, simply delete the directory
include/asmand re-compile the kernel from start; it should work.
Nope, include/asm is an expected directory (symlink) in 2.4.x build. This is what you get without out:
make: *** No rule to make target /var/linsrc/linux-2420/include/asm/param.h', needed by /var/linsrc/linux-2420/include/linux/sched.h'. Stop.
make: *** Waiting for unfinished jobs....
Quoted 16 lines · Robert Hancock
Quoted 15 lines
Quoted 11 lines · George P Nychis
Hi,
I have downloaded the 2.4.20 kernel from ftp.kernel.org, have checked its sign, and no matter what I try I cannot get it to compile.
I do a make mrproper, I then do make dep which is fine, but then i try "make bzImage modules
modules_install", selecting all the defaults, and get an SMP header error:
http://rafb.net/paste/results/QzIq7v86.htmlI then disable SMP support and get:
http://rafb.net/paste/results/muYA9t12.htmlI even tried using my config from the 2.4.32 kernel which works perfectly fine, and I also get the sched errors.
What gcc version? Some old kernels might not be buildable with newer compilers.
Signature · 1 line
~Randy
Actually that helped, i had no linux symlink, after creating it, i got alot further into the build, however now i get:
In file included from ide-cd.c:318:
ide-cd.h:440: error: long, short, signed or unsigned used invalidly for `slot_tablelen'
make[3]: *** [ide-cd.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20/drivers/ide'
Any more ideas? :)
Quoted 41 lines
From the error output 1, it appears that your directory
include/asmis not a link toinclude/linux. Can you check that?Otherwise, simply delete the directory
include/asmand re-compile the kernel from start; it should work.-- Sumit
Quoted 28 lines · Robert Hancock
Quoted 10 lines · George P Nychis
Hi,
I have downloaded the 2.4.20 kernel from ftp.kernel.org, have checked its sign, and no matter what I try I cannot get it to compile.
I do a make mrproper, I then do make dep which is fine, but then i try "make bzImage modules
modules_install", selecting all the defaults, and get an SMP header error:
http://rafb.net/paste/results/QzIq7v86.htmlQuoted 5 lines
I then disable SMP support and get:
http://rafb.net/paste/results/muYA9t12.htmlI even tried using my config from the 2.4.32 kernel which works perfectly fine, and I also get the sched errors.
What gcc version? Some old kernels might not be buildable with newer compilers.
-- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam"
from [email protected] Home Page: http://www.roberthancock.com/- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
I see...
here is my gcc version:
gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
Is it too new?
Thanks!
George
Quoted 24 lines
Quoted 9 lines · George P Nychis
Hi,
I have downloaded the 2.4.20 kernel from ftp.kernel.org, have checked its sign, and no matter what I try I cannot get it to compile.
I do a make mrproper, I then do make dep which is fine, but then i try "make bzImage modules
modules_install", selecting all the defaults, and get an SMP header error: http://rafb.net/paste/results/QzIq7v86.htmlQuoted 5 lines
I then disable SMP support and get:
http://rafb.net/paste/results/muYA9t12.htmlI even tried using my config from the 2.4.32 kernel which works perfectly fine, and I also get the sched errors.
What gcc version? Some old kernels might not be buildable with newer compilers.
-- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from
[email protected] Home Page: http://www.roberthancock.com/
Quoted 6 lines · George P Nychis
I see...
here is my gcc version:
gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)Is it too new?
I think so. Either try with 2.95 or upgrade your kernel to 2.4.32.
Cheers,
Willy
Quoted 38 lines
Thanks!
GeorgeQuoted 24 lines
Quoted 9 lines · George P Nychis
Hi,
I have downloaded the 2.4.20 kernel from ftp.kernel.org, have checked its sign, and no matter what I try I cannot get it to compile.
I do a make mrproper, I then do make dep which is fine, but then i try "make bzImage modules
modules_install", selecting all the defaults, and get an SMP header error: http://rafb.net/paste/results/QzIq7v86.htmlQuoted 5 lines
I then disable SMP support and get:
http://rafb.net/paste/results/muYA9t12.htmlI even tried using my config from the 2.4.32 kernel which works perfectly fine, and I also get the sched errors.
What gcc version? Some old kernels might not be buildable with newer compilers.
-- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from
[email protected] Home Page: http://www.roberthancock.com/Signature · 5 lines
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/