Compile error with 2.6.15
I'm trying to compile out of a git repo (2.6.15) into a new directory, but it's failing:
[greear@xeon-dt linux-2.6]$ make O=~/kernel/2.6/linux-2.6.15.p4s bzImage Using /home/greear/git/linux-2.6 as source for kernel
GEN /home/greear/kernel/2.6/linux-2.6.15.p4s/Makefile
CHK include/linux/version.h CHK include/linux/compile.h CHK usr/initramfs_list AS arch/i386/kernel/entry.o
In file included from /home/greear/git/linux-2.6/arch/i386/kernel/entry.S:45:include2/asm/thread_info.h:51: asm/asm-offsets.h: No such file or directory make[2]: *** [arch/i386/kernel/entry.o] Error 1
make[1]: *** [arch/i386/kernel] Error 2
make: *** [bzImage] Error 2
[greear@xeon-dt linux-2.6]$
Any ideas?
Thanks,
Ben
Signature · 2 lines
Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com
Bleh..not reproducible if I leave out the initial -j4 that I used the first build attempt...
Guess it is probably not a real problem...
Ben
Quoted 22 lines · Ben Greear
I'm trying to compile out of a git repo (2.6.15) into a new directory, but it's failing:
[greear@xeon-dt linux-2.6]$ make O=~/kernel/2.6/linux-2.6.15.p4s bzImage Using
/home/greear/git/linux-2.6as source for kernel
GEN/home/greear/kernel/2.6/linux-2.6.15.p4s/MakefileCHK include/linux/version.h CHK include/linux/compile.h CHK usr/initramfs_list AS arch/i386/kernel/entry.oIn file included from
/home/greear/git/linux-2.6/arch/i386/kernel/entry.S:45:include2/asm/thread_info.h:51:asm/asm-offsets.h: No such file or directory make[2]: *** [arch/i386/kernel/entry.o] Error 1
make[1]: *** [arch/i386/kernel] Error 2
make: *** [bzImage] Error 2
[greear@xeon-dt linux-2.6]$Any ideas?
Thanks,
Ben
Signature · 2 lines
Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com
Quoted 1 line
Guess it is probably not a real problem...
Or, it's probably a real problem. The asm-offsets.h file has a long history of being a thorn in the side of Makefiles, including race conditions (such as you saw with -j4). There is a natural circular dependency in the construction of the asm-offsets.h file and the rest of the build that's tricky to get right.
Whether or not someone sees enough evidence yet to deal with this instance of that breakage ... that's another matter.
Often this kind of breakage remains until someone with the right mental weapons gets bit by it, and goes hunting it down.
Signature · 3 lines
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <[email protected]> 1.925.600.0401