ld -m elf_i386 -Ttext 0x100000 -e stext arch/i386/kernel/head.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 net/network.a \
fs/filesystems.a \
drivers/block/block.a drivers/char/char.a drivers/net/net.a drivers/scsi/scsi.a drivers/sound/sound.a drivers/pci/pci.a \
/usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a /usr/src/linux/arch/i386/lib/lib.a -o vmlinux
dev_table.o(.text+0x9fe): undefined reference to `DMAbuf_init'
dev_table.o(.text+0xa03): undefined reference to `audio_init'
sb_common.o(.text+0x1a6): undefined reference to `DMAbuf_outputintr'
sb_common.o(.text+0x1b4): undefined reference to `DMAbuf_inputintr'
sb_audio.o(.text+0x18f): undefined reference to `DMAbuf_start_dma'
sb_audio.o(.text+0x223): undefined reference to `DMAbuf_start_dma'
sb_audio.o(.text+0x4db): undefined reference to `DMAbuf_start_dma'
sb_audio.o(.text+0x58f): undefined reference to `DMAbuf_start_dma'
sb_audio.o(.text+0xdf0): undefined reference to `DMAbuf_start_dma'
sb_audio.o(.text+0xe80): more undefined references to `DMAbuf_start_dma' follow
Similar symbols are missing when i try to compile it as module (in fact, it must be module for me because my
SB is PnP), and nfs modules also have some undefined symbols.
My kernel source is stock 2.0.18 patched to 2.0.21.
dd