ndiswrapper build failure
Hi,
I'm trying to build ndiswrapper against a self compiled 2.6.22 kernel.
It fails as follows:
> .../modules/ndiswrapper/ndis.c:2825:47: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
> .../modules/ndiswrapper/ndis.c: In function ‘ndis_init’:
> .../modules/ndiswrapper/ndis.c:2825: error: ‘INIT_WORK’ undeclared (first use in this function)
> .../modules/ndiswrapper/ndis.c:2825: error: (Each undeclared identifier is reported only once
> .../modules/ndiswrapper/ndis.c:2825: error: for each function it appears in.)
I've googled, but not found anything really helpful. Apparently the
kernel code changed recently, from requiring 3 to 2 arguments for
INIT_WORK, but I have had no trouble through 2.6.21. Is this a bug? Do
I need to change something in my kernel config? Anyone else seeing this?
Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator
Reply to: