Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 28
I get this kind of error. I have the modules and the kernel. I tried to do make KSRC = /lib/modules/2.6.3-7mdk/build Its not working. Any quick suggestions? Entering directory ~/home/royel/ndiswrapper-1.8/driver ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2006
    Posts
    8

    ndiswrapper installation for my wireless card


    I get this kind of error. I have the modules and the kernel.
    I tried to do make KSRC = /lib/modules/2.6.3-7mdk/build
    Its not working. Any quick suggestions?

    Entering directory ~/home/royel/ndiswrapper-1.8/driver
    Can't find kernet sources in /lib/modules/2.6.3-7mdk/build
    give the path to kernel sources with KSRC=<path>argument to
    make
    make[1]:***[prereq_check]error |
    make[1]:Leaving directory ~/home/royel/ndswrapper-1.8/driver
    make: ***[install]Error 2

    hELP IS APPRECIATED

  2. #2
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    This may sound like a silly question, but do you have the kernel sources installed? Check either by using the MCC's "add/remove software tool" or by urpmi.
    Life is complex, it has a real part and an imaginary part.

  3. #3
    Just Joined!
    Join Date
    Jan 2006
    Posts
    8
    I did urpmi ---.rpm
    and it says everything is already installed

  4. #4
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    I am not familiar with that syntax in the command, but to make sure your kernel sources are installed, look at the output from:
    Code:
    ls -l /usr/src/linux

    or for an easy install of ndiswrapper, use urpmi to get it for you....
    Life is complex, it has a real part and an imaginary part.

  5. #5
    Just Joined!
    Join Date
    Jan 2006
    Posts
    8
    Okay, lets break it down;
    1)In which folder do I tar ndiswrapper-1.8.tar.gz file?
    2)In the website:
    http://ndiswrapper.sourceforge.net/m...p/Installation



    Prerequisites
    You need a recent kernel at least 2.6.6 or 2.4.26 with source. Under Red Hat or Mandrake, the sources can be installed using the package kernel-source<kernel-version>.rpm. Make sure there is a link to the kernel source from the modules directory. /lib/modules/VERSION/build should be a link to the kernel source, where VERSION is the version of the kernel you are running. If there is no link, you'll get an error at the make install step. To create a link, assuming the kernel sources are present, use the command

    ln -s /usr/src/linux-<kernel-version> /lib/modules/VERSION/build

    I tried ,but it failed
    it says no such input file or directory
    should the
    linux-<kernel-version> = kernel2.6.3-7mdk?
    or
    linux-<kernel-version> = 2.6.3-7mdk?
    I still dont understand this /usr/src/linux-<kernel-version>
    And also is linux the keyword?
    or is it for particular linux? is it different for mandrake or fedora? or same?

  6. #6
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    it should be the same, but can you please paste out here the results from these commands:
    Code:
    ls -l /usr/src/linux  <-- to see if sources are installed
    ls /lib/modules/`uname -r`
    note the funny looking aprostrophies near the uname command is the character above the ~ key.
    Life is complex, it has a real part and an imaginary part.

  7. #7
    Just Joined!
    Join Date
    Jan 2006
    Posts
    8
    Quote Originally Posted by AlexK
    it should be the same, but can you please paste out here the results from these commands:
    Code:
    ls -l /usr/src/linux  <-- to see if sources are installed
    ls /lib/modules/`uname -r`
    note the funny looking aprostrophies near the uname command is the character above the ~ key.
    ls -l /usr/src/linux ---> No such file or directory; for this command I was in my root directory
    ls /lib/modules/`uname -r`-->
    kernel/ modules.ccwmap modules.description and bunches of others
    any idea?

  8. #8
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    this just shows you don't have the kernel sources installed.....

    Now, either by using MCC's "Add/remove software" tool or urpmi, install the kernel source or kernel development package.
    Life is complex, it has a real part and an imaginary part.

  9. #9
    Just Joined!
    Join Date
    Apr 2006
    Posts
    10
    I dont mean to bring back an old Thread, but i am having a very similar problem in attempting to install ndiswrapper. Im currently using Mandrake 10.1, and i dont seem to have these Kernel files set. I dont seem to understand this add/remove software thing for the kernel files...if im right haha.


    I would appreciate any kind of help.


    *note: I am a newbie to Linux, but im just a little too confuzzled :P

    Thanks again

  10. #10
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    Well, it is quite simple
    launch the Mandrake Control Center (MCC), there should be a icon or something for installing and removing software. Go there, tell it to search and search for kernel sources or kernel headers. It should be available under the development sub-menu...

    Note, I ahven't used Mandrake for ages now, so I might be a little confused to where the icons reside and what exactly they are called.
    Life is complex, it has a real part and an imaginary part.

Page 1 of 3 1 2 3 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
  •