You are not logged in.

#1 2011-08-08 15:06:01

inch
Member
Registered: 2010-12-21
Posts: 49

[SOLVED] Virtualbox with 3.0 Kernel

Hello, Virtualbox is unable to compile the kernel modules because of the new location of the kernel sources.

Makefile:172: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.
cp: cannot stat `/tmp/vboxdrv-Module.symvers': No such file or directory
Makefile:94: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.
cp: cannot stat `/tmp/vboxdrv-Module.symvers': No such file or directory
Makefile:90: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.
cp: cannot stat `/tmp/vboxdrv-Module.symvers': No such file or directory
Makefile:94: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.

The Wiki suggests to reinstall the linux-headers, which I did but I didn't change anything. Help is very appreciated.

Last edited by inch (2011-08-10 16:36:55)

Offline

#2 2011-08-08 15:08:23

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] Virtualbox with 3.0 Kernel

are you sure your system is up-to-date?

If so, simply try

sudo /etc/rc.d/vboxdrv setup

I had no problems with that.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-08-08 15:16:04

inch
Member
Registered: 2010-12-21
Posts: 49

Re: [SOLVED] Virtualbox with 3.0 Kernel

Hi, thanks for your reply. Yes, I updated my system one hour ago, still gives me the same error sad

Last edited by inch (2011-08-08 15:16:25)

Offline

#4 2011-08-08 15:40:19

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: [SOLVED] Virtualbox with 3.0 Kernel

also the names of the packages may have changed. Make sure you have linux-headers and maybe the linux-api-headers installed.

Last edited by theringmaster (2011-08-08 15:41:35)


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

#5 2011-08-08 15:47:47

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Virtualbox with 3.0 Kernel

have you forgot to reboot after upgrading kernel?


Give what you have. To someone, it may be better than you dare to think.

Offline

#6 2011-08-08 15:55:02

inch
Member
Registered: 2010-12-21
Posts: 49

Re: [SOLVED] Virtualbox with 3.0 Kernel

theringmaster wrote:

also the names of the packages may have changed. Make sure you have linux-headers and maybe the linux-api-headers installed.

I didn't have the api headers, thanks! Works like a charm.

Offline

#7 2011-08-08 17:46:53

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: [SOLVED] Virtualbox with 3.0 Kernel

Great! I'm glad I could help. Now mark this thread as solved, please.


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

Board footer

Powered by FluxBB