I just ran apt-get update && apt-get upgrade, sure enough, a new kernel was downloaded.
Due to a non-standard wifi chip, I always run KMS before rebooting, giving the new kernel version as an argument. (The automatic install on reboot didn't work so well in the past) It seems now that something is not right with the new kernel headers. I have not rebooted yet, out of fear the system might be unstable then.
/usr/src/linux-headers-4.16.8-cubox# make -s scripts
scripts/selinux/genheaders/genheaders.c:19:22: fatal error: classmap.h: No such file or directory
#include "classmap.h"
^
compilation terminated.
scripts/Makefile.host:90: recipe for target 'scripts/selinux/genheaders/genheaders' failed
make[3]: *** [scripts/selinux/genheaders/genheaders] Error 1
scripts/Makefile.build:583: recipe for target 'scripts/selinux/genheaders' failed
make[2]: *** [scripts/selinux/genheaders] Error 2
scripts/Makefile.build:583: recipe for target 'scripts/selinux' failed
make[1]: *** [scripts/selinux] Error 2
Makefile:566: recipe for target 'scripts' failed
make: *** [scripts] Error 2
Modules_prepare:
/usr/src/linux-headers-4.16.8-cubox# make modules_prepare
LEX scripts/kconfig/zconf.lex.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
make[1]: *** No rule to make target 'arch/arm/tools/syscall.tbl', needed by 'arch/arm/include/generated/uapi/asm/unistd-common.h'. Stop.
arch/arm/Makefile:322: recipe for target 'archheaders' failed
make: *** [archheaders] Error 2
headers_check:
/usr/src/linux-headers-4.16.8-cubox# make headers_check
CHK include/generated/uapi/linux/version.h
make[1]: *** No rule to make target 'arch/arm/tools/syscall.tbl', needed by 'arch/arm/include/generated/uapi/asm/unistd-common.h'. Stop.
arch/arm/Makefile:322: recipe for target 'archheaders' failed
make: *** [archheaders] Error 2
Last bits of log from compiling the kernel module for wifi:
LD [M] /var/lib/dkms/rtl8812AU/4.3.20/build/8812au.o
Building modules, stage 2.
MODPOST 1 modules
/bin/sh: 1: scripts/mod/modpost: not found
scripts/Makefile.modpost:92: recipe for target '__modpost' failed
make[2]: *** [__modpost] Error 127
Makefile:1564: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.16.8-cubox'
Makefile:1687: recipe for target 'modules' failed
make: *** [modules] Error 2
Question
Gymnae
I just ran apt-get update && apt-get upgrade, sure enough, a new kernel was downloaded.
Due to a non-standard wifi chip, I always run KMS before rebooting, giving the new kernel version as an argument. (The automatic install on reboot didn't work so well in the past) It seems now that something is not right with the new kernel headers. I have not rebooted yet, out of fear the system might be unstable then.
Log: http://ix.io/1djM
Compiling scripts:
Modules_prepare:
headers_check:
/usr/src/linux-headers-4.16.8-cubox# make headers_check CHK include/generated/uapi/linux/version.h make[1]: *** No rule to make target 'arch/arm/tools/syscall.tbl', needed by 'arch/arm/include/generated/uapi/asm/unistd-common.h'. Stop. arch/arm/Makefile:322: recipe for target 'archheaders' failed make: *** [archheaders] Error 2
Last bits of log from compiling the kernel module for wifi:
Link to comment
Share on other sites
4 answers to this question
Recommended Posts