views:

4345

answers:

2

I'm trying to compile the nvidia driver and the VirtualBox drives on openSUSE 11.2. Both compile fine (after the usual make oldconfig plus a partial build of the kernel) but when I try to load the modules, I get this error:

vboxdrv: no symbol version for module_layout

What's wrong? How do I fix this?

A: 

Found it. The package kernel-default-devel was missing. To install it, run this command as root:

zypper in kernel-default-devel
Aaron Digulla
+1  A: 

Not cogent to openSUSE, but under Ubuntu 10, I found that the solution was:

apt-get install dkms apt-get install linux-headers-2.6.32-24-generic unset KERN_DIR /etc/init.d/vboxadd setup #Although presumably if the apt-gets had been done first, the last two lines would be superfluous.

Hope this is useful to someone else down the way.

Judson