LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-31-2010, 08:02 PM   #1
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 294

Rep: Reputation: 39
VirtualBox 3.1.6 kernel @ SlackBuild error - kernel include dir


Hi again slackers,

I tried to build the virtualbox 3.1.6 kernel using the files from slackbuilds.org and I got this error that says it cannot find the kernel include directory.

My current kernel is 2.6.33.2 (slack 13.1).

I tried SOME_VAR=/usr/include --> (I forgot the exact variable name, but I used the variable name I saw in the error message) just a guess , but it didn't work of course.

Is it at /usr/src/linux-2.6.33.2/include or something like that? Or is there anything wrong with the slackbuild script?

Thanks in advance
 
Old 05-31-2010, 08:16 PM   #2
rmjohnso
Member
 
Registered: Mar 2006
Location: Wisconsin
Distribution: Slackware64-Current
Posts: 294

Rep: Reputation: 43
The latest version of VirtualBox is 3.2.0. Try installing it and see if it will compile the kernel module against 2.6.33.2.

http://www.virtualbox.org/wiki/Linux_Downloads

Edit: By the way, the kernel on Slackware 13.1 is 2.6.33.4, not 2.6.33.2.

Last edited by rmjohnso; 05-31-2010 at 08:17 PM. Reason: Added statement about kernel version.
 
Old 05-31-2010, 08:33 PM   #3
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 294

Original Poster
Rep: Reputation: 39
Quote:
Originally Posted by rmjohnso View Post
The latest version of VirtualBox is 3.2.0. Try installing it and see if it will compile the kernel module against 2.6.33.2.

http://www.virtualbox.org/wiki/Linux_Downloads

Edit: By the way, the kernel on Slackware 13.1 is 2.6.33.4, not 2.6.33.2.
Regarding the kernel, the 2.6.33.4 does not work on my machine. I have posted a thread on that. Only the 2.6.33 until 2.6.33.2 works but using the 2.6.33 config.

I only want to use what is provided by slackbuilds. I'll also bring the 3.2.0 package so that if 3.1.6 won't work, I'll git it a try.

Thanks
 
Old 05-31-2010, 09:33 PM   #4
rmjohnso
Member
 
Registered: Mar 2006
Location: Wisconsin
Distribution: Slackware64-Current
Posts: 294

Rep: Reputation: 43
Quote:
Originally Posted by dc_eros View Post
Regarding the kernel, the 2.6.33.4 does not work on my machine. I have posted a thread on that. Only the 2.6.33 until 2.6.33.2 works but using the 2.6.33 config.

I only want to use what is provided by slackbuilds. I'll also bring the 3.2.0 package so that if 3.1.6 won't work, I'll git it a try.

Thanks
Sorry, I didn't see your other post until now. What are your concerns about using package from Oracle for VirtualBox? Is it that it's closed source?
 
Old 05-31-2010, 11:24 PM   #5
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 294

Original Poster
Rep: Reputation: 39
I've found out that the slackbuild script works on kernel 2.6.33.4. Got to try the 3.2.0
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
(Solved) Virtualbox-kernel Slackbuild joegumbo Slackware 10 04-17-2010 08:10 PM
Virtualbox Error - Kernel driver not installed (rc=-1908) callumacrae Linux - Software 11 10-28-2009 02:13 PM
Virtualbox 2.1.2 Slackbuild TL_CLD Slackware 23 02-18-2009 05:25 AM
Virtualbox kernel modules won't load after updating kernel in openSUSE 11.0 JamesHall SUSE / openSUSE 6 02-03-2009 04:36 PM
kernel includes at /usr/src/linux/include do not match current kernel. blanny Red Hat 1 03-09-2006 07:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration