Re: [kbuild-all] make[2]: *** No rule to make target 'tools/testing/nvdimm//config_check.o', needed by 'tools/testing/nvdimm//dax.o'.

From: Dan Williams
Date: Wed Aug 24 2016 - 11:07:20 EST


On Tue, Aug 23, 2016 at 7:47 PM, Fengguang Wu <fengguang.wu@xxxxxxxxx> wrote:
> On Tue, Aug 23, 2016 at 04:42:15PM -0700, Dan Williams wrote:
>> I was not able to reproduce this, I tried on Fedora 23 and Fedora 24
>> and both attempts succeeded.
>
>
> Hi Dan, it looks the error only happens with separated obj dir, when
> KBUILD_OUTPUT or "-C .. O=.." is used in make command line.

The following worked for me, what am I missing?

$ make -j 64 O=$HOME/git/obj 2>out; make -j 64 O=$HOME/git/obj
M=tools/testing/nvdimm 2>>out;