lkml.org 
[lkml]   [2000]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-2.4.0 SMP does not compile on sparc32
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/

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.027 / U:1.160 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site