Re: Kernel compile error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 11, 2004 at 04:09:48PM +0800, Ho Tan wrote:

> 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

_MIPS_SZLONG etc. are defined by the compiler.  If your tree has kludgery
such as defining _MIPS_SZLONG etc. you shouldn't be surprised to see
errors like this.  It also seems to indicate that mips_4KC-gcc is not a
compiler for a mips*-linux* target.

> 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)'

And that's what you get from it.  See include/asm-mips/asm.h for REG_S.

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux