|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 ful. 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 -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Fri, 27 Jul 2007 12:03:10 -0400
Celejar <celejar@gmail.com> wrote: > 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.) Sorry for the noise; I had neglected to update my ndiswrapper source tree to the latest (1.47) version (it was still at 1.43). Celejar -- mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
![]() |
| Outils de la discussion | |
|
|