2.5.21 make problem
Hi. I am having a terrible time compiling 2.5.21 -- first some missing includes which I think I have fixed and now at the very end of the process after the modules have been installed I get the following:
make[1]: Entering directory `/usr/src/linux-2.5.21/arch/i386/boot'
gcc -E -D__BIG_KERNEL__ -traditional -DSVGA_MODE=NORMAL_VGA -DRAMDISK=512 bootsect.S -o bbootsect.s as -o bbootsect.o bbootsect.s
ld -m elf_i386 -Ttext 0x0 -s --oformat binary bbootsect.o -o bbootsect
make[1]: *** No rule to make target /usr/src/linux-2.5.21/include/linux/compile.h', needed by bsetup.s'. Stop.
Any help would be appreciated with this.
Signature · 2 lines
John Covici
[email protected]Quoted 5 lines · John covici
make[1]: Entering directory `/usr/src/linux-2.5.21/arch/i386/boot'
gcc -E -D__BIG_KERNEL__ -traditional -DSVGA_MODE=NORMAL_VGA -DRAMDISK=512bootsect.S-o bbootsect.s as -o bbootsect.o bbootsect.s
ld -melf_i386-Ttext0x0-s --oformat binary bbootsect.o -o bbootsect
make[1]: *** No rule to make target/usr/src/linux-2.5.21/include/linux/compile.h', needed bybsetup.s'. Stop.
I suppose that means that compile.h does not exist at that location, for whichever reason. If you do "make" (or just "make SUBDIRS=init"), it should be generated. Does it output something something like "Generating ../include/linux/compile.h"?
Is scripts/mkcompile_h executable?
--Kai