link error in usbdrv.o (2.4.17-pre5)
When compiling 2.4.17-pre5 with the usb compiled in, the final link produces the following error:
ld -m elf_i386 -T /usr/src/linux/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/char/drm/drm.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/video/video.o drivers/usb/usbdrv.o drivers/input/inputdrv.o drivers/i2c/i2c.o \ net/network.o \ /usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a /usr/src/linux/arch/i386/lib/lib.a \ --end-group \ -o vmlinux
drivers/usb/usbdrv.o(.text.lock+0x5dc): undefined reference to `local symbols in discarded section .text.exit'
The .config that produces this error can be found here: <http://cs.earlham.edu/~will/err_config>
Signature · 1 line
Will Dyson
Quoted 2 lines
When compiling 2.4.17-pre5 with the usb compiled in, the final link produces the following error:
Downgrade your Debian binutils to the previous version rather than the one in the snapshot of the week. (Its probably fair to say its not the binutils fault thats just the fix)
Dans un message du 06 déc à 18:10, Will Dyson écrivait :
Quoted 10 lines
ld -m
elf_i386-T/usr/src/linux/arch/i386/vmlinux.lds-e stextarch/i386/kernel/head.oarch/i386/kernel/init_task.oinit/main.oinit/version.o \ --start-group \ arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o
fs/fs.oipc/ipc.o\
drivers/char/char.odrivers/block/block.odrivers/misc/misc.odrivers/net/net.odrivers/media/media.odrivers/char/agp/agp.odrivers/char/drm/drm.odrivers/ide/idedriver.odrivers/scsi/scsidrv.odrivers/cdrom/driver.odrivers/pci/driver.odrivers/video/video.o
Quoted 8 lines
drivers/usb/usbdrv.o drivers/input/inputdrv.o drivers/i2c/i2c.o \ net/network.o \ /usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a /usr/src/linux/arch/i386/lib/lib.a \ --end-group \ -o vmlinuxdrivers/usb/usbdrv.o(.text.lock+0x5dc): undefined reference to `local symbols in discarded section .text.exit'
Are you running Debian unstable ? I had the same problem with latest binutils. Downgrading fixed the problem.
Signature · 3 lines
Guillaume Morin <[email protected]> Sauvez un arbre, mangez un castor
Quoted 2 lines · Will Dyson
When compiling 2.4.17-pre5 with the usb compiled in, the final link produces the following error:
Enable CONFIG_HOTPLUG to fix this for now.
thanks,
greg k-h