Received: from HughTan ([220.246.1.125]) by hmail02dat.netvigator.com (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with SMTP id <20041111080950.HKKD1253.hmail02dat.netvigator.com@HughTan> for ; Thu, 11 Nov 2004 16:09:50 +0800 Message-ID: <00df01c4c7c5$cffdad90$6e01a8c0@HughTan> From: "Ho Tan" Subject: Kernel compile error Date: Thu, 11 Nov 2004 16:09:48 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00DC_01C4C808.DDF60D00" Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org To: linux-mips@linux-mips.org Message-ID: <20041111080948.q7UjSKnwZafInmt1olWDw2jWHhSmSBlQGi0rZkS4ERk@z> This is a multi-part message in MIME format. ------=_NextPart_000_00DC_01C4C808.DDF60D00 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable 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=3D32 = -D_MIPS_SZPTR=3D32 -D_MIPS_SZINT=3D32 -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 ------=_NextPart_000_00DC_01C4C808.DDF60D00 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable
Dear all,
 
I download the ELDK tools kit (2.1.0=20 eldk-mips-linux-x86) from www.denx.de = website=20 and follow the instruction to install it into the RedHat = 7.3.
and I successfully installed into the = Redhat 7.3=20 without any problem.
 
My target hardware platform is infineon = INCAIP=20 and i follow the below instruction to compile the kernel. The = kernel source=20 is download from www.denx.de=20 (linux-mips)
make mrproper
make incaip_config
make oldconfig
make dep
make uImage
 
When compliation, everything go fine = until the=20 compiler compling entry.S which locate at arch/mips/kernel. and the = Error=20 message prompt.
 
make[1]: Entering directory=20 `/usr/eldk/usr/src/linux-mips/arch/mips/kernel'
mips_4KC-gcc = -D__ASSEMBLY__=20 -D__KERNEL__ -I/usr/eldk/usr/src/linux-mips/include -D_MIPS_SZLONG=3D32=20 -D_MIPS_SZPTR=3D32 -D_MIPS_SZINT=3D32  -g -G 0 -mno-abicalls = -fno-pic=20 -pipe   -c -o entry.o entry.S
entry.S: Assembler=20 messages:
entry.S:225: Error: unrecognized opcode `reg_s=20 $8,164($29)'
entry.S:226: Error: unrecognized opcode `reg_s=20 $8,164($29)'
make[1]: *** [entry.o] Error 1
make[1]: Leaving = directory=20 `/usr/eldk/usr/src/linux-mips/arch/mips/kernel'
make: ***=20 [_dir_arch/mips/kernel] Error 2
The source of the entry.S is as = below:
 
Line=20 225:           &nb= sp;   =20 BUILD_HANDLER(adel,ade,ade,silent)      &nb= sp;      =20 /* #4  */
Line=20 226:           &nb= sp;   =20 BUILD_HANDLER(ades,ade,ade,silent)      &nb= sp;     =20 /* #5  */
Line=20 227:           &nb= sp;   =20 BUILD_HANDLER(ibe,be,cli,silent)       = ;          =20  /* #6  */
Line=20 228:           &nb= sp;   =20 BUILD_HANDLER(dbe,be,cli,silent)       = ;          =20 /* #7  */
Line=20 229:           &nb= sp;   =20 BUILD_HANDLER(bp,bp,sti,silent)       =            =20 /* #9  */
Line=20 230:           &nb= sp;   =20 BUILD_HANDLER(ri,ri,sti,silent)       =          =20      /* #10 */
Line=20 231:           &nb= sp;   =20 BUILD_HANDLER(cpu,cpu,sti,silent)      &nbs= p;       =20 /* #11 */
Line=20 232:           &nb= sp;   =20 BUILD_HANDLER(ov,ov,sti,silent)       =            =20 /* #12 */
Line=20 233:           &nb= sp;   =20 BUILD_HANDLER(tr,tr,sti,silent)       =             &= nbsp;=20 /* #13 */
Line=20 234:           &nb= sp;   =20 BUILD_HANDLER(fpe,fpe,fpe,silent)      &nbs= p;        =20 /* #15 */
Line=20 235:           &nb= sp;   =20 BUILD_HANDLER(watch,watch,sti,silent)      =   /*=20 #23 */
Line=20 236:           &nb= sp;   =20 BUILD_HANDLER(mcheck,mcheck,cli,silent)  /* #24 */
Line=20 237:           &nb= sp;   =20 BUILD_HANDLER(reserved,reserved,sti,silent) /* others = */
 
Anyone could give any suggestion on=20 this??
 
Best Regards,
 
Hugh
------=_NextPart_000_00DC_01C4C808.DDF60D00--