Find the answer to your Linux question:
Results 1 to 4 of 4
alright, I'm attempting to install my ndiswrapper, and everything is going peachy until: Code: [root@Cynab tmp]# tar -xvzf ndiswrapper-1.38.tar.gz [root@Cynab tmp]# cd ndiswrapper-1.38 [root@Cynab ndiswrapper-1.38]# make uninstall [root@Cynab ndiswrapper-1.38]# make ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    4

    GETTING HEAD-er files


    alright, I'm attempting to install my ndiswrapper, and everything is going peachy until:

    Code:
    [root@Cynab tmp]# tar -xvzf ndiswrapper-1.38.tar.gz
    [root@Cynab tmp]# cd ndiswrapper-1.38
    [root@Cynab ndiswrapper-1.38]# make uninstall
    [root@Cynab ndiswrapper-1.38]# make
    make -C driver
    make[1]: Entering directory ' home/cynab/ndiswrapper-1.38/driver'
    Can't find kernel build files in /lib/modules/2.6.18-1.2798.fc6/build;
       give the path to kernel build directory with
       KBUILD=<path> argument to make
    Now, in the INSTALL file of nwiswrapper, it says to make sure that I got a recent kernel (I'm fairly sure I got the most recent stable.) and to make sure there is a link to the kernel source from the modules directory. It wants
    ls /lib/modules/'uname -r'/build
    to show at least the "include" directory and ".config" file. On checking, I have none of these things, so, it's up to you fine folks to offer a clue. Thanks in advance.

  2. #2
    Banned
    Join Date
    Mar 2007
    Posts
    22
    You will need to go to the mirror that you downloaded FC6 from. The folder is:
    Code:
    6/core/source/rpms/
    , and the file is called
    Code:
    kernel-2.6.18-1.2798.fc6.src.rpm
    . Open it in fedora, and install it.


    Now, go here
    Code:
    /lib/modules/2.6.18-1.2798.fc6/
    there should be a thing called build, but it dissapears when you click on it. Now go to
    Code:
    /usr/source/
    Right-click on the
    Code:
    2.6.18-1.2798.fc6
    folder, and choose create link. Copy that link into the
    Code:
    /lib/modules/2.6.18-1.2798.fc6/
    folder, and rename it to
    Code:
    build
    Say yes to overwrite.

    This should allow you to run the makefile without errors. Also, please post how your install goes. I ran into problems installing the driver using the
    Code:
    modprobe ndiswrapper
    command. It said invalid module format.

  3. #3
    Just Joined!
    Join Date
    Apr 2005
    Location
    Plant City,FL
    Posts
    55
    Any time you install a new kernel you should make sure to install the source for that kernel as well. Also, check and make sure that the symlink /usr/src/linux points to the new kernel.

    Also, if the new kernel headers weren't installed it helps to run at least the make command on the new kernel source as some newer packages reference the kernel headers instead of the actual source.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Mar 2007
    Posts
    4
    Thanks for the advice you guys! I won't be able to attempt your wisdom for several days, but when I'm done fiddling with it, I'll be sure to post back with any success!!!

    Again, I appreciate it!

Posting Permissions

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