LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-13-2005, 04:06 AM   #1
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Kernel includes


I'm trying to build my new ATI drivers, but this is what I get for the error:

ATI module generator V 2.0
==========================
initializing...
Error:
kernel includes at /usr/src/linux/include do not match current kernel.
they are versioned as ""
instead of "2.6.8.1-12mdk".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux

How do I get the kernel includes, or what do they mean adjust my symlinks?
 
Old 03-13-2005, 09:22 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,033

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
uname -r in a console will tell you what kernel you are currently running. It is probably 2.6.8.1-12mdk.

You need to install the source for this kernel. You may already have a kernel source installed, but it may not match the kernel you are running (as it should!). You can install your kernel source through MCC - Install software - Search for "source" and install "kernel-source-2.6.8.1-12mdk". That should do it for you.
 
Old 03-13-2005, 02:00 PM   #3
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by tredegar
uname -r in a console will tell you what kernel you are currently running. It is probably 2.6.8.1-12mdk.

You need to install the source for this kernel. You may already have a kernel source installed, but it may not match the kernel you are running (as it should!). You can install your kernel source through MCC - Install software - Search for "source" and install "kernel-source-2.6.8.1-12mdk". That should do it for you.
Problem solved!

I went into my Mandrake control center, uninstalled the kernel-source 2.6.8.1-24mdk. I then went to the INSTALL in the Mandrake control center and *POOF*, I could now install the kernel-source 2.6.8.1-12mdk. I installed it, reinstalled my ATI drivers, and now I am successfully running the new driver version in X.org 6.8!



----------------------------------------------
It gives me this:
[ken@ken ken]$ uname -r
2.6.8.1-12mdk

It turns out that I do have my kernel sources installed, but it's this:
kernel-source-2.6.-2.6.8.1-24mdk

Does that matter that I'm using kernel 2.6.8.1-12, but I have kernel-source 2.6.8.1-24? I originally did install my kernel-source 2.6.8.1-12mdk, but Mandrake had an update and they updated my kernel-source to 2.6.8.1-24mdk, and now I cannot find kernel-source 2.6.8.1-12mdk anymore in the Mandrake Control Center. Should I remove kernel-source 2.6.8.1-24??

I searched for kernel-source and found this that matched my version instead:

kernel-source-stripped-2.6-2.6.8.1-12mdk

Should I installed this "stripped" version???

Last edited by Micro420; 03-13-2005 at 02:42 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
kernel includes do not match current kernel rafc Linux - Newbie 5 04-23-2010 01:28 AM
getting X includes trumpetdork Linux - Software 13 05-07-2005 06:19 PM
which kernel option includes pcmcia_core and ds? mcd Slackware 16 02-20-2005 05:56 PM
make-kpkg not working, so no kernel includes genixpro Linux - Hardware 3 09-14-2004 07:56 PM
kernel 2.6 - missing includes poison Slackware 3 12-18-2003 06:13 PM


All times are GMT -5. The time now is 08:49 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration