Issue with make -j4 when building in separate tree.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:

[[email protected] linux-2.6.dev]$ make O=~/kernel/2.6/linux-2.6.16.k6/ xconfig

Then tried to build with this command.

[[email protected] 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 <[email protected]>
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux