linux-mips
[Top] [All Lists]

[Fwd: kernel compilation fails]

To: linux-mips@linux-mips.org
Subject: [Fwd: kernel compilation fails]
From: Tomáš Vrána <tom@voda.cz>
Date: Thu, 16 Jun 2005 11:37:54 +0200
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla Thunderbird 0.9 (X11/20041103)
Hi,

did I just ask a real stupid question, or is my question unclear ? or... just give some feedback, please.

                  TIA, Tom


-------- Original Message --------
Subject:        kernel compilation fails
Date:   Wed, 15 Jun 2005 23:54:18 +0200
From:   Tom Vrána <tom@voda.cz>
Organization:   VODA IT consulting
To:     linux-mips@linux-mips.org



Hi,

I am desperately trying to compile 2.4.30 mips kernel using uclibc buildroot gcc 3.3.4 It fails in the following manner:

mipsel-linux-gcc -D__KERNEL__ -I/store/devel/adm/linux-2.4.30-mipscvs-20050614/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I /store/devel/adm/linux-2.4.30-mipscvs-20050614/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -finline-limit=100000 -mabi=32 -march=r4600 -Wa,-32 -Wa,-march=r4600 -Wa,-mips3 -Wa,--trap -c mipsIRQ.S -o mipsIRQ.o /store/devel/adm/linux-2.4.30-mipscvs-20050614/include/asm/hazards.h: Assembler messages: /store/devel/adm/linux-2.4.30-mipscvs-20050614/include/asm/hazards.h:172: Error: unrecognized opcode `__asm__(' /store/devel/adm/linux-2.4.30-mipscvs-20050614/include/asm/hazards.h:173: Warning: rest of line ignored; first ignored character is `"' /store/devel/adm/linux-2.4.30-mipscvs-20050614/include/asm/hazards.h:174: Warning: rest of line ignored; first ignored character is `"' /store/devel/adm/linux-2.4.30-mipscvs-20050614/include/asm/hazards.h:175: Warning: rest of line ignored; first ignored character is `"' /store/devel/adm/linux-2.4.30-mipscvs-20050614/include/asm/hazards.h:176: Warning: rest of line ignored; first ignored character is `"' /store/devel/adm/linux-2.4.30-mipscvs-20050614/include/asm/hazards.h:177: Warning: rest of line ignored; first ignored character is `"' /store/devel/adm/linux-2.4.30-mipscvs-20050614/include/asm/hazards.h:178: Warning: rest of line ignored; first ignored character is `"'

Looks like a stupid typo somewhere, but I lack experience to find. BTW, the some code is taken from 2.4.18 kernel...
Can anyone please tell me where to look ?

Thanks, Tom









--
Tomas Vrana  <tom@voda.cz>
--------------------------
VODA IT consulting, Borkovany 48, 691 75
http://www.voda.cz/
phone: +420 519 419 416 mobile: +420 603 469 305 UIN: 105142752






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