I've been trying to compile 1.2.13 to give me a known stable kernel
for a few days now, but it's getting the better of me. I think I'm a bit
too bleeding edge for this kernel, or I've done something really brainless.
Here's the errors I get (abbreviated):
ld -m elf_i386 -Ttext 0x100000 -e startup_32 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 net/net.o \
ipc/ipc.o fs/filesystems.a drivers/block/block.a drivers/char/char.a \
drivers/net/net.a drivers/scsi/scsi.a drivers/sound/sound.a \
/usr/src/linux-1.2.13/lib/lib.a -o vmlinux
ld: warning: cannot find entry symbol startup_32; defaulting to 00100000
arch/i386/kernel/head.o(.text+0x18): undefined reference to __edata'
(and *bunches* more undefined references)
My setup is: P100, 32MB, mostly ELF, gcc 2.7.0, latest libc (both v4
and v5), latest binutils, etc. I did make sure that USE_ELF is set
correctly in arch/i386/Makefile. Any tips?