Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > GETTING HEAD-er files

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 03-11-2007   #1 (permalink)
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.
Cynab is offline  


Reply With Quote
Old 03-31-2007   #2 (permalink)
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.
rgambord is offline   Reply With Quote
Old 03-31-2007   #3 (permalink)
Just Joined!
 
Join Date: Apr 2005
Location: Plant City,FL
Posts: 55
Send a message via ICQ to MasonM
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.
MasonM is offline   Reply With Quote
Old 03-31-2007   #4 (permalink)
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!
Cynab is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 08:59 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2