[PATCH] 2.5.36-bk3 fix build error with CONFIG_EEPRO100=y.

Steven Cole (elenstev@mesatop.com)
20 Sep 2002 09:14:52 -0600


The following patch fixes this error with 2.5.36-bk3 and
CONFIG_EEPRO100=y:

drivers/built-in.o: In function `netdev_ethtool_ioctl':
drivers/built-in.o(.text+0x28891): undefined reference to `mii_ethtool_gset'
drivers/built-in.o(.text+0x2896f): undefined reference to `mii_ethtool_sset'
drivers/built-in.o(.text+0x289ab): undefined reference to `mii_nway_restart'
drivers/built-in.o(.text+0x289d5): undefined reference to `mii_link_ok'
make: *** [vmlinux] Error 1

--- linux-2.5.36-bk3/drivers/net/Makefile.orig Fri Sep 20 09:03:52 2002
+++ linux-2.5.36-bk3/drivers/net/Makefile Fri Sep 20 09:04:17 2002
@@ -41,7 +41,7 @@
obj-$(CONFIG_VORTEX) += 3c59x.o
obj-$(CONFIG_NE2K_PCI) += ne2k-pci.o 8390.o
obj-$(CONFIG_PCNET32) += pcnet32.o mii.o
-obj-$(CONFIG_EEPRO100) += eepro100.o
+obj-$(CONFIG_EEPRO100) += eepro100.o mii.o
obj-$(CONFIG_TLAN) += tlan.o
obj-$(CONFIG_EPIC100) += epic100.o mii.o
obj-$(CONFIG_SIS900) += sis900.o

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/