[Fwd: kernel compilation fails]
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 <[email protected]>
Organization: VODA IT consulting
To: [email protected]
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
Signature · 5 lines
Tomas Vrana <[email protected]> -------------------------- VODA IT consulting, Borkovany 48, 691 75 http://www.voda.cz/ phone: +420 519 419 416 mobile: +420 603 469 305 UIN: 105142752