Problems compiling kernel 2.4.16 under woody
Hi! I have installed one of the first potato releases from cd on a blank hard disk and compiled kernel 2.4.16. Fine. I then upgraded with apt-get to yesterdays woody/testing and no longer manage to compile the same sources. I have made make mrproper make menuconfig make dep make bzImage I have just set the processor to 'athlon' the chipset and the sound to 'via'. One of the last steps of 'make bzImage', the linking of the object files, failed with this error message drivers/sound/sounddrivers.o(.data+0xb4): undefined reference to `local symbols in discarded section .text.exit' make: *** [vmlinux] Error 1 If I do not change the standard configuration, the kernel compiles fine. What does that mean? May I have missed installing an important package? The program/package versions are gcc 2:2.95.4-8 binutils 2.11.92.0.12.3-3 I failed to compile kernel 2.4.14 for the same reasons. I did not had success with gcc 2.95.2 and gcc 3.0.2 either. Armin
Re: Problems compiling kernel 2.4.16 under woody
On Sat, Dec 15, 2001 at 10:41:17 +0100, Armin Wegner wrote: I have installed one of the first potato releases from cd on a blank hard disk and compiled kernel 2.4.16. Fine. I then upgraded with apt-get to yesterdays woody/testing and no longer manage to compile the same sources. Known problem with the 2.4.16 kernel source. Older versions of binutils accepted what it did, newer ones don't. Either enable CONFIG_HOTPLUG or patch your kernel sources to 2.4.17-rc1. HTH, Ray -- Perhaps they spent some of the time writing the patent application. That task was surely harder than thinking of the technique. RMS on Amazon's 1-Click(R) patent, http://linuxtoday.com/story.php3?sn=13652
Solved: Problems compiling kernel 2.4.16 under woody
Patching kernel 2.4.16 to 2.4.17-rc1 did not do it. I have had to downgrade binutils to version 2.9.5.0.37-1. Thank you. On Sat, Dec 15, 2001 at 10:41:17AM +0100, Armin Wegner wrote: Hi! I have installed one of the first potato releases from cd on a blank hard disk and compiled kernel 2.4.16. Fine. I then upgraded with apt-get to yesterdays woody/testing and no longer manage to compile the same sources. I have made make mrproper make menuconfig make dep make bzImage I have just set the processor to 'athlon' the chipset and the sound to 'via'. One of the last steps of 'make bzImage', the linking of the object files, failed with this error message drivers/sound/sounddrivers.o(.data+0xb4): undefined reference to `local symbols in discarded section .text.exit' make: *** [vmlinux] Error 1 If I do not change the standard configuration, the kernel compiles fine. What does that mean? May I have missed installing an important package? The program/package versions are gcc 2:2.95.4-8 binutils 2.11.92.0.12.3-3 I failed to compile kernel 2.4.14 for the same reasons. I did not had success with gcc 2.95.2 and gcc 3.0.2 either. Armin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Problems compiling kernel 2.4.16 under woody
On 15/12/01 J.H.M. Dassen (Ray) did speaketh: Known problem with the 2.4.16 kernel source. Older versions of binutils accepted what it did, newer ones don't. Either enable CONFIG_HOTPLUG or patch your kernel sources to 2.4.17-rc1. Enabling CONFIG_HOTPLUG worked for me, thanks. Mike -- Michael P. Soulier [EMAIL PROTECTED], GnuPG pub key: 5BC8BE08 ...the word HACK is used as a verb to indicate a massive amount of nerd-like effort. -Harley Hahn, A Student's Guide to Unix pgpW6JgcL3H9z.pgp Description: PGP signature