2.5.21 make problem
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · John covici
Cleaning up (boot)
make[2]: Entering directory/usr/src/linux-2.5.21/arch/i386/boot/compressed' make[2]: Leaving directory/usr/src/linux-2.5.21/arch/i386/boot/compressed' make[1]: Leaving directory `/usr/src/linux-2.5.21/arch/i386/boot' Cleaning up
make[1]: Entering directory `/usr/src/linux-2.5.21/Documentation/DocBook' Cleaning up (DocBook)
Quoted 8 lines
make[1]: Leaving directory `/usr/src/linux-2.5.21/Documentation/DocBook'
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. make[1]: Leaving directory `/usr/src/linux-2.5.21/arch/i386/boot'
make: *** [bzImage] Error 2
What's the command line you're using? It seems like you have "make clean" in there, no big surprise that that breaks.
Quoted 15 lines
on Saturday 06/15/2002 Kai Germaschewski([email protected]) wrote
Quoted 14 lines · John covici
Quoted 6 lines
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.hdoes 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_hexecutable?
You applied patches which affect the build without mentioning them. You didn't answer a single question I asked. That makes it hard to help you.
--Kai
I had the bright idea of taking the clean out of there, so I was left with
make dep bzImage modules_install 2>&1 |tee foo
but that didn't help -- thought it would.
on Saturday 06/15/2002 Kai Germaschewski([email protected]) wrote
Quoted 42 lines · John covici
Quoted 16 lines
Cleaning up (boot)
make[2]: Entering directory `/usr/src/linux-2.5.21/arch/i386/boot/compressed'
make[2]: Leaving directory `/usr/src/linux-2.5.21/arch/i386/boot/compressed'
make[1]: Leaving directory `/usr/src/linux-2.5.21/arch/i386/boot'
Cleaning up
make[1]: Entering directory `/usr/src/linux-2.5.21/Documentation/DocBook'
Cleaning up (DocBook)
make[1]: Leaving directory `/usr/src/linux-2.5.21/Documentation/DocBook'
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. make[1]: Leaving directory `/usr/src/linux-2.5.21/arch/i386/boot'
make: *** [bzImage] Error 2What's the command line you're using? It seems like you have "make clean" in there, no big surprise that that breaks.
Quoted 15 lines
on Saturday 06/15/2002 Kai Germaschewski([email protected]) wrote
Quoted 14 lines · John covici
Quoted 6 lines
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.hdoes 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_hexecutable?You applied patches which affect the build without mentioning them. You didn't answer a single question I asked. That makes it hard to help you.
--Kai
Signature · 2 lines
John Covici
[email protected]Quoted 5 lines · John covici
I had the bright idea of taking the clean out of there, so I was left with
make dep bzImagemodules_install2>&1 |tee foobut that didn't help -- thought it would.
I have once seen something similar.
Have you tried "make mrproper" to clean up and try again?
Sam
I did the mrproper then the make with the clean and then the make without the clean in that order and still no results.
on Sunday 06/16/2002 Sam Ravnborg([email protected]) wrote
Quoted 11 lines · John covici
Quoted 5 lines
I had the bright idea of taking the clean out of there, so I was left with
make dep bzImagemodules_install2>&1 |tee foobut that didn't help -- thought it would.
I have once seen something similar.
Have you tried "make mrproper" to clean up and try again?Sam
Signature · 2 lines
John Covici
[email protected]Quoted 2 lines · John covici
I did the mrproper then the make with the clean and then the make without the clean in that order and still no results.
Could you mail me your .config and the exact commands which lead to the failure (off-list). Actually, can you send your top-level Makefile as well.
Can you reproduce the problem on an clean kernel.org tree (no further patches applied? I suspect something went wrong with the extra patches you applied.
--Kai