If I try to build ndiswrapper 1.52 under Ubuntu 6.06.1, with all updates applied, I get the following:
CC [M] /home/amiller/ndiswrapper-1.52/driver/crt.o
In file included from /home/amiller/ndiswrapper-1.52/driver/crt.c:16:
/home/amiller/ndiswrapper-1.52/driver/ntoskernel.h:720: error: field "lock" has incomplete type
/home/amiller/ndiswrapper-1.52/driver/ntoskernel.h: In function "raise_irql":
/home/amiller/ndiswrapper-1.52/driver/ntoskernel.h:757: warning: implicit declaration of function "mutex_lock"
/home/amiller/ndiswrapper-1.52/driver/ntoskernel.h: In function "lower_irql":
/home/amiller/ndiswrapper-1.52/driver/ntoskernel.h:779: warning: implicit declaration of function "mutex_unlock"
I didn't do a lot of testing but it works OK with ndiswrapper 1.48.
I was going to post a bug but the bug system said to do a forum entry first.