Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Kernel headers

Hybrid View

  1. #1

    Default Kernel headers

    I'm trying to install some wireless drivers, but apparently I don't have a /lib/modules/<kernel>/build directory, which is causing the Makefile to throw an error. Is there a specific place I should point the Makefile at?

    And apologies if this is in the wrong section. I wasn't sure exactly where to ask this as I have the feeling it's not just a wireless internet issue.

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: Kernel headers

    kernel header should be installed
    you may need kernel-source
    and kernel-*flavour-devel
    *flavour= desktop, default, PAE (whichever you have)

    and of course
    make, gcc

    make sure versions numbers match in the kernel packages.
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3

    Default Re: Kernel headers

    What's the difference between the noarch and src versions?

    EDIT: My kernel is 2.6.31.5-0.1, so would kernel-source-vanilla-2.6.31.5-0.1.1.noarch.rpm be the way to go?

  4. #4
    Join Date
    Nov 2009
    Location
    Uruguay
    Posts
    737

    Default Re: Kernel headers

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    noarch is a plataform independent software, src is the source of a software

    - --
    VampirD

    General Failure is the supreme commander of the Microsoft army.
    All operation made by this army ends on him.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.12 (GNU/Linux)
    Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

    iEYEARECAAYFAksmrDUACgkQuyH6KAqYAt3OFACfcBlJh1eiQZRaAJSVJNk77pqR
    nh8An14E/HJJYXZA4ov0/Po77x5PSypF
    =osGg
    -----END PGP SIGNATURE-----

  5. #5

    Default Re: Kernel headers

    Okay, so say I downloaded the noarch version to my USB drive, rebooted, and attempted to load it on my openSUSE...how would I go about doing that?

  6. #6
    Join Date
    Nov 2009
    Location
    Uruguay
    Posts
    737

    Default Re: Kernel headers

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Wait, what do you download to your USB drive? the kernel sources? if
    so you may have a rpm file, install it with rpm

    - --
    VampirD

    General Failure is the supreme commander of the Microsoft army.
    All operation made by this army ends on him.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.12 (GNU/Linux)
    Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

    iEYEARECAAYFAksmsUEACgkQuyH6KAqYAt2oWgCfVanEDkX4G52UjNcijH/2uTGC
    7d0An35Am8ZXr7B6EtBkAScw9t+pl5gG
    =DgCi
    -----END PGP SIGNATURE-----

  7. #7

    Default Re: Kernel headers

    This is getting incredibly frustrating.

    I download the following: kernel-source, kernel-desktop, and kernel-desktop-dev.

    I click on kernel-source, and it appears to install properly, but who knows, as I didn't do it through the terminal, so there's no indication of success other than a lack of errors.

    So, I click on kernel-desktop, and get an error saying it's already been installed. Okay, cool.

    I click on kernel-desktop-dev, and it tells me the kernel-source doesn't match, even though their numbers are exactly the same.

    To top it off, I screwed up the bottom task bar, so now the things that were on the right are smushed up with everything on the left.

    It shouldn't be this hard, and I'm seriously wondering if it's worth all the hassle.

  8. #8
    Join Date
    Jun 2008
    Location
    Finland, European Union
    Posts
    1,879

    Default Re: Kernel headers

    It would most likely be considerably LESS frustrating if you told us WHAT wireless drivers you're trying to install as most of them are available as KMPs which you can install and go.

  9. #9
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,760

    Default Re: Kernel headers

    Also in general you should not download and install things like kernel-source, unless you know what you are doing. Install via Yast-Software-Software Management. This will resolve any dependencies and make sure it is installed in the correct location.

    For proprietary drivers and such you are forced to do the download and install thing.

  10. #10
    Join Date
    Nov 2009
    Location
    Uruguay
    Posts
    737

    Default Re: Kernel headers

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Use the wired connection and as root type zypper in kernel-source
    kernel-desktop kernel-desktop-dev

    and please post what wireless card do you have, the driver may exist
    compiled
    - --
    VampirD
    No in elenath hlar nan hd gn
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.12 (GNU/Linux)
    Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

    iEYEARECAAYFAksmzgUACgkQJQ+0ABWtaVkxlACfY/4+WjhrnxriWHbtMkmKx3iM
    YgEAoIwYEjD0wsSbKqpXifOo41vr6phy
    =ImvV
    -----END PGP SIGNATURE-----

Page 1 of 3 123 LastLast

Posting Permissions

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