linux-2.4.0 SMP does not compile on sparc32

From: Felix von Leitner (leitner@convergence.de)
Date: Tue Oct 17 2000 - 11:28:00 EST


This is the error message (yes, I am cross compiling):

sparc-linux-ld -m elf32_sparc -T arch/sparc/vmlinux.lds arch/sparc/kernel/head.o arch/sparc/kernel/init_task.o init/main.o init/version.o \
        --start-group \
        arch/sparc/kernel/kernel.o arch/sparc/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o arch/sparc/math-emu/math-emu.o arch/sparc/boot/btfix.o \
        drivers/block/block.o drivers/char/char.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/parport/parport.a drivers/scsi/scsidrv.o drivers/cdrom/cdrom.a drivers/sbus/sbus.a drivers/video/video.o \
        net/network.o \
        /tmp/linux/lib/lib.a /tmp/linux/lib/lib.a /tmp/linux/arch/sparc/prom/promlib.a /tmp/linux/arch/sparc/lib/lib.a \
        --end-group \
        -o vmlinux
mm/mm.o: In function `smp_call_function_all_cpus':
mm/mm.o(.text+0xb194): undefined reference to `smp_call_function'
make: *** [vmlinux] Error 1

smp_call_function is defined in arch/sparc64/kernel/smp.c but not in
arch/sparc/kernel/smp.c :-(

And since the code looks very different to me, I don't dare to copy it.

Can anyone help?

Felix
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:11 EST