[SOLVED] DKMS Error, I am unable to rebuild the kernel, VirturaBox 4.3.14
Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
DKMS Error, I am unable to rebuild the kernel, VirturaBox 4.3.14
I can open VirtualBox but when I start a virtual machine I get, "Kernel driver not installed (rc=-1908)"... The error tells me to run '/etc/init.d/vboxdrv setup'
When I do I get:
Code:
linux-gsly:/home/eric # /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules done
Uninstalling old VirtualBox DKMS kernel modules done
Trying to register the VirtualBox kernel modules using DKMSError! Bad return status for module build on kernel: 3.16.1-8.g2ab6585-pae (i686)
Consult /var/lib/dkms/vboxhost/4.3.14/build/make.log for more information.
failed
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules failed
(Look at /var/log/vbox-install.log to find out what went wrong)
When I open the make.log for more information I get:
Quote:
DKMS make.log for vboxhost-4.3.14 for kernel 3.16.1-8.g2ab6585-pae (i686)
Sat Sep 6 10:44:37 EDT 2014
make: Entering directory `/usr/src/linux-3.16.1-8.g2ab6585-obj/i386/pae'
make[1]: Entering directory `/usr/src/linux-3.16.1-8.g2ab6585-obj/i386/pae'
/usr/src/linux-3.16.1-8.g2ab6585/scripts/gcc-version.sh: line 25: gcc: command not found
/usr/src/linux-3.16.1-8.g2ab6585/scripts/gcc-version.sh: line 26: gcc: command not found
/usr/src/linux-3.16.1-8.g2ab6585/arch/x86/Makefile:121: stack-protector enabled but compiler support broken
/usr/src/linux-3.16.1-8.g2ab6585/Makefile:663: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
make[2]: gcc: Command not found
LD /var/lib/dkms/vboxhost/4.3.14/build/built-in.o
LD /var/lib/dkms/vboxhost/4.3.14/build/vboxdrv/built-in.o
CC [M] /var/lib/dkms/vboxhost/4.3.14/build/vboxdrv/linux/SUPDrv-linux.o
/bin/sh: gcc: command not found
make[4]: *** [/var/lib/dkms/vboxhost/4.3.14/build/vboxdrv/linux/SUPDrv-linux.o] Error 127
make[3]: *** [/var/lib/dkms/vboxhost/4.3.14/build/vboxdrv] Error 2
make[2]: *** [_module_/var/lib/dkms/vboxhost/4.3.14/build] Error 2
make[1]: *** [sub-make] Error 2
make: *** [__sub-make] Error 2
make: Leaving directory `/usr/src/linux-3.16.1-8.g2ab6585-obj/i386/pae'
Looking closer at the first error
Quote:
/usr/src/linux-3.16.1-8.g2ab6585/scripts/gcc-version.sh: line 25: gcc: command not found
That folder does not exist.
I'm not sure what is supposed to generate that folder and it's contents, but I seem to be missing something.
Thanks in advance for any help.
Nice. Opened YaST, searched gcc, installed gcc and it's dependencies now it works! I didn't know that gcc was something that I needed to install. Thanks again, that's 2 for 2.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.