Skip to contentSkip to conversation

hp-plus: fix link objects

PATCH Applied Randy Dunlap 2 participants 2 messages Sep 2, 2008 – Sep 3, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hp-plus: fix link objects

From: Randy Dunlap <[email protected]>

Fix hp-plus Makefile object file:

drivers/built-in.o: In function `hpp_open':
hp-plus.c:(.text+0xaf445): undefined reference to ei_interrupt' hp-plus.c:(.text+0xaf4ac): undefined reference to ei_open' drivers/built-in.o: In function `hpp_close':
hp-plus.c:(.text+0xaf59d): undefined reference to ei_close' drivers/built-in.o: In function hpp_probe1':
hp-plus.c:(.init.text+0x7314): undefined reference to ei_poll' drivers/built-in.o: In function hp_plus_probe':
(.init.text+0x7407): undefined reference to `__alloc_ei_netdev' make[1]: *** [.tmp_vmlinux1] Error 1

---
 drivers/net/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/Makefile +1 -1
@@ -111,7 +111,7 @@ obj-$(CONFIG_EL2) += 3c503.o 8390p.o
 obj-$(CONFIG_NE2000) += ne.o 8390p.o
 obj-$(CONFIG_NE2_MCA) += ne2.o 8390p.o
 obj-$(CONFIG_HPLAN) += hp.o 8390p.o
-obj-$(CONFIG_HPLAN_PLUS) += hp-plus.o 8390p.o
+obj-$(CONFIG_HPLAN_PLUS) += hp-plus.o 8390.o
 obj-$(CONFIG_ULTRA) += smc-ultra.o 8390.o
 obj-$(CONFIG_ULTRAMCA) += smc-mca.o 8390.o
 obj-$(CONFIG_ULTRA32) += smc-ultra32.o 8390.o
Applied
#1 lore raw
Quoted 23 lines · Randy Dunlap

From: Randy Dunlap <[email protected]>

Fix hp-plus Makefile object file:

drivers/built-in.o: In function `hpp_open':
hp-plus.c:(.text+0xaf445): undefined reference to ei_interrupt' hp-plus.c:(.text+0xaf4ac): undefined reference to ei_open' drivers/built-in.o: In function `hpp_close':
hp-plus.c:(.text+0xaf59d): undefined reference to ei_close' drivers/built-in.o: In function hpp_probe1':
hp-plus.c:(.init.text+0x7314): undefined reference to ei_poll' drivers/built-in.o: In function hp_plus_probe':
(.init.text+0x7407): undefined reference to `__alloc_ei_netdev' make[1]: *** [.tmp_vmlinux1] Error 1

---
 drivers/net/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

drivers/net/Makefile obj-$(CONFIG_EL2) += 3c503.o 8390p.o · line 117

Quoted 8 lines
drivers/net/Makefile +1 -1
@@ -111,7 +111,7 @@ obj-$(CONFIG_EL2) += 3c503.o 8390p.o
 obj-$(CONFIG_NE2000) += ne.o 8390p.o
 obj-$(CONFIG_NE2_MCA) += ne2.o 8390p.o
 obj-$(CONFIG_HPLAN) += hp.o 8390p.o
-obj-$(CONFIG_HPLAN_PLUS) += hp-plus.o 8390p.o
+obj-$(CONFIG_HPLAN_PLUS) += hp-plus.o 8390.o
 obj-$(CONFIG_ULTRA) += smc-ultra.o 8390.o
 obj-$(CONFIG_ULTRAMCA) += smc-mca.o 8390.o
 obj-$(CONFIG_ULTRA32) += smc-ultra32.o 8390.o

applied