fatal module ndiswrapper not found , cant build from source

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
rchgore

fatal module ndiswrapper not found , cant build from source

Post by rchgore »

I suffer from a bug that the ndiswrapper is installed, sees my device, it is just not found by modprobe. When I try to compile ndiswrapper from source as suggested, I get errors. mint wifi and make outputs below. I've been though many hoops for days..., no joy, please help! Everything worked before my upgrade to LM14 cinnimon from LM9 gnome



mintwifi output

* I. scanning WIFI PCI devices...
-------------------------
* II. querying ndiswrapper...
bcmwlhigh5 : driver installed
device (0846:9011) present
-------------------------
* III. querying iwconfig...
lo no wireless extensions.

eth0 no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0 Link encap:Ethernet HWaddr 00:18:8b:8f:9a:e4
inet addr:192.168.1.104 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::218:8bff:fe8f:9ae4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8642 errors:0 dropped:0 overruns:0 frame:0
TX packets:7475 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8666146 (8.6 MB) TX bytes:1343243 (1.3 MB)
Interrupt:19

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:890 errors:0 dropped:0 overruns:0 frame:0
TX packets:890 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:81605 (81.6 KB) TX bytes:81605 (81.6 KB)

-------------------------
* V. querying DHCP...
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service smbd reload

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the reload(8) utility, e.g. reload smbd
RTNETLINK answers: File exists
-------------------------
* VI. querying nslookup google.com...
Server: 209.18.47.61
Address: 209.18.47.61#53

Non-authoritative answer:
Name: google.com
Address: 74.125.228.9
Name: google.com
Address: 74.125.228.14
Name: google.com
Address: 74.125.228.0
Name: google.com
Address: 74.125.228.1
Name: google.com
Address: 74.125.228.2
Name: google.com
Address: 74.125.228.3
Name: google.com
Address: 74.125.228.4
Name: google.com
Address: 74.125.228.5
Name: google.com
Address: 74.125.228.6
Name: google.com
Address: 74.125.228.7
Name: google.com
Address: 74.125.228.8


make results


make -C utils
make[1]: Entering directory `/usr/src/ndiswrapper-1.57/utils'
gcc -g -Wall -I../driver -o loadndisdriver loadndisdriver.c
make[1]: Leaving directory `/usr/src/ndiswrapper-1.57/utils'
make -C driver
make[1]: Entering directory `/usr/src/ndiswrapper-1.57/driver'
make -C /usr/src/linux-headers-3.5.0-17-generic M=/usr/src/ndiswrapper-1.57/driver
make[2]: Entering directory `/usr/src/linux-headers-3.5.0-17-generic'
LD /usr/src/ndiswrapper-1.57/driver/built-in.o
MKEXPORT /usr/src/ndiswrapper-1.57/driver/crt_exports.h
MKEXPORT /usr/src/ndiswrapper-1.57/driver/hal_exports.h
MKEXPORT /usr/src/ndiswrapper-1.57/driver/ndis_exports.h
MKEXPORT /usr/src/ndiswrapper-1.57/driver/ntoskernel_exports.h
MKEXPORT /usr/src/ndiswrapper-1.57/driver/ntoskernel_io_exports.h
MKEXPORT /usr/src/ndiswrapper-1.57/driver/rtl_exports.h
MKEXPORT /usr/src/ndiswrapper-1.57/driver/usb_exports.h
CC [M] /usr/src/ndiswrapper-1.57/driver/crt.o
CC [M] /usr/src/ndiswrapper-1.57/driver/hal.o
CC [M] /usr/src/ndiswrapper-1.57/driver/iw_ndis.o
CC [M] /usr/src/ndiswrapper-1.57/driver/loader.o
CC [M] /usr/src/ndiswrapper-1.57/driver/ndis.o
/usr/src/ndiswrapper-1.57/driver/ndis.c: In function ‘NdisGetCurrentProcessorCounts’:
/usr/src/ndiswrapper-1.57/driver/ndis.c:2657:24: error: ‘struct kernel_stat’ has no member named ‘cpustat’
/usr/src/ndiswrapper-1.57/driver/ndis.c:2658:31: error: ‘struct kernel_stat’ has no member named ‘cpustat’
/usr/src/ndiswrapper-1.57/driver/ndis.c:2659:17: error: ‘struct kernel_stat’ has no member named ‘cpustat’
make[3]: *** [/usr/src/ndiswrapper-1.57/driver/ndis.o] Error 1
make[2]: *** [_module_/usr/src/ndiswrapper-1.57/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.5.0-17-generic'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/ndiswrapper-1.57/driver'
make: *** [driver] Error 2
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
rchgore

Re: fatal module ndiswrapper not found , cant build from so

Post by rchgore »

Well after a few days messing around, I gave up on Mint 14. It's been flawless on this pc for quuite a while, mint 9 I think. Any way, Installed Mageia 2 and had ndiswrapper installed and working with my wnda3100v2 in minutes. Like Mint used to do.
Locked

Return to “Networking”