Linux MIPS Architecture development
 help / color / mirror / Atom feed
* kernel compilation fails
@ 2005-06-15 21:54 Tom Vrána
  2005-06-16 10:16 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Vrána @ 2005-06-15 21:54 UTC (permalink / raw)
  To: linux-mips

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: kernel compilation fails
  2005-06-15 21:54 kernel compilation fails Tom Vrána
@ 2005-06-16 10:16 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2005-06-16 10:16 UTC (permalink / raw)
  To: Tom Vrána; +Cc: linux-mips

On Wed, Jun 15, 2005 at 11:54:18PM +0200, Tom Vrána wrote:

> 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 

> 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 ?

Sympthoms of a botched makefile transplant, it's lacking the
USE_STANDARD_AS_RULE thing.

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-16 10:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-15 21:54 kernel compilation fails Tom Vrána
2005-06-16 10:16 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox