linux-mips
[Top] [All Lists]

Kernel compile error

To: <linux-mips@linux-mips.org>
Subject: Kernel compile error
From: "Ho Tan" <ho.tan@avantec.com.hk>
Date: Thu, 11 Nov 2004 16:09:48 +0800
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Dear all,
 
I download the ELDK tools kit (2.1.0 eldk-mips-linux-x86) from www.denx.de website and follow the instruction to install it into the RedHat 7.3.
and I successfully installed into the Redhat 7.3 without any problem.
 
My target hardware platform is infineon INCAIP and i follow the below instruction to compile the kernel. The kernel source is download from www.denx.de (linux-mips)
make mrproper
make incaip_config
make oldconfig
make dep
make uImage
 
When compliation, everything go fine until the compiler compling entry.S which locate at arch/mips/kernel. and the Error message prompt.
 
make[1]: Entering directory `/usr/eldk/usr/src/linux-mips/arch/mips/kernel'
mips_4KC-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/eldk/usr/src/linux-mips/include -D_MIPS_SZLONG=32 -D_MIPS_SZPTR=32 -D_MIPS_SZINT=32  -g -G 0 -mno-abicalls -fno-pic -pipe   -c -o entry.o entry.S
entry.S: Assembler messages:
entry.S:225: Error: unrecognized opcode `reg_s $8,164($29)'
entry.S:226: Error: unrecognized opcode `reg_s $8,164($29)'
make[1]: *** [entry.o] Error 1
make[1]: Leaving directory `/usr/eldk/usr/src/linux-mips/arch/mips/kernel'
make: *** [_dir_arch/mips/kernel] Error 2
The source of the entry.S is as below:
 
Line 225:                BUILD_HANDLER(adel,ade,ade,silent)              /* #4  */
Line 226:                BUILD_HANDLER(ades,ade,ade,silent)             /* #5  */
Line 227:                BUILD_HANDLER(ibe,be,cli,silent)                   /* #6  */
Line 228:                BUILD_HANDLER(dbe,be,cli,silent)                  /* #7  */
Line 229:                BUILD_HANDLER(bp,bp,sti,silent)                   /* #9  */
Line 230:                BUILD_HANDLER(ri,ri,sti,silent)                      /* #10 */
Line 231:                BUILD_HANDLER(cpu,cpu,sti,silent)               /* #11 */
Line 232:                BUILD_HANDLER(ov,ov,sti,silent)                   /* #12 */
Line 233:                BUILD_HANDLER(tr,tr,sti,silent)                     /* #13 */
Line 234:                BUILD_HANDLER(fpe,fpe,fpe,silent)                /* #15 */
Line 235:                BUILD_HANDLER(watch,watch,sti,silent)        /* #23 */
Line 236:                BUILD_HANDLER(mcheck,mcheck,cli,silent)  /* #24 */
Line 237:                BUILD_HANDLER(reserved,reserved,sti,silent) /* others */
 
Anyone could give any suggestion on this??
 
Best Regards,
 
Hugh
<Prev in Thread] Current Thread [Next in Thread>