Description
my hardware is a raspberry pi 3 modell b with debian stretch lite installed, openhab2 already running.
*** make modules_prepare
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
.config:803:warning: symbol value 'm' invalid for NF_CT_PROTO_DCCP
.config:805:warning: symbol value 'm' invalid for NF_CT_PROTO_SCTP
.config:806:warning: symbol value 'm' invalid for NF_CT_PROTO_UDPLITE
.config:823:warning: symbol value 'm' invalid for NF_NAT_PROTO_DCCP
.config:824:warning: symbol value 'm' invalid for NF_NAT_PROTO_UDPLITE
.config:825:warning: symbol value 'm' invalid for NF_NAT_PROTO_SCTP
*
- Restart config...
- IRQ subsystem
Expose hardware/virtual IRQ mapping via debugfs (IRQ_DOMAIN_DEBUG) [N/y/?] n
Expose irq internals in debugfs (GENERIC_IRQ_DEBUGFS) [N/y/?] (NEW) aborted!
Console input/output is redirected. Run 'make oldconfig' to update configuration.
scripts/kconfig/Makefile:38: recipe for target 'silentoldconfig' failed
make[2]: *** [silentoldconfig] Error 1
Makefile:544: recipe for target 'silentoldconfig' failed
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target 'modules_prepare'. Stop.
Traceback (most recent call last):
File "/opt/YAHM/share/tools/rpi-source/rpi-source", line 379, in
sh("cd %s && make modules_prepare %s" % (linux_symlink, (" > /dev/null" if args.quiet else "")))
File "/opt/YAHM/share/tools/rpi-source/rpi-source", line 85, in sh
subprocess.check_call(cmd, shell=True)
File "/usr/lib/python2.7/subprocess.py", line 186, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'cd /usr/src/linux && make modules_prepare ' returned non-zero exit status 2
Blocking new kernel updates, please do not use rpi-update anymore, or run this module after kernel update again
Installing kernel modules
Building eq3 kernel modules
make -C /lib/modules/4.9.80-v7+/build M=/tmp/tmp.EPCexVQm5I/kernel modules
make[1]: Entering directory '/usr/src/linux-80a14a56dacb7cc2b40d5f37d00bedb0ceace130'
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
CC [M] /tmp/tmp.EPCexVQm5I/kernel/eq3_char_loop.o
In file included from :0:0:
././include/linux/kconfig.h:5:32: fatal error: generated/autoconf.h: No such file or directory
#include <generated/autoconf.h>
^
compilation terminated.
scripts/Makefile.build:326: recipe for target '/tmp/tmp.EPCexVQm5I/kernel/eq3_char_loop.o' failed
make[2]: *** [/tmp/tmp.EPCexVQm5I/kernel/eq3_char_loop.o] Error 1
Makefile:1508: recipe for target 'module/tmp/tmp.EPCexVQm5I/kernel' failed
make[1]: *** [module/tmp/tmp.EPCexVQm5I/kernel] Error 2
make[1]: Leaving directory '/usr/src/linux-80a14a56dacb7cc2b40d5f37d00bedb0ceace130'
Makefile:16: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: Problem while building eq3 module, exit