linux-mips-fnet
[Top] [All Lists]

Cobalt kernel

To: linux mips <linux-mips@fnet.fr>
Subject: Cobalt kernel
From: Rabeeh Khoury <rabeeh@galileo.co.il>
Date: Tue, 27 Jul 1999 16:15:29 +0200
Hi all

i'm trying to cross-compile Cobalt's kernel using
egcs-mips-linux-1.0.3a-1.i386 and binutils-mips-linux-2.8.1-1.i386 and
RH 6.0 glibc.

when the make file gets to the first assembly file to be cross-compiled
int-handler.S  which includes mipsregs.h it reports the following error
:

make[1]: Entering directory
`/home/rabeeh/RottProject_cobalt/linux/arch/mips/cobalt'
mips-linux-gcc -D__KERNEL__
-I/home/rabeeh/RottProject_cobalt/linux/include -I/usr/include
-I/home/rabeeh/RottProject_cobalt/linux/include/asm -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -G 0
-mno-abicalls -fno-pic -mcpu=r3000 -mips1 -pipe -c int-handler.S -o
int-handler.o
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h: Assembler
messages:
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:180: Error:
unrecognized opcode `extern'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:180: Error:
Bad expression
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:180: Error:
Missing ')' assumed
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:180: Error:
Rest of line ignored. First ignored character is `i'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:180: Error:
unrecognized opcode `__asm__'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:180: Error:
unrecognized opcode `__res'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:180: Error:
Rest of line ignored. First ignored character is `}'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:180: Error:
unrecognized opcode `res'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:180: Error:
unrecognized opcode `res'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:180: Error:
unrecognized opcode `if(change)'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:180: Error:
unrecognized opcode `return'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:180: Error:
Rest of line ignored. First ignored character is `}'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:181: Error:
unrecognized opcode `extern'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:181: Error:
Bad expression
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:181: Error:
Missing ')' assumed
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:181: Error:
Rest of line ignored. First ignored character is `i'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:181: Error:
unrecognized opcode `__asm__'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:181: Error:
unrecognized opcode `__res'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:181: Error:
Rest of line ignored. First ignored character is `}'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:181: Error:
unrecognized opcode `res'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:181: Error:
unrecognized opcode `res'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:181: Error:
unrecognized opcode `if(change)'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:181: Error:
unrecognized opcode `return'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:181: Error:
Rest of line ignored. First ignored character is `}'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:182: Error:
unrecognized opcode `extern'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:182: Error:
Bad expression
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:182: Error:
Missing ')' assumed
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:182: Error:
Rest of line ignored. First ignored character is `i'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:182: Error:
unrecognized opcode `__asm__'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:182: Error:
unrecognized opcode `__res'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:182: Error:
Rest of line ignored. First ignored character is `}'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:182: Error:
unrecognized opcode `res'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:182: Error:
unrecognized opcode `res'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:182: Error:
unrecognized opcode `if(change)'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:182: Error:
unrecognized opcode `return'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:182: Error:
Rest of line ignored. First ignored character is `}'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:395: Error:
unrecognized opcode `extern'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:396: Error:
unrecognized opcode `extern'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:397: Error:
unrecognized opcode `extern'
/home/rabeeh/RottProject_cobalt/linux/include/asm/mipsregs.h:398: Error:
unrecognized opcode `extern'
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:57: Error:
unrecognized opcode `extern'
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:58: Error:
Rest of line ignored. First ignored character is `{'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:59: Error:
unrecognized opcode `__asm__'
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:60: Error:
Rest of line ignored. First ignored character is `"'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:61: Error:
Rest of line ignored. First ignored character is `"'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:62: Error:
Rest of line ignored. First ignored character is `"'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:63: Error:
Rest of line ignored. First ignored character is `"'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:64: Error:
Rest of line ignored. First ignored character is `"'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:65: Error:
Rest of line ignored. First ignored character is `"'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:66: Error:
Rest of line ignored. First ignored character is `}'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:68: Error:
unrecognized opcode `extern'
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:69: Error:
Rest of line ignored. First ignored character is `{'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:70: Error:
unrecognized opcode `unsigned'
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:71: Error:
unrecognized opcode `r4030_delay()'
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:72: Error:
unrecognized opcode `return'
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:73: Error:
Rest of line ignored. First ignored character is `}'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:75: Error:
unrecognized opcode `extern'
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:76: Error:
Rest of line ignored. First ignored character is `{'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:77: Error:
unrecognized opcode `unsigned'
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:78: Error:
unrecognized opcode `r4030_delay()'
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:79: Error:
unrecognized opcode `return'
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:80: Error:
Rest of line ignored. First ignored character is `}'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:82: Error:
unrecognized opcode `extern'
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:83: Error:
Rest of line ignored. First ignored character is `{'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:84: Error:
Rest of line ignored. First ignored character is `*'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:85: Error:
unrecognized opcode `r4030_delay()'
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:86: Error:
Rest of line ignored. First ignored character is `}'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:88: Error:
unrecognized opcode `extern'
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:89: Error:
Rest of line ignored. First ignored character is `{'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:90: Error:
Rest of line ignored. First ignored character is `*'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:91: Error:
unrecognized opcode `r4030_delay()'
/home/rabeeh/RottProject_cobalt/linux/include/asm/cobalt.h:92: Error:
Rest of line ignored. First ignored character is `}'.
/home/rabeeh/RottProject_cobalt/linux/include/asm/irq.h:41: Error:
unrecognized opcode `struct'
/home/rabeeh/RottProject_cobalt/linux/include/asm/irq.h:42: Error:
unrecognized opcode `extern'
/home/rabeeh/RottProject_cobalt/linux/include/asm/irq.h:43: Error:
unrecognized opcode `extern'
/home/rabeeh/RottProject_cobalt/linux/include/asm/irq.h:44: Error:
unrecognized opcode `extern'
/home/rabeeh/RottProject_cobalt/linux/include/asm/irq.h:46: Error:
unrecognized opcode `extern'
int-handler.S:48: Error: unrecognized opcode `inc_intr_count($17'
int-handler.S:50: Error: unrecognized opcode `dec_intr_count($17'
int-handler.S:54: Error: unrecognized opcode `inc_intr_count($17'
int-handler.S:56: Error: unrecognized opcode `dec_intr_count($17'
int-handler.S:61: Error: unrecognized opcode `inc_intr_count($17'
int-handler.S:70: Error: unrecognized opcode `dec_intr_count($17'
int-handler.S:75: Error: unrecognized opcode `inc_intr_count($17'
int-handler.S:78: Error: unrecognized opcode `dec_intr_count($17'
int-handler.S:83: Error: unrecognized opcode `inc_intr_count($17'
int-handler.S:86: Error: unrecognized opcode `dec_intr_count($17'
make[1]: *** [int-handler.o] Error 1
make[1]: Leaving directory
`/home/rabeeh/RottProject_cobalt/linux/arch/mips/cobalt'
make: *** [linuxsubdirs] Error 2



thanx for the effort

bye , Rabea

<Prev in Thread] Current Thread [Next in Thread>