Hi,

I installed Ubuntu and I cant get my wireless connection to work. I found that I need ndiswrapper to update my drivers following the sticky post in here. However there is a problem, because I cant successfully run ndiswrapper on my system.
Please help.

Ubuntu 9.10, IBM ThinkPad T-40, what am I doing wrong?


prem@prem-laptop:~/Desktop/ndiswrapper-1.55$ make uninstall
NOTE: Not all installed files are removed, as different distributions install ndiswrapper files at different places.
Run uninstall as many times as necessary until no "removing" messages appear below.
removing /lib/modules/2.6.31-14-generic/kernel/ubuntu/ndiswrapper/ndiswrapper.ko
/bin/rm: cannot remove `/lib/modules/2.6.31-14-generic/kernel/ubuntu/ndiswrapper/ndiswrapper.ko': Permission denied
make: *** [uninstall] Error 1
prem@prem-laptop:~/Desktop/ndiswrapper-1.55$


prem@prem-laptop:~/Desktop/ndiswrapper-1.55$ make
make -C driver
make[1]: Entering directory `/home/prem/Desktop/ndiswrapper-1.55/driver'
make -C /usr/src/linux-headers-2.6.31-14-generic M=/home/prem/Desktop/ndiswrapper-1.55/driver
make[2]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
CC [M] /home/prem/Desktop/ndiswrapper-1.55/driver/crt.o
In file included from /home/prem/Desktop/ndiswrapper-1.55/driver/crt.c:16:
/home/prem/Desktop/ndiswrapper-1.55/driver/ntoskernel.h: In function ‘PushEntrySList’:
/home/prem/Desktop/ndiswrapper-1.55/driver/ntoskernel.h:905: error: implicit declaration of function ‘cmpxchg8b’
make[3]: *** [/home/prem/Desktop/ndiswrapper-1.55/driver/crt.o] Error 1
make[2]: *** [_module_/home/prem/Desktop/ndiswrapper-1.55/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/prem/Desktop/ndiswrapper-1.55/driver'
make: *** [all] Error 2
prem@prem-laptop:~/Desktop/ndiswrapper-1.55$