PDA

View Full Version : NDISwrapper question / issue


SirCave
October 12th, 2007, 08:53 AM
I upgraded my Fedora 6 to Fedora 7, Moonshine, using yum at someone else's home, using their cable connection. (That is to say that I don't have an internet connection using linux right now.) I am now trying to install ndiswrapper to connect my D-Link 1340 USB wireless adapter. After executing the "make distclean && make" command, I received this error:


[BigDogg@MSCAVE ndiswrapper-1.48]$ make distclean && make
make -C driver clean
make[1]: Entering directory `/home/BigDogg/Download/programs/ndiswrapper-1.48/driver'
Makefile:24: *** Kernel tree not found - please set KBUILD to configured kernel. Stop.
make[1]: Leaving directory `/home/BigDogg/Download/programs/ndiswrapper-1.48/driver'
make: *** [clean] Error 2
[BigDogg@MSCAVE ndiswrapper-1.48]$


I used 'uname -r' and this came up: 2.6.20-2931.fc7xen

My question / issue is this:

Isn't my kernel the MOST current kernel for my system? And if so, then what is with this error?

I checked the /usr/src directory and I found a redhat directory, but no kernel devel source. Do I have to manually download and install it? (Because right now that is the only way I would be able to get it.)

P.S. The ndiswrapper I am using is the most current. Just in case that is important.

:confused::confused::confused:

kage
October 12th, 2007, 01:18 PM
I believe ndiswrapper can be installed through Fedora's package manager, yum. If you could try that, assuming you can get an internet connection, it will save you a lot of time that would be spent trying to get ndiswrapper to compile.

If you still want to compile, you will need the kernel sources. You can get these by running yum install kernel-devel as root.

SirCave
October 12th, 2007, 04:13 PM
I was afraid you were going to suggest that. Physically, that means that I have to take my rig somewhere else to do the down load, at someone else's convienience, on someone else's time. I hate being a slave to other people's time / commands. Using the wife's XP wireless connection, I'd rather do this at my current location. However, If I have no choice, then I suppose that is my price to pay, for now.

As always, Thank you Kage.

P.S. I am downloading what I believe is the current kernel, http://download.fedora.redhat.com/pub/fedora/linux/updates/7/SRPMS/ (http://download.fedora.redhat.com/pub/fedora/linux/updates/7/SRPMS/), right now. It is 45M and hopefully this fixes my error. I was late this morning when I first posted and I was so tired. I probably should have done this first. Of course I am grateful for the info and I apologize for any confusion or waste of time.