Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-19-2008, 01:34 PM   #1
LQ Newbie
Registered: Sep 2006
Posts: 12

Rep: Reputation: 0
ndiswrapper - going in circles

I am tring to install ndiswrapper on Fedora Core 5 system(2.6.15-1.2054_FC5 i686). I have installed:
kernel-2.6.15-1.2054_FC5.src.rpm (see below).

But when I try to install ndiswrapper I get the following error: "Can't find kernel build files in /lib/modules/2.6.15-1.2054_FC5smp/build;"

---------------- Monitor Output and comments--------------------

[root@localhost ~]# uname -rm
2.6.15-1.2054_FC5 i686

First, I installed:

No errors reported.

Next I installed:

No errors reported.

Next I did a rpmbuild:
rpmbuild -bp --target=$(uname -m) /usr/src/redhat/SPECS/kernel-2.6.spec

No errors reported

Next I installed ndiswrapper-1.23

No errors reported

then I changed directories to the new ndiswrapper-1.23
and following direction I did the following:

[root@localhost ndiswrapper-1.23]# make uninstall

No errors reported

Next I did a 'make' with the following results:

[root@localhost ndiswrapper-1.23]# make
make -C driver
make[1]: Entering directory `/root/ndiswrapper-1.23/driver'
Can't find kernel build files in /lib/modules/2.6.15-1.2054_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 `/root/ndiswrapper-1.23/driver'
make: *** [all] Error 2
[root@localhost ndiswrapper-1.23]#

---------------------End of output and comments------------

I have been working on this for about 3 days and I have run out of ideas. Did I miss something? If some one could help me with this I would greatly appreciate your help. I will be glad to send any info required. Thank you.

Mike Thompson
Old 01-19-2008, 05:31 PM   #2
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
You need to specify where the kernel-devel files are, they are not in the default location of /usr/src/linux-<version-number_here> but more like kernels/2.6.15-1.2054_FC5-i386

FYI: Fedora Core 5 is no supported, and your kernel is really out of date even for FC5 please update
FYI: ndiswrapper-1.23 is also way out of date

Old 01-20-2008, 08:50 AM   #3
LQ Newbie
Registered: Sep 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Thank you for your insite. I had planned to upgrade to FC8 but wanted to try to get FC5 running first. I will upgrade today and hope the support group can help me resolve my problems. Thanks again.

Mike Thompson


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
making circles with c++ neocontrol Programming 4 09-16-2008 08:35 PM
change KDE 3.5.7 password squaes to circles Tortanick Linux - Desktop 2 06-28-2007 02:39 AM
MDK 10.2 install running me in circles micromidget Mandriva 15 03-23-2005 08:44 PM
Simple circles elvee Programming 8 09-21-2004 01:22 PM
mounting usb thumbdrive and going in circles slackist Linux - Hardware 11 07-27-2004 08:30 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration