hi! I'm trying to cross compile a 2.4.20 kernel on i386. Everything seems to be fine but at the end of the compilatin I got errors: mips-linux-gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I /usr/src/linux-2.4.20/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -mips2 -Wa,--trap -nostdinc -iwithprefix include -DKBUILD_BASENAME=binfmt_elf -c -o binfmt_elf.o binfmt_elf.c binfmt_elf.c: In function `load_elf_interp': binfmt_elf.c:278: `EF_MIPS_ABI2' undeclared (first use in this function) binfmt_elf.c:278: (Each undeclared identifier is reported only once binfmt_elf.c:278: for each function it appears in.) binfmt_elf.c:278: `EF_MIPS_ABI' undeclared (first use in this function) binfmt_elf.c: In function `load_elf_binary': binfmt_elf.c:458: `EF_MIPS_ABI2' undeclared (first use in this function) binfmt_elf.c:458: `EF_MIPS_ABI' undeclared (first use in this function) binfmt_elf.c: In function `load_elf_library': binfmt_elf.c:825: `EF_MIPS_ABI2' undeclared (first use in this function) binfmt_elf.c:825: `EF_MIPS_ABI' undeclared (first use in this function) make[2]: *** [binfmt_elf.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.20/fs' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.20/fs' make: *** [_dir_fs] Error 2 I also tried with the latest prepatch but it's the same. I'm usng gcc 3.2.3 and binutils 2.13. Does somebody know a working linux kernel on MIPS? thanks, gabor