Re: [3.7-rc6] Build failure with scripts/Makefile.headersinst

From: David Howells
Date: Mon Nov 19 2012 - 06:10:45 EST


Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> wrote:

> /usr/src/all/linux/scripts/Makefile.headersinst:50: *** Missing UAPI file /usr/src/all/linux/include/uapi/asm-generic/auxvec.h. Stop.

That line is here:

input-files := $(foreach hdr, $(header-y), \
$(or \
$(wildcard $(srcdir)/$(hdr)), \
$(wildcard $(oldsrcdir)/$(hdr)), \
---> $(error Missing UAPI file $(srcdir)/$(hdr)) \
)) \
$(foreach hdr, $(genhdr-y), \
$(or \
$(wildcard $(gendir)/$(hdr)), \
$(error Missing generated UAPI file $(gendir)/$(hdr)) \
))

The version of the compiler shouldn't have any effect as far as I can see.
Can you add the following:

$(info XXXX $(srcdir)/$(hdr)) \
$(info YYYY $(oldsrcdir)/$(hdr)) \

immediately before the marked line and look for the lines in the output from
make. The error suggests that neither pattern match worked.

Btw, are you supplying an O= flag to make when you build?

David
--
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/