recipe for target 'vboxguest' failed
Posted: 3. Dec 2019, 17:16
Using Version 6.0.14 r133895 (Qt5.9.5) on Ubuntu 18.04.3LTS (fully updated) with kernel 5.0.0-37-generic. I can no longer use the vboxguest (can't find version number, all .iso files dated 10 Oct. 2019) -- however the VM (XP Pro) boots without problems. From logs:
Any suggestions would be welcomed.
Thanks -- Paul
Code: Select all
Error building the module. Build output follows.
make V=1 CONFIG_MODULE_SIG= -C /lib/modules/5.0.0-32-generic/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j8 modules
make[1]: warning: -jN forced in submake: disabling jobserver mode.
Makefile:223: ================= WARNING ================
Makefile:224: 'SUBDIRS' will be removed after Linux 5.3
Makefile:225: Please use 'M=' or 'KBUILD_EXTMOD' instead
Makefile:226: ==========================================
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)
/... snip .../
/tmp/vbox.0/r0drv/linux/memuserkernel-r0drv-linux.c: In function ‘VBoxGuest_RTR0MemUserIsValidAddr’:
/tmp/vbox.0/r0drv/linux/memuserkernel-r0drv-linux.c:69:55: error: macro "access_ok" passed 3 arguments, but takes just 2
bool fRc = access_ok(VERIFY_READ, (void *)R3Ptr, 1);
^
/tmp/vbox.0/r0drv/linux/memuserkernel-r0drv-linux.c:69:16: error: ‘access_ok’ undeclared (first use in this function)
bool fRc = access_ok(VERIFY_READ, (void *)R3Ptr, 1);
^~~~~~~~~
/tmp/vbox.0/r0drv/linux/memuserkernel-r0drv-linux.c:69:16: note: each undeclared identifier is reported only once for each function it appears in
scripts/Makefile.build:284: recipe for target '/tmp/vbox.0/r0drv/linux/memuserkernel-r0drv-linux.o' failed
make[2]: *** [/tmp/vbox.0/r0drv/linux/memuserkernel-r0drv-linux.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:1614: recipe for target '_module_/tmp/vbox.0' failed
make[1]: *** [_module_/tmp/vbox.0] Error 2
/tmp/vbox.0/Makefile.include.footer:106: recipe for target 'vboxguest' failed
make: *** [vboxguest] Error 2
modprobe vboxguest failedThanks -- Paul