Re: build error with latest git kernel for a user mode linux build

richard -rw- weinberger
2013-04-12T17:41:18Z

On Fri, Apr 12, 2013 at 7:26 PM, Toralf Förster <toralf.foerster@gmx.de> wrote:
> On 04/12/2013 05:00 PM, richard -rw- weinberger wrote:
>> Did you specify ARCH=um and SUBARCH=?
> Only ARCH=um, but the full line give the same :
>
> $ make ARCH=um SUBARCH=x86
> scripts/kconfig/conf --silentoldconfig arch/x86/um/Kconfig
> CHK include/generated/uapi/linux/version.h
> make[3]: Nothing to be done for `all'.
> make[1]: `arch/x86/um/user-offsets.s' is up to date.
> CHK include/generated/utsrelease.h
> CC arch/um/kernel/asm-offsets.s
> In file included from /home/tfoerste/devel/linux/arch/um/include/asm/mman.h:5:0,
> from /home/tfoerste/devel/linux/arch/x86/um/shared/sysdep/kernel-offsets.h:5,
> from arch/um/kernel/asm-offsets.c:1:
> /home/tfoerste/devel/linux/arch/um/include/shared/as-layout.h:9:35: fatal error: generated/asm-offsets.h: No such file or directory
> compilation terminated.
> make[1]: *** [arch/um/kernel/asm-offsets.s] Error 1
> make: *** [prepare0] Error 2

You .config build perfectly fine here.
Have you tried a "make mrproper"?

Thanks,
//richard