miketsho - 2008-01-19

I am tring to install ndiswrapper on Fedora Core 5 system(2.6.15-1.2054_FC5 i686). I have installed:
kernel-devel-2.6.15-1.2054_FC5.i686.rpm
and
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:
kernel-devel-2.6.15-1.2054_FC5.i686.rpm

No errors reported.

Next I installed:
kernel-2.6.15-1.2054_FC5.src.rpm

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