How to fix “Module ndiswrapper not found"
Posted
by
jason328
on Ask Ubuntu
See other posts from Ask Ubuntu
or by jason328
Published on 2012-11-05T22:02:27Z
Indexed on
2012/11/08
5:19 UTC
Read the original article
Hit count: 775
I have Ubuntu 12.10 and whenever I run sudo modprobe ndiswrapper
, I get the following error.
FATAL: Module ndiswrapper not found.
The command dkms status
returns with...
ndiswrapper, 1.57, 3.2.0-32-generic, i686: installed
The make.log
in ndiswrapper returns with...
DKMS make.log for ndiswrapper-1.57 for kernel 3.5.0-18-generic (i686)
Wed Nov 7 22:16:12 EST 2012
make -C /usr/src/linux-headers-3.5.0-18-generic M=/var/lib/dkms/ndiswrapper
/1.57/build
make[1]: Entering directory `/usr/src/linux-headers-3.5.0-18-generic'
LD /var/lib/dkms/ndiswrapper/1.57/build/built-in.o
MKEXPORT /var/lib/dkms/ndiswrapper/1.57/build/crt_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.57/build/hal_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.57/build/ndis_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.57/build/ntoskernel_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.57/build/ntoskernel_io_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.57/build/rtl_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.57/build/usb_exports.h
CC [M] /var/lib/dkms/ndiswrapper/1.57/build/crt.o
CC [M] /var/lib/dkms/ndiswrapper/1.57/build/hal.o
CC [M] /var/lib/dkms/ndiswrapper/1.57/build/iw_ndis.o
CC [M] /var/lib/dkms/ndiswrapper/1.57/build/loader.o
CC [M] /var/lib/dkms/ndiswrapper/1.57/build/ndis.o
/var/lib/dkms/ndiswrapper/1.57/build/ndis.c: In function
‘NdisGetCurrentProcessorCounts’:
/var/lib/dkms/ndiswrapper/1.57/build/ndis.c:2657:24: error: ‘struct kernel_stat’ has
no member named ‘cpustat’
/var/lib/dkms/ndiswrapper/1.57/build/ndis.c:2658:31: error: ‘struct kernel_stat’ has
no member named ‘cpustat’
/var/lib/dkms/ndiswrapper/1.57/build/ndis.c:2659:17: error: ‘struct kernel_stat’ has
no member named ‘cpustat’
make[2]: *** [/var/lib/dkms/ndiswrapper/1.57/build/ndis.o] Error 1
make[1]: *** [_module_/var/lib/dkms/ndiswrapper/1.57/build] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.5.0-18-generic'
make: *** [modules] Error 2
I have installed commons
, utils-1.9
, dkms
, source
but it's still returning this error. How do I fix this?
© Ask Ubuntu or respective owner