[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.4.17 kernel compilation

Douglas Bates wrote:

> On a Debian 3.0 (testing) system updated to binutils,
> I get a failure when trying to compile a 2.4.17 kernel.  The last part
> of the transcript is enclosed.
> ld -m elf_i386 -T /usr/src/linux-2.4.17/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o \
>         --start-group \
>         arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
>          drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/char/agp/agp.o drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/video/video.o drivers/i2c/i2c.o \
>         net/network.o \
>         /usr/src/linux-2.4.17/arch/i386/lib/lib.a /usr/src/linux-2.4.17/lib/lib.a /usr/src/linux-2.4.17/arch/i386/lib/lib.a \
>         --end-group \
>         -o vmlinux
> drivers/sound/sounddrivers.o(.data+0x1d4): undefined reference to `local symbols in discarded section .text.exit'
> My .config file has
> and all other CONFIG_SOUND_* unset.
> I can compile successfully if I unset all CONFIG_SOUND*.
> Suggestions?

Downgrade to binutils Newer versions may run into
exactly this problem when compiling recent 2.4 kernels, depending on
your kernel configuration.

You can find binutils in my archive of not-quite-current
Debian unstable packages for i386 at http://crdic.ath.cx/debian . Access
it with a web browser, not with dpkg; it's not a formal package
repository, just a directory full of .debs.


Reply to: