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

2000-12-23 Thread Arjan van de Ven

In article <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



"undefined reference" atm_lane_init & atm_mpoa_init with test13-pre4

2000-12-23 Thread Arjan Filius

Hello,

With 2.4.0-test13-pre4 i noticed

 "Networking options"
 LAN Emulation (LANE) support
 Multi-Protocol Over ATM (MPOA) support

results with 'make bzImage' in:

make[1]: Leaving directory `/usr/src/linux-2.4.0-test13-4/arch/i386/lib'
ld -m elf_i386 -T /usr/src/linux/arch/i386/vmlinux.lds -e stext 
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.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 \
drivers/block/block.o drivers/char/char.o drivers/misc/misc.o 
drivers/net/net.o drivers/media/media.o  drivers/char/drm/drm.o drivers/net/fc/fc.o 
drivers/net/appletalk/appletalk.o drivers/net/tokenring/tr.a drivers/net/wan/wan.o 
drivers/atm/atm.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o 
drivers/cdrom/driver.o drivers/pci/driver.o drivers/video/video.o 
drivers/net/hamradio/hamradio.o drivers/md/mddev.o \
net/network.o \
/usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a 
/usr/src/linux/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
net/network.o: In function `atm_ioctl':
net/network.o(.text+0x3ff92): undefined reference to `atm_lane_init'
net/network.o(.text+0x40039): undefined reference to `atm_mpoa_init'
make: *** [vmlinux] Error 1
sjoerd:/usr/src/linux #

Unsetting these options "fixed" this for me.

Greatings,

-- 
Arjan Filius
mailto:[EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/