ndiswrapper will not compile with newer kernels
|Status:||In Progress||Start date:||10/28/2011|
Beyond kernel 2.6.36, ndiswrapper (1.54 in stable and 1.56 - the latest) will fail to build with the following error
driver make1: Entering directory
`/home/jroth/Downloads/ndiswrapper-1.56/driver' make -C
Entering directory `/usr/src/linux-source-2.6.36' CC [M]
error: unknown field 'ioctl' specified in initializer
warning: initialization from incompatible pointer type
Patches are needed and detailed here -
The ultimate question is, with the wireless support now included IN the kernel, is this spell still really necessary?
Similar issues exist with madwifi (kernel drivers now exist), but I'll detail that later.
#2 Updated by Sukneet Basuta about 4 years ago
Can you perhaps try 1.57-rc1 http://sourceforge.net/projects/ndiswrapper/files/testing/1.57-rc1/
It compiles fine for me on kernel 3.0.8, but I don't have wireless extension enabled.
Or you can find try patching 1.56 with the patches from http://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/ndiswrapper
Imo, we may as well leave it should a user need it for some odd driver. But at the same time, no one has complained, so I assume no one is using it, or they could be using the svn version.