Hello, today I tried to compile the 2.4.20 kernel.
I had the following error: gcc -D__KERNEL__ -I/var/src/linux-2.4.20-pre7/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I /var/src/linux-2.4.20-pre7/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -mcpu=r4600 -mips2 -Wa,--trap -nostdinc -iwithprefix include -DKBUILD_BASENAME=binfmt_elf -c -o binfmt_elf.o binfmt_elf.c binfmt_elf.c: In function oad_elf_interp': binfmt_elf.c:278: F_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: F_MIPS_ABI' undeclared (first use in this function) binfmt_elf.c: In function oad_elf_binary': binfmt_elf.c:458: F_MIPS_ABI2' undeclared (first use in this function) binfmt_elf.c:458: F_MIPS_ABI' undeclared (first use in this function) binfmt_elf.c: In function oad_elf_library': binfmt_elf.c:825: F_MIPS_ABI2' undeclared (first use in this function) binfmt_elf.c:825: F_MIPS_ABI' undeclared (first use in this function) make[2]: *** [binfmt_elf.o] Error 1 After a search I found out, that some parts of "include/linux/elf.h" have changed. There are some *_MIPS_* commands missing. I added at line 42 the following: #define EF_MIPS_ABI 0x0000f000 #define EF_MIPS_ABI2 0x00000020 and the error was gone. The last problem I have is this, when the make try to build the vmlinux: arch/mips/sgi-ip22/ip22-kern.o: In function 'ip22_setup': arch/mips/sgi-ip22/ip22-kern.o(.text.init+0xa44): undefined reference to 'console_setup' and the vmlinux is not created. I searched around with google, but didn't find something to console_setup- I changed a lot in the config from ARC to SGI Newport Console to Serial Console, but nothing works. I have a R5000 cpu, maybe there is the problem? Thx for any hints marty

