Building kernel drivers for newer kernels requires gcc 4.9. Workaround steps:
apt-get install gcc-4.9 rm /usr/bin/gcc ln -s /usr/bin/gcc-4.9 /usr/bin/gcc dpkg-reconfigure virtualbox-dkms
Building kernel drivers for newer kernels requires gcc 4.9. Workaround steps:
apt-get install gcc-4.9
rm /usr/bin/gcc
ln -s /usr/bin/gcc-4.9 /usr/bin/gcc
dpkg-reconfigure virtualbox-dkms