Skip to contentSkip to conversation

2.5.21 make problem

DISCUSSION John covici 2 participants 2 messages Jun 15, 2002

lore
Share & tools
lore
#0 lore raw

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]
#1 lore raw
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=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.

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