Folks, Thanks to @dacorsa and his post on the virtualbox forum, here is the "workaround" for the issue (this is to build the VirtualBox modules. different modules may be different)
1. Install gcc-8 sudo apt install gcc-8 g++-8 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 80 --slave /usr/bin/g++ g++ /usr/bin/g++-8 --slave /usr/bin/gcov gcov /usr/bin/gcov-8 if you now run gcc --version you will see that you have v8. 2. Next, issue the vboxconfig command: sudo /sbin/vboxconfig and voila. No need to recompile the kernel or anything. vbox started right after that. I am on kernel 5.5.0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1849348 Title: Greater than linux 5.4-rc4 headers -- Unable to build simple kernel module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1849348/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
