You need to change the following line
# include <linux/autoconf.h>
with
# include <generated/autoconf.h>
on every .h file in the /usr/share/virtualbox/src/vboxhost directory.
After that it compiles with no problem with DKMS. Just use
sudo /etc/init.d/vboxdrv setup
You need to change the following line autoconf. h> virtualbox/ src/vboxhost directory.
# include <linux/autoconf.h>
with
# include <generated/
on every .h file in the /usr/share/
After that it compiles with no problem with DKMS. Just use
sudo /etc/init.d/vboxdrv setup
This page https:/ /patchwork. kernel. org/patch/ 72714/ gave me the idea ...