Re: "undefined reference" atm_lane_init & atm_mpoa_init with test13-pre4

From: Arjan van de Ven (arjan@fenrus.demon.nl)
Date: Sat Dec 23 2000 - 10:46:31 EST


In article <Pine.LNX.4.30.0012231600450.17383-100000@sjoerd.sjoerdnet> you wrote:
> net/network.o(.text+0x3ff92): undefined reference to `atm_lane_init'
> net/network.o(.text+0x40039): undefined reference to `atm_mpoa_init'

Hi,

The patch below should fix that.

Greetings,
   Arjan van de Ven

--- linux/net/atm/Makefile Fri Dec 22 18:22:15 2000
+++ ../0/linux/net/atm/Makefile Fri Dec 22 19:01:03 2000
@@ -37,6 +37,11 @@
 obj-$(CONFIG_ATM) += lec.o lane_mpoa_init.o
 endif
 
+ifeq ($(CONFIG_ATM_LANE),m)
+obj-$(CONFIG_ATM) += lane_mpoa_init.o
+obj-m += lec.o
+endif
+
 ifeq ($(CONFIG_ATM_MPOA),y)
 obj-$(CONFIG_ATM) += mpoa.o
 endif
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 23 2000 - 21:00:34 EST