Messages in this thread |  | | From | David Howells <> | | Subject | Re: [3.7-rc6] Build failure with scripts/Makefile.headersinst | | Date | Mon, 19 Nov 2012 11:10:15 +0000 |
| |
Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> 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
|  |