LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Kernel includes (https://www.linuxquestions.org/questions/linux-software-2/kernel-includes-301011/)

Micro420 03-13-2005 04:06 AM

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?

tredegar 03-13-2005 09:22 AM

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.

Micro420 03-13-2005 02:00 PM

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???


All times are GMT -5. The time now is 09:45 AM.