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>
--
Will Dyson
> 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 :
> 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'
Are you running Debian unstable ? I had the same problem with latest
binutils. Downgrading fixed the problem.
--
Guillaume Morin <[email protected]>
Sauvez un arbre, mangez un castor
On Thu, Dec 06, 2001 at 06:10:07PM -0500, Will Dyson wrote:
> 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