Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12th April 2006, 04:18 AM
sn0wf0x's Avatar
sn0wf0x Offline
Registered User
 
Join Date: Apr 2006
Posts: 10
Red face ndiswrapper: can't find kernel build files

I get the following error while trying to "make" in the ndiswrapper directory:
[root@localhost ndiswrapper-1.13]# make
make -C driver
make[1]: Entering directory `/home/sn0wf0x/ndiswrapper-1.13/driver'
Can't find kernel build files in /lib/modules/2.6.16-1.2080_FC5smp/build;
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/sn0wf0x/ndiswrapper-1.13/driver'
make: *** [all] Error 2

How can I fix this problem?
I'm new to linux, so if you can explain in depth, that would help.
__________________
---
sn0wf0x
Trying to live and learn linux.
Reply With Quote
  #2  
Old 12th April 2006, 11:29 PM
Shakes's Avatar
Shakes Offline
Registered User
 
Join Date: Feb 2005
Location: Scotland
Posts: 445
ndiswrapper is available as an rpm from livna. If you have that repository set up you can use yum to install it If not check out http://rpm.livna.org/configuration.html for instrcutions, choose your version of fedora core

Once it's setup
Code:
yum install ndiswrapper
, although someone else in another thread is having yum problems trying to do the same thing! Hopefully it will work for you.
Reply With Quote
  #3  
Old 13th April 2006, 03:42 PM
james.farrow Offline
Registered User
 
Join Date: Jun 2004
Age: 43
Posts: 12
yum -y install ndiswrapper kernel-module-ndiswrapper-$(uname -r)
Reply With Quote
  #4  
Old 21st September 2006, 11:55 PM
viciousxp Offline
Registered User
 
Join Date: Sep 2006
Posts: 36
how the hell im i suppose to get through this kernel build files problem which i am also having if i havent got access to the net from that system ??

I need to install ndiswrapper to get my wireless working.. i dont have any alternatives..

can i download any standalone files which i could install which will fix this kernel build files problem and which wont require YUM or any internet connection from that system ???

Please help.. its been 4 days ive been trying to connect to the internet.. im recently migrating from windows to linux.. and obviously this has NOT been a smooth transition.. but i dont wanna give up on linux just yet !

thanks !
Reply With Quote
  #5  
Old 22nd September 2006, 12:36 AM
eccentricgnat Offline
Registered User
 
Join Date: Aug 2006
Posts: 14
If you can get to the internet to download the files to a cd then you could update the fedora on your computer.

If this is possible try doing this:

(by the way I am not an expert...but I've used this method myself from time to time and it seems to work)

First go here:

http://rpm.livna.org/fedora/5/

and choose which directory you need:
Parent Directory -
[DIR] SRPMS/ 20-Sep-2006 19:43 -
[DIR] i386/ 20-Sep-2006 19:44 -
[DIR] ppc/ 20-Sep-2006 19:43 -
[DIR] x86_64/

I use a amd 64 cpu so I'd choose the x86_64, if you use a 32 bit cpu choose the i386 directory

Click the directory of your choice and then go down until you find files that look somewhat like these...if 32 bit there won't be a _64 bit ending, of course...

[RPM] kmod-ndiswrapper-1.13-4.2.6.16_1.2133_FC5.x86_64.rpm 11-Jun-2006 21:34 93K
[RPM] kmod-ndiswrapper-1.18-2.2.6.17_1.2139_FC5.x86_64.rpm 26-Jun-2006 10:49 115K
[RPM] kmod-ndiswrapper-1.18-2.2.6.17_1.2145_FC5.x86_64.rpm 06-Jul-2006 09:17 115K
[RPM] kmod-ndiswrapper-1.18-2.2.6.17_1.2157_FC5.x86_64.rpm 15-Jul-2006 10:29 116K
[RPM] kmod-ndiswrapper-1.18-2.2.6.17_1.2174_FC5.x86_64.rpm 17-Aug-2006 14:28 116K
[RPM] kmod-ndiswrapper-1.18-2.2.6.17_1.2187_FC5.x86_64.rpm 15-Sep-2006 07:25 116K
[RPM] kmod-ndiswrapper-kdump-1.13-4.2.6.16_1.2133_FC5.x86_64.rpm 11-Jun-2006 21:34 91K
[RPM] kmod-ndiswrapper-kdump-1.18-2.2.6.17_1.2139_FC5.x86_64.rpm 26-Jun-2006 10:49 113K
[RPM] kmod-ndiswrapper-kdump-1.18-2.2.6.17_1.2145_FC5.x86_64.rpm 06-Jul-2006 09:17 113K
[RPM] kmod-ndiswrapper-kdump-1.18-2.2.6.17_1.2157_FC5.x86_64.rpm 15-Jul-2006 10:29 113K
[RPM] kmod-ndiswrapper-kdump-1.18-2.2.6.17_1.2174_FC5.x86_64.rpm 17-Aug-2006 14:28 113K
[RPM] kmod-ndiswrapper-kdump-1.18-2.2.6.17_1.2187_FC5.x86_64.rpm 15-Sep-2006 07:25 113K
[RPM] kmod-ndiswrapper-xen0-1.13-4.2.6.16_1.2133_FC5.x86_64.rpm

Choose the file that matches your kernel:

For example:

kmod-ndiswrapper-1.13-4.2.6.16_1.2133_FC5.x86_64.rpm

then download it to the computer you are on...and I don't know if you need the ...dump...file but download it as well...the one that matches the kmod-ndiswrapper kernel you've downloaded....just to be safe...

Then burn a cd of these files...and take them over to the computer with fedora on it and copy them to your home folder...right click on the files and click on properties and make sure the files are executable (sp?)...

Then open your terminal...you should have the files in your home folder...the terminal should have you in your home folder:
you are want to go root...
type su
when asked type in the root password

not yelling below but it is very important:

DON'T HAVE ANY OTHER RPMS INSTALLED IN YOUR HOMEFOLDER MAIN DIRECTORY AT THIS TIME...JUST THE ONES YOU WANT TO INSTALL...

then type the following using this command: :

rpm -ivh *.rpm

That should install the rpms...the only thing I am not sure about...if fedora knows where to put them...I've installed many programs using this method...and they always seem to go where they need to...

Hope this helps...remember we were all once newbeez...and if you are willing to get just a little bit dirty...meaning learning something new...you will find linux a wonderful os...
Reply With Quote
Reply

Tags
build, files, kernel, ndiswrapper

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't find kernel build files (re: make install) Milkrunner Using Fedora 5 29th August 2007 02:54 PM
Can't find kernel build files in .... bodej Hardware & Laptops 1 24th April 2007 06:30 PM
3 com wireless problems - ndiswrapper, missing kernel build files, yum wont work.... koko85 Servers & Networking 5 4th August 2006 12:41 PM
I KEEP GETTING Can't find kernel build files in /lib/mod........ harlander3000 Hardware & Laptops 3 23rd April 2006 07:13 AM
[FC5 - Compaq Presario V2000] Problem with NDISWrapper/Kernel Build Files Dan Eagles Hardware & Laptops 1 5th April 2006 11:04 AM


Current GMT-time: 10:38 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat