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

Toralf Förster
2013-04-12T17:26:35Z

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