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@xxxxxxx>
--------------------------
VODA IT consulting, Borkovany 48, 691 75
http://www.voda.cz/
phone: +420 519 419 416 mobile: +420 603 469 305 UIN: 105142752