problem building guest tools on xubuntu 16.10
Posted: 24. Jan 2017, 07:09
My host machine runs xubuntu 16.04, and i've built a virtualbox guest on it running xubuntu 16.10.
For virtualbox itself i installed these ubuntu packages:
It made a directory, on the guest, in /media/<<USERNAME>>/VBOXADDITIONS_5.0.24_108355
In that directory, i ran
Following suggestions on the net, i installed these packages on the guest:
/lib/modules/4.8.0-22-generic/build/include/linux/version.h
although the actual error as recorded in vboxadd-install.log looks like the
function mod_timer_pinned does not have a declaration.
According to the internet, this error (missing 'version.h' file) comes up from time to time (at least every few years), and it also came up in October and November of 2016, although i cannot tell what the solution is from googling. (Looks like the sufferers either fixed the problem, or gave up on it, but without leaving a trace on the net.)
One of my xubuntu colleagues has suggested that there's something wrong with the build path; another advised me to raise the question here.
So i'd appreciate any clues on how to get these guest additions to compile, and TIA!
dan
For virtualbox itself i installed these ubuntu packages:
- virtualbox
virtualbox-guest-additions-iso
virtualbox-ext-pack
vde2
virtualbox-qt
It made a directory, on the guest, in /media/<<USERNAME>>/VBOXADDITIONS_5.0.24_108355
In that directory, i ran
sudo ./VBoxLinuxAdditions.runbut with a lot of failures.
Following suggestions on the net, i installed these packages on the guest:
- xserver-xorg
xserver-xorg-core
build-essential
sudo apt-get install linux-headers-$(uname -r)but got the response:
linux-headers-4.8.0-22-generic is already the newest version.The error message from VBoxLinuxAdditions.run talks about inability to find
/lib/modules/4.8.0-22-generic/build/include/linux/version.h
although the actual error as recorded in vboxadd-install.log looks like the
function mod_timer_pinned does not have a declaration.
According to the internet, this error (missing 'version.h' file) comes up from time to time (at least every few years), and it also came up in October and November of 2016, although i cannot tell what the solution is from googling. (Looks like the sufferers either fixed the problem, or gave up on it, but without leaving a trace on the net.)
One of my xubuntu colleagues has suggested that there's something wrong with the build path; another advised me to raise the question here.
So i'd appreciate any clues on how to get these guest additions to compile, and TIA!
dan