All of lore.kernel.org
 help / color / mirror / Atom feed
* Issue with make -j4 when building in separate tree.
@ 2006-05-24 20:49 Ben Greear
  2006-05-24 21:31 ` Michal Piotrowski
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Greear @ 2006-05-24 20:49 UTC (permalink / raw)
  To: linux-kernel

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@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Issue with make -j4 when building in separate tree.
  2006-05-24 20:49 Issue with make -j4 when building in separate tree Ben Greear
@ 2006-05-24 21:31 ` Michal Piotrowski
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Piotrowski @ 2006-05-24 21:31 UTC (permalink / raw)
  To: Ben Greear; +Cc: linux-kernel

Hi Ben,

On 24/05/06, Ben Greear <greearb@candelatech.com> wrote:
> 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

Please try
make -j4 O=~/kernel/2.6/linux-2.6.16.k6/

Regards,
Michal

-- 
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-05-24 21:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-24 20:49 Issue with make -j4 when building in separate tree Ben Greear
2006-05-24 21:31 ` Michal Piotrowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.