Problem compile Ndiswrapper source code
Hey.
New to linux, but trying my hand at trying to get my wireless working on my Toshiba A100-8. Currently I am having problems getting ndiswrapper to install. yum does not have an rpm for ndiswrapper so I downloaded the it from sourceforge, when I use the "make" command from within the folder I have the source code installed in I get this error message ERROR AFTER 'make' command: make -C driver make[1]: Entering directory `/tmp/ndis/ndiswrapper-1.37/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 make[1]: *** [prereq_check] Error 1 make[1]: Leaving directory `/tmp/ndis/ndiswrapper-1.37/driver' make: *** [all] Error 2 -------------------------- I updated the kernel as I was told to do but that hasn't seemed to help anything. Anyone know I how I can get ndiswrapper installed? thanks in advance. todd |
Did you install the kernel-sources package for your kernel? Ndiswrapper requires that the sources be present for it to compile.
|
Quote:
|
Yum will work fine. I don't have Fedora/Yum, so until someone comes along with the exact string, have a read of http://fedora.redhat.com/docs/yum/en/ to see how to search for the packages and choose the right one. Your first step is to do
Code:
uname -r |
Quote:
thanks todd |
That's it - it'd be
Code:
yum install kernel-sources-<your kernel version> |
Quote:
Code:
yum list | grep ndiswrapper I have seen some tutorials that tell you to edit the yum.conf file adding websites to search for the ndiswrapper program. However when I tried to run the yum command I got a timeout error. So do I have to actually add anything to the yum.conf file to tell yum where to look for the ndiswrapper program? Thanks again for the speedy replies todd |
Wait sorry upon reading that link I was given I found that you can use yum to install repositories locally. So if I downloaded the ndiswrapper packge from sourceforge, would I simply unpackage it and then rename it so that it has an .rpm extention? Or would I leave it in the .tar.gz format it comes in?
Code:
yum localinstall ndiswrapper-1.37.tar.gz Also I just tried Code:
yum install kernel-sources-2.6.19-1.2911.fc6 Code:
Nothing to do thanks again for everything todd |
Ok I did a little more searching for installing the kernel-source. Has anyone used the kernel-devel? I have been reading conflicting things about whether or not that is the kernel-source or not? If anyone could point me int he right direction I would greatly appreciate it!
thanks todd |
All times are GMT -5. The time now is 09:51 PM. |