Skip to contentSkip to conversation

Error Linux Krenel for SWARM (SB1250)

DISCUSSION santhosh 2 participants 2 messages Feb 27, 2002 MIPS

lore
Share & tools
lore

santhosh

author
#0 lore raw

I have a got a error when I build linux kernel for SWARM board(SB1250).
send a query to solve..

[root@gda_Santhosh kernel]# gmake vmlinux

mips-linux-gcc -I /home/revathy/linux/src/kernel/include/asm/gcc -D__KERNEL__ -I/home/revathy/linux/src/kernel/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -G 0 -mno-abicalls -fno-pic -mcpu=sb1
-mips2 -Wa,--trap -pipe -c -o init/main.o init/main.c
Assembler messages:
Error: invalid architecture -mcpu=sb1
cc1: bad value (sb1) for -mcpu= switch
init/main.c:198: output pipe has been closed
cpp: output pipe has been closed
gmake: *** [init/main.o] Error 1

#1 lore raw
Quoted 5 lines · santhosh

I have a got a error when I build linux kernel for SWARM board(SB1250).
send a query to solve..

Sounds like the version of gcc you're using doesn't know about the sb1. Are you using the tools from SiByte?

-Justin