RushB
18th February 2004, 03:02 AM
What am I doing wrong trying to get ndiswrapper set up?
[root@admin-fedora ndiswrapper]# make
make -C driver DRV_VERSION=0.4+CVS
make[1]: Entering directory `/root/ndiswrapper/driver'
grep: /lib/modules/2.4.22-1.2166.nptl/build/.config: No such file or directory
cc -DTEST_PM -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.22-1.2166.nptl/build/include/linux/modversions.h -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.22-1.2166.nptl/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -c -o wrapper.o wrapper.c
wrapper.c:42:2: #error You must run make from the toplevel directory
wrapper.c: In function `wrapper_init':
wrapper.c:2317: error: `DRV_VERSION' undeclared (first use in this function)
wrapper.c:2317: error: (Each undeclared identifier is reported only once
wrapper.c:2317: error: for each function it appears in.)
make[1]: *** [wrapper.o] Error 1
make[1]: Leaving directory `/root/ndiswrapper/driver'
make: *** [all] Error 2
[root@admin-fedora ndiswrapper]# make
make -C driver DRV_VERSION=0.4+CVS
make[1]: Entering directory `/root/ndiswrapper/driver'
grep: /lib/modules/2.4.22-1.2166.nptl/build/.config: No such file or directory
cc -DTEST_PM -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.22-1.2166.nptl/build/include/linux/modversions.h -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.22-1.2166.nptl/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -c -o wrapper.o wrapper.c
wrapper.c:42:2: #error You must run make from the toplevel directory
wrapper.c: In function `wrapper_init':
wrapper.c:2317: error: `DRV_VERSION' undeclared (first use in this function)
wrapper.c:2317: error: (Each undeclared identifier is reported only once
wrapper.c:2317: error: for each function it appears in.)
make[1]: *** [wrapper.o] Error 1
make[1]: Leaving directory `/root/ndiswrapper/driver'
make: *** [all] Error 2