VirtualBox Guest Additions: Building the modules for kernel 5.11.0-43-generic.
VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what
went wrong
VirtualBox Guest Additions: Running kernel modules will not be replaced until
the system is restarted
tfl@116:/media/tfl/VBox_GAs_6.1.0$ cat /var/log/vboxadd-setup.log
Building the main Guest Additions 6.1.0_RC1 module for kernel 5.11.0-43-generic.
Error building the module. Build output follows.
make V=1 CONFIG_MODULE_SIG= CONFIG_MODULE_SIG_ALL= -C /lib/modules/5.11.0-43-generic/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j3 modules
make[1]: warning: -j3 forced in submake: resetting jobserver mode.
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
make -f ./scripts/Makefile.build obj=/tmp/vbox.0 \
已安装linux-kernel-5.11.0-43-generic
在/usr/src/linux-headers-5.11.0-43-generic下编译出错
make[1]: *** 没有规则可制作目标“arch/x86/tools/relocs_32.c”,由“arch/x86/tools/relocs_32.o” 需求。 停止。
make: *** [arch/x86/Makefile:211:archscripts] 错误 2
哪位大神有经验解决?
VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what
went wrong
VirtualBox Guest Additions: Running kernel modules will not be replaced until
the system is restarted
tfl@116:/media/tfl/VBox_GAs_6.1.0$ cat /var/log/vboxadd-setup.log
Building the main Guest Additions 6.1.0_RC1 module for kernel 5.11.0-43-generic.
Error building the module. Build output follows.
make V=1 CONFIG_MODULE_SIG= CONFIG_MODULE_SIG_ALL= -C /lib/modules/5.11.0-43-generic/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j3 modules
make[1]: warning: -j3 forced in submake: resetting jobserver mode.
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
make -f ./scripts/Makefile.build obj=/tmp/vbox.0 \
已安装linux-kernel-5.11.0-43-generic
在/usr/src/linux-headers-5.11.0-43-generic下编译出错
make[1]: *** 没有规则可制作目标“arch/x86/tools/relocs_32.c”,由“arch/x86/tools/relocs_32.o” 需求。 停止。
make: *** [arch/x86/Makefile:211:archscripts] 错误 2
哪位大神有经验解决?