Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I'm trying to setup ndiswrapper on my new install of Mandrake 10.1. I'm not familiar at all with linux or its shell and so don't really know how to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Posts
    14

    Make Install error with Ndiswrapper


    Hi,
    I'm trying to setup ndiswrapper on my new install of Mandrake 10.1. I'm not familiar at all with linux or its shell and so don't really know how to get around an error thats being thrown up when I try to make ndiswrapper.

    The install guide says to go into the directory its in and type in "make" then "make INSTALL". I get the same error for both, the error is:

    make -c driver
    make[1] Entering directory 'path'
    Can't find kernal source in /lib/modules/2.6.8.1-12mdk/build; give the path to kernal sources with KSRC=<path> argument to make
    Make[1] ***[Prereq-check] Error 1
    Anyone able to tell me what that means?

    All I can seem to work out is that it doesn't like the kernal i'm running on... is that supposed to suggest it can't find some classes to include?

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    It just means that you should have the kernel sources installed in /usr/src/, You should be running the same kernel that you compile nidswrapper against, so after grabbing the kernel sources, you should compile the new kernel, install, and reboot with the new kernel, then try "make"ing ndiswrapper again.

  3. #3
    Just Joined!
    Join Date
    Feb 2005
    Posts
    14
    You've lost me. What'd you just say? Can I point out the "n00b" word here - sorry to be slow, but I really don't understand.

    How can I be compiling it against a differant kernal to the one I'm running in?
    How do I grab sources?
    Once I've grabbed the sources do I use the make command on them then??

  4. #4
    Just Joined!
    Join Date
    Nov 2004
    Posts
    10
    If you haven't mucked with your urpmi sources, try this:

    urpmi kernel-source

    then, run make again.

Posting Permissions

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