Issue with make -j4 when building in separate tree.

From: Ben Greear
Date: Wed May 24 2006 - 16:49:13 EST


There seems to be a dependency problem when running
make with multiple jobs (-j4).

I am compiling 2.6.16.16 in a separate tree. I created
the tree with the command:

[greear@xeon-dt linux-2.6.dev]$ make O=~/kernel/2.6/linux-2.6.16.k6/ xconfig

Then tried to build with this command.

[greear@xeon-dt linux-2.6.16.k6]$ make -j4 bzImage modules
make -C /home/greear/git/linux-2.6.dev O=/home/greear/kernel/2.6/linux-2.6.16.k6 bzImage
make -C /home/greear/git/linux-2.6.dev O=/home/greear/kernel/2.6/linux-2.6.16.k6 modules
GEN /home/greear/kernel/2.6/linux-2.6.16.k6/Makefile
GEN /home/greear/kernel/2.6/linux-2.6.16.k6/Makefile
CHK include/linux/version.h
CHK include/linux/version.h
UPD include/linux/version.h
UPD include/linux/version.h
mv: cannot stat `include/linux/version.h.tmp': No such file or directory
make[2]: *** [include/linux/version.h] Error 1
make[1]: *** [bzImage] Error 2
make: *** [bzImage] Error 2
make: *** Waiting for unfinished jobs....
SYMLINK include/asm -> include/asm-i386


This error has existed at least since 2.6.13.

Thanks,
Ben

--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc http://www.candelatech.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/