You need to change the following line
# include
with
# include
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
This page https://patchwork.kernel.org/patch/72714/ gave me the idea
Confirmed.This appears to effect both the closed-source and open source
versions' DKMS modules. (I'm also on Maverick with .38-rc1 using the PPA
of Virtualbox).
I've tried stepping through the DKMS script but it's a nightmare to
follow if, like me, you're not really sure what you're looking at.
-
This is affecting me also, running 10.10 with the latest 2.6.38RC1
kernel amd64, however I am running 4.0.2 package version.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/705593
Title:
package virtu
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/705593
Title:
package virtualbox-ose-dkms 3.2.8-dfsg-2ubuntu1 failed to
install/upgrade: virtualbox-ose kernel module failed to build
--
ubuntu-bug