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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1521734 Title: virtualbox-dkms 5.0.10-dfsg-2ubuntu1: virtualbox kernel module failed to build [gcc: error: unrecognized command line option ‘-fstack- protector-strong’] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1521734/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs