VirtualBox failed with the message that it needs to be recompiled for my kernel version. How would I do this? Where do i get the headers/etc needed to do this? (When I look in YAST, I don’t see kernel-headers or kernel-devel)
My kernel version: Linux 2.6.27.37-0.1-default i686
Oddly enough, no. I checked because I thought that was the error but nope. I’m not a member of that group, in fact that group was never created and yet everything works.
Stopping VirtualBox kernel module done
Recompiling VirtualBox kernel module failed
(Look at /var/log/vbox-install.log to find out what went wrong)
And the log file mentioned contains:
Makefile:150: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
make KBUILD_VERBOSE=1 -C /usr/src/linux SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (
echo;
echo " ERROR: Kernel configuration is invalid.";
echo " include/linux/autoconf.h or include/config/auto.conf are missing.";
echo " Run ‘make oldconfig && make prepare’ on kernel src to fix it.";
echo;
/bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
WARNING: Symbol version dump /usr/src/linux-2.6.31.5-0.1/Module.symvers
is missing; modules will have no dependencies and modversions.
One item I also ran into was that OpenSuse was booting into PAE kernel thus failing to compile the VirtualBox modules. I rebooted into the “default” kernel and it works fine.