Hi,
On my debian sid with binutils 2.11.93.0.2-1 I get the following linking
error:
ld -m elf_i386 -T /usr/src/linux-2.5.5/arch/i386/vmlinux.lds -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
init/version.o init/do_mounts.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 \
/usr/src/linux-2.5.5/arch/i386/lib/lib.a
/usr/src/linux-2.5.5/lib/lib.a /usr/src/linux-2.5.5/arch/i386/lib/lib.a \
drivers/acpi/acpi.o drivers/base/base.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 \
net/network.o \
--end-group \
-o vmlinux
drivers/net/net.o(.data+0xd4): undefined reference to `local symbols in
discarded section .text.exit'
make[1]: *** [vmlinux] Error 1
make[1]: Leaving directory `/usr/src/linux-2.5.5'
What must I change that it links properly?
Best Regards,
-G. Jasny
On Thu, Feb 21, 2002 at 06:11:34PM +0100, Gregor Jasny wrote:
> drivers/net/net.o(.data+0xd4): undefined reference to `local symbols in
> discarded section .text.exit'
> make[1]: *** [vmlinux] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.5.5'
> What must I change that it links properly?
See 'Compile errors' in http://www.codemonkey.org.uk/Linux-2.5.html
--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs