On Tue, Apr 01, 2003 at 12:05:18PM +0530, Neeraj Garg, Noida wrote: > Using compilation options: > mips-linux-gcc -D__KERNEL__ -D__linux__ -D_MIPS_SZLONG=32 > -I/usr/emb_linux/linux-2.4.20/include -D__linux__ -Wall -Wstrict-prototypes > -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I > /usr/emb_linux/linux-2.4.20/include/asm/gcc -G 0 -mno-abicalls -fno-pic > -pipe -g -mcpu=r4600 -mips2 -Wa,--trap -DUTS_MACHINE='"mips"' > > I have got a tons of warnings named as: > {standard input}: Assembler messages: > {standard input}:784: Warning: Macro instruction expanded into multiple > instructions > {standard input}:784: Warning: No .cprestore pseudo-op used in PIC code > > Can anybody help out to remove these warnings? The options -D__linux__ -D_MIPS_SZLONG=32 and the error messages make it look like you're forcing a non-Linux toolchain into building a kernel. Ralf