Where are the Kernel Headers in Suse?

Or anywhere for that matter, but we’ll stick with SUSE for now, since I don’t want to transfer my ability to be easily distracted to others.

I am trying to compile a driver for a Realtek RTL2838UHIDIR based dvb stick and the driver fails to compile with the following error:

“/usr/src/linux-headers-3.1.0-1.2-desktop: No such file or directory. Stop.”

I think it is referring to the header location from the makefile which is : “KDIR = /usr/src/linux-headers-uname -r

Anyway, it’s a bit beyond my current ability.

Cheers and thanks in advance

Dave

If you have not already done so, please do the following. Open YaST (Enter root user password) / Software / Software Management - Select the View Button on the top left and pick Patterns. Now, you will see several Patterns listed and you want to select:

   Development 

[X] Base Development
[X] Linux Kernel Development
[X] C/C++ Development

Then Press the Accept button on the bottom right and allow these applications to install. I suggest this because it appears you have not installed the kernel source code before.

Thank You,

That fixed it - thanks!!!

Dave

I was happy to help and to see of your success. Also, if I have not said so before, welcome to the openSUSE forums.

Thank You,

Thanks again James, you couldn’t look at my question about installing a driver for the dvb-t stick could you? I realize I shouldn’t ask but I don’t seem to be getting any answers.

So first off, I have not had all that good of luck with TV cards and USB TV sticks in general with openSUSE and further I would never buy one unless I found it was said to work with Linux before hand. Second, when you don’t have the actual hardware, its hard to know exactly what is wrong because you can’t test anything without it. None the less, give me a link to any other thread here where you have asked for help and I will see what I can do. It is getting late here in Austin and so it will most likely be in the morning before I try to help any more.

Thank You,