Find the answer to your Linux question:
Results 1 to 6 of 6
this is from my ndiswrapper tarball install file thing. "You need a recent kernel, at least 2.6.6 or 2.4.26, with header files for the kernel. Make sure there is a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2006
    Posts
    3

    no modules directory?


    this is from my ndiswrapper tarball install file thing.

    "You need a recent kernel, at least 2.6.6 or 2.4.26, with header files
    for the kernel. Make sure there is a link to the kernel source from
    the modules directory. The command

    ls /lib/modules/`uname -r`/build

    should have at least 'include' directory and '.config' file."

    so i do that. and get this...

    "[jes@localhost ~]$ ls /lib/modules/'uname -r'/build
    ls: /lib/modules/uname -r/build: No such file or directory"



    help?

  2. #2
    Linux Guru fingal's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham - UK
    Posts
    1,539
    Hello - Most likely you don't have any kernel 'header' files installed yet. By default Mandriva won't do this. The good news is, the header files should be on your installation disk.

    To install them go the the 'Install Software' menu option, enter your root password and browse down the list of available packages for the correct header files for your kernel.

    To determine your kernel version you can type uname -a on a command line and it should tell you which one you have.

    Once installed your problems might be over ... or not??

    Just to explain, a lot of packages need header files to compile with. It's a problem that crops up a lot when compiling from source.
    I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Quote Originally Posted by toyarmy
    "[jes@localhost ~]$ ls /lib/modules/'uname -r'/build
    ls: /lib/modules/uname -r/build: No such file or directory"
    only one thing to add. you used wrong quotes with 'uname -r'...

    you can do this.....

    $ uname -r
    pen down output and replace it in command.

    $ ls /lib/modules/xxxxxxxxx/build






    .... casper ....
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Sep 2006
    Posts
    3
    devils_casper. this was pointed out in another forum and i corrected it. but i still have the same problem....

    [jes@localhost ~]$ ls /lib/modules
    2.6.12-19mdk-i586-up-1GB/
    [jes@localhost ~]$ ls /lib/modules/2.6.12-19mdk-i586-up-1GB/
    kernel/ modules.dep modules.inputmap modules.seriomap
    modules.alias modules.description modules.isapnpmap modules.symbols
    modules.ccwmap modules.ieee1394map modules.pcimap modules.usbmap

    theres just no build.
    so wheres the installer thing?

    sorry.

  6. #5
    Just Joined!
    Join Date
    Sep 2006
    Posts
    3
    so i found the installer. but theres quite a bit of stuff in there. i have no idea how to find what i need. :\ sorry im so troublesome.

  7. #6
    Linux Guru fingal's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham - UK
    Posts
    1,539
    You're looking for the kernel source. I would select the option to view 'All packages, alphabetical' and scroll down until you find something like kernel-source-2.6.**.** and install whatever kernel source matches your own setup.

    The header files we were talking about earlier should then be installed by default.
    I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso

Posting Permissions

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