2.5.10 compile/link problem
Hi there,
ld -m elf_i386 -T /usr/src/linux-2.5.10/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.10/arch/i386/lib/lib.a /usr/src/linux-2.5.10/lib/lib.a /usr/src/linux-2.5.10/arch/i386/lib/lib.a \
drivers/acpi/acpi.o drivers/base/base.o drivers/char/char.odrivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/cdrom/driver.o sound/sound.o drivers/pci/driver.o drivers/pnp/pnp.o
drivers/video/video.o drivers/md/mddev.o \
net/network.o \
--end-group \
-o vmlinuxdrivers/net/net.o: In function `e100_diag_config_loopback':
drivers/net/net.o(.text+0x5adf): undefined reference to `e100_phy_reset'
make: *** [vmlinux] Error 1
With EtherExpress Pro 100 original Becker driver.
Signature · 8 lines
Kind regards Marc-Christian Petersen http://sourceforge.net/projects/wolk PGP/GnuPG Key: 1024D/569DE2E3DB441A16 Fingerprint: 3469 0CF8 CA7E 0042 7824 080A 569D E2E3 DB44 1A16 Key available at wwwkeys.pgp.net. Encrypted e-mail preferred.selected!
Quoted 18 lines · Marc-Christian Petersen
Hi there,
ld -m
elf_i386-T/usr/src/linux-2.5.10/arch/i386/vmlinux.lds-e stextarch/i386/kernel/head.oarch/i386/kernel/init_task.oinit/main.oinit/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.10/arch/i386/lib/lib.a
/usr/src/linux-2.5.10/lib/lib.a/usr/src/linux-2.5.10/arch/i386/lib/lib.a\
drivers/acpi/acpi.odrivers/base/base.odrivers/char/char.odrivers/block/block.odrivers/misc/misc.odrivers/net/net.odrivers/media/media.odrivers/char/drm/drm.odrivers/ide/idedriver.odrivers/cdrom/driver.osound/sound.odrivers/pci/driver.odrivers/pnp/pnp.odrivers/video/video.o drivers/md/mddev.o \ net/network.o \ --end-group \ -o vmlinux
Quoted 5 lines
drivers/net/net.o: In function `e100_diag_config_loopback':
drivers/net/net.o(.text+0x5adf): undefined reference to `e100_phy_reset'
make: *** [vmlinux] Error 1With EtherExpress Pro 100 original Becker driver.
No, this problem comes from the Alternate Intel driver for the EtherExpressPro/100. A patch to get it compile (already posted on this list) is:
net/e100/e100_phy.c renamed from net/e100/e100_phy.c.old +1 -1
@@ -873,7 +873,7 @@e100_set_fc (bdp); } -void __devexit +void e100_phy_reset (struct e100_private *bdp) {u16 ctrl_reg;
cu
Adrian
Signature · 3 lines
You only think this is a free country. Like the US the UK spends a lot of time explaining its a free country because its a police state. Alan Cox