$ make V=1 KBUILD_CFLAGS="-fno-tree-scev-cprop" rm -f include/config/kernel.release echo 2.6.25-rc4 > include/config/kernel.release set -e; :; mkdir -p include/linux/; (echo \#define LINUX_VERSION_CODE 132633; echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))';) < /data/Scratch/scm/linux-2.6-git/Makefile > include/linux/version.h.tmp; if [ -r include/linux/version.h ] && cmp -s include/linux/version.h include/linux/version.h.tmp; then rm -f include/linux/version.h.tmp; else :; mv -f include/linux/version.h.tmp include/linux/version.h; fi set -e; :; mkdir -p include/linux/; if [ `echo -n "2.6.25-rc4" | wc -c ` -gt 64 ]; then echo '"2.6.25-rc4" exceeds 64 characters' >&2; exit 1; fi; (echo \#define UTS_RELEASE \"2.6.25-rc4\";) < include/config/kernel.release > include/linux/utsrelease.h.tmp; if [ -r include/linux/utsrelease.h ] && cmp -s include/linux/utsrelease.h include/linux/utsrelease.h.tmp; then rm -f include/linux/utsrelease.h.tmp; else :; mv -f include/linux/utsrelease.h.tmp include/linux/utsrelease.h; fi set -e; asmlink=`readlink include/asm | cut -d '-' -f 2`; \ if [ -L include/asm ]; then \ if [ "$asmlink" != "x86" ]; then \ echo "ERROR: the symlink include/asm points to asm-$asmlink but asm-x86 was expected"; \ echo " set ARCH or save .config and run 'make mrproper' to fix it"; \ exit 1; \ fi; \ else \ echo ' SYMLINK include/asm -> include/asm-x86'; \ if [ ! -d include ]; then \ mkdir -p include; \ fi; \ ln -fsn asm-x86 include/asm; \ fi mkdir -p .tmp_versions ; rm -f .tmp_versions/* make -f scripts/Makefile.build obj=scripts/basic (cat /dev/null; ) > scripts/basic/modules.order make -f scripts/Makefile.build obj=. (cat /dev/null; ) > modules.order mkdir -p arch/x86/kernel/ gcc -Wp,-MD,arch/x86/kernel/.asm-offsets.s.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.0/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -fno-tree-scev-cprop -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)" -D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)" -fverbose-asm -S -o arch/x86/kernel/asm-offsets.s arch/x86/kernel/asm-offsets.c In file included from include/asm/irq.h:2, from include/linux/kernel_stat.h:4, from include/asm/i387.h:14, from include/asm/suspend_32.h:7, from include/asm/suspend.h:2, from include/linux/suspend.h:5, from arch/x86/kernel/asm-offsets_32.c:11, from arch/x86/kernel/asm-offsets.c:2: include/asm/irq_32.h:15:25: error: irq_vectors.h: No such file or directory In file included from include/asm/irq.h:2, from include/linux/kernel_stat.h:4, from include/asm/i387.h:14, from include/asm/suspend_32.h:7, from include/asm/suspend.h:2, from include/linux/suspend.h:5, from arch/x86/kernel/asm-offsets_32.c:11, from arch/x86/kernel/asm-offsets.c:2: include/asm/irq_32.h:49: error: ‘NR_VECTORS’ undeclared here (not in a function) In file included from include/asm/i387.h:14, from include/asm/suspend_32.h:7, from include/asm/suspend.h:2, from include/linux/suspend.h:5, from arch/x86/kernel/asm-offsets_32.c:11, from arch/x86/kernel/asm-offsets.c:2: include/linux/kernel_stat.h:31: error: ‘NR_IRQS’ undeclared here (not in a function) make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2