I am trying to get linux bios to work on my m758lmr+ for my carputer. Unfortunately I am stuck at the first stage. When I try make bzImage after patching with the 2.4.19-sis patch, I get this:
ld -m elf_i386 -T /usr/src/linux-2.4.19/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o init/do_mounts.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/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/video/video.o \ net/network.o \ /usr/src/linux-2.4.19/arch/i386/lib/lib.a /usr/src/linux-2.4.19/lib/lib.a /usr/src/linux-2.4.19/arch/i386/lib/lib.a \ --end-group \ -o vmlinux drivers/video/video.o(.data+0x1bd4): undefined reference to `local symbols in discarded section .text.exit' make: *** [vmlinux] Error 1
This is on debian woddy with gcc 2.95. I have also tried 2.4.17 and I get this:
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/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/mtd/mtdlink.o drivers/video/video.o drivers/usb/usbdrv.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 drivers/sound/sounddrivers.o(.data+0x1d4): undefined reference to `local symbols in discarded section .text.exit' drivers/mtd/mtdlink.o(.text.lock+0xf6): undefined reference to `local symbols in discarded section .text.exit' drivers/video/video.o(.data+0x1bd4): undefined reference to `local symbols in discarded section .text.exit' make: *** [vmlinux] Error 1
Would someone plz point me in the right direction.
Thanks, DS