Undefines building kernel without networking support

Ruud Linders (rlinders@xs4all.nl)
Mon, 16 Feb 1998 20:21:32 +0100 (MET)

When trying to build the kernel without Networking Support (I'm trying
to build a kernel for a bootflop) I get undefined symbols:

ld -m elf_i386 -T /usr/src/linux-2.1.86/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
fs/filesystems.a \
net/network.a \
drivers/block/block.a drivers/char/char.a drivers/misc/misc.a drivers/net/net.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a drivers/pci/pci.a \
/usr/src/linux-2.1.86/arch/i386/lib/lib.a /usr/src/linux-2.1.86/lib/lib.a /usr/src/linux-2.1.86/arch/i386/lib/lib.a \
-o vmlinux
net/network.a(core.o): In function `sock_setsockopt':
core.o(.text+0x292): undefined reference to `dev_get'
core.o(.text+0x2c9): undefined reference to `ip_route_output'
net/network.a(core.o): In function `neigh_compat_output':
core.o(.text+0x322a): undefined reference to `dev_queue_xmit'
make: *** [vmlinux] Error 1

FWIW Seems even without networking support still some files in the
ore ethernet sched subdirs of net are being build.
Trying to link without network.a only gave other undefines.
Same for 2.1.78.


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu