I have a new install of Fedora Core 6. I am trying to install an ndiswrapper to get a D-Link Wireless Nic going. I downloaded the kernel-2.6.18-1.2798.fc6.src.rpm package and entered:
$rpm -ivh kernel-2.6.18-1.2798.fc6.src.rpm
It says a group does not exists and uses the root group and appears to install successfully.
I downloaded the ndiswrapper-1.28.tar.gz from sourceforge and entered:
[root@patches ndiswrapper-1.28]# make
make -C driver
make: Entering directory `/home/twright/ndiswrapper-1.28/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: *** [prereq_check] Error 1
make: Leaving directory `/home/twright/ndiswrapper-1.28/driver'
make: *** [all] Error 2
I'm missing something here. I look in the /lib/modules/2.6.18-1.2798.fc6 directory but there is no build directory under that folder, all I see is:
lrwxrwxrwx 1 root root 5 Nov 11 06:33 source -> build
Any help getting this ndis driver installed will be appreciated.