PDA

View Full Version : another NDISWRAPPER problem with Fedora 5


dlennon
2006-03-27, 01:40 PM CST
When I run make as per the instructions from the INSTALL Doc in ndiswrapper I get the following:

[root@localhost ~]# cd ndiswrapper-1.11
[root@localhost ndiswrapper-1.11]# make
make -C driver
make[1]: Entering directory `/root/ndiswrapper-1.11/driver'
Can't find kernel build files in /lib/modules/2.6.16-1.2074_FC5/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.11/driver'
make: *** [all] Error 2
[root@localhost ndiswrapper-1.11]#

This is the strucuture of the
/lib/modules/2.6.16-1.2074_FC5
folders and the following is what is in the 2.6.16-1.2074_FC5 folder:

root@localhost lib]# cd modules
[root@localhost modules]# cd 2.6.16-1.2074_FC5
[root@localhost 2.6.16-1.2074_FC5]# cd build
[root@localhost build]# ls -l
total 484
drwxr-xr-x 26 root root 4096 Mar 26 23:22 arch
drwxr-xr-x 2 root root 4096 Mar 26 23:22 block
lrwxrwxrwx 2 root root 47 Mar 26 10:22 build -> ../../../usr/src/kernels/2.6.16-1.2074_FC5-i686
drwxr-xr-x 4 root root 4096 Mar 26 23:22 crypto
drwxr-xr-x 57 root root 4096 Mar 26 23:22 drivers
drwxr-xr-x 61 root root 4096 Mar 26 23:22 fs
drwxr-xr-x 16 root root 4096 Mar 26 23:22 include
drwxr-xr-x 2 root root 4096 Mar 26 23:22 init
drwxr-xr-x 2 root root 4096 Mar 26 23:22 ipc
drwxr-xr-x 4 root root 4096 Mar 26 23:22 kernel
drwxr-xr-x 5 root root 4096 Mar 26 23:22 lib
lrwxrwxrwx 1 root root 32 Mar 27 12:48 linux-2.6.16-1.2074_FC5 -> /usr/src/linux-2.6.16-1.2074_FC5
-rw-r--r-- 1 root root 44870 Mar 24 18:12 Makefile
-rw-r--r-- 1 root root 44812 Mar 24 18:12 Makefile.orig
drwxr-xr-x 2 root root 4096 Mar 26 23:22 mm
-rw-r--r-- 1 root root 242336 Mar 24 18:12 Module.symvers
drwxr-xr-x 37 root root 4096 Mar 26 23:22 net
drwxr-xr-x 9 root root 4096 Mar 26 23:22 scripts
drwxr-xr-x 4 root root 4096 Mar 26 23:22 security
drwxr-xr-x 16 root root 4096 Mar 26 23:22 sound
lrwxrwxrwx 2 root root 5 Mar 26 10:23 source -> build
drwxr-xr-x 2 root root 4096 Mar 26 23:22 usr

When I look at the properties of both the link of the source and the build it says the link is broken. How do I reestablish the link so the make command in NDISWRAPPER will work?