harsha wrote: > When I tried recompiling 2.4.14 kernel this is the error that I get. > <snipped> > > drivers/char/char.o(.data+0x46b4): undefined reference to `local > symbols in discarded section .text.exit' > drivers/sound/sounddrivers.o(.data+0x734): undefined reference to > `local symbols in discarded section .text.exit' > drivers/sound/sounddrivers.o(.data+0x77d4): undefined reference to > `local symbols in discarded section .text.exit' > make: *** [vmlinux] Error 1 > > I had downloaded the complete kernel 2.4.16. However when I compile I > get the same error. :((
This sounds like the same bug several other people have seen. There is a problem in the kernel sources that badly upsets at least some recent versions of the binutils package (which includes the assembler and linker that you need to build a kernel). I'm not sure about the very latest binutils package, as I have not tried it, but the preceding version definitely didn't get along with the kernel sources. (Sometimes, at least -- it depends on your kernel configuration.) If you downgrade to binutils 2.11.92.0.10-4, you should be able to build your kernel. If you don't still have that version in your /etc/cache/apt/archives directory, you can download it from me. Point your web browser (not dpkg) at http://crdic.ath.cx/debian and look for binutils in the index. Craig