Results 1 to 6 of 6

Thread: Where are the Kernel Headers in Suse?

  1. #1

    Default 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

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,500
    Blog Entries
    48

    Smile Re: Where are the Kernel Headers in Suse?

    Quote Originally Posted by dmbgo View Post
    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:

    Code:
       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,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3

    Default Re: Where are the Kernel Headers in Suse?

    That fixed it - thanks!!!

    Dave

  4. #4
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,500
    Blog Entries
    48

    Smile Re: Where are the Kernel Headers in Suse?

    Quote Originally Posted by dmbgo View Post
    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,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  5. #5

    Default Re: Where are the Kernel Headers in Suse?

    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.

  6. #6
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,500
    Blog Entries
    48

    Smile Re: Where are the Kernel Headers in Suse?

    Quote Originally Posted by dmbgo View Post
    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,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •