[Bug 1023645] Re: ndiswrapper-dkms 1.57-1ubuntu1: ndiswrapper kernel module failed to build [error: ‘struct kernel_stat’ has no member named ‘cpustat’]

Thorsteinn A. Malmjursson 1023645 at bugs.launchpad.net
Tue Mar 12 21:55:04 UTC 2013


Thanks for the update on status, Dave - if it helps, I've noticed
something.  I have a kernel on here, 3.8.0-2-generic, and i've got
others up to 3.8.0-9-generic - there appears to be something going wrong
with one of the macros inside the code.  I've tried to build ndiswrapper
from scratch, and get an error about ntoskernel.h, line 215, character
48 - informing me that INIT_WORK was passed 3 variables, but only takes
2.

I've examined that portion of the code, and it's not kernel limited,
despite the fact that it's means as backwards compat, pre 2.6.20.  I've
tried to exclude it, and that's failed too - so i'm lost, bearing in
mind i don't code much - and i'm not very good when I do.

The latest try I had at updating managed to get it to build as far as
ndis.o, when it fails again.  The results are in my attachment to this
comment - enjoy :)


** Attachment added: "results from latest build of ndiswrapper-1.58 on 3.8.0-2-generic"
   https://bugs.launchpad.net/ubuntu/+source/ndiswrapper/+bug/1023645/+attachment/3570981/+files/ndiswrapper.txt

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ndiswrapper in Ubuntu.
https://bugs.launchpad.net/bugs/1023645

Title:
  ndiswrapper-dkms 1.57-1ubuntu1: ndiswrapper kernel module failed to
  build [error: ‘struct kernel_stat’ has no member named ‘cpustat’]

Status in “ndiswrapper” package in Ubuntu:
  Triaged
Status in “ndiswrapper” source package in Precise:
  Confirmed
Status in “ndiswrapper” source package in Quantal:
  Confirmed

Bug description:
  WORKAROUND: https://launchpad.net/~crass/+archive/ndiswrapper

  rebooted after an update in ubuntu12.10

  ProblemType: Package
  DistroRelease: Ubuntu 12.10
  Package: ndiswrapper-dkms 1.57-1ubuntu1
  ProcVersionSignature: Ubuntu 3.0-3.4-generic 3.0.0-rc5
  Uname: Linux 3.0-3-generic x86_64
  ApportVersion: 2.3-0ubuntu4
  Architecture: amd64
  DKMSKernelVersion: 3.5.0-4-generic
  Date: Wed Jul 11 23:24:17 2012
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027.1)
  PackageArchitecture: all
  PackageVersion: 1.57-1ubuntu1
  SourcePackage: ndiswrapper
  Title: ndiswrapper-dkms 1.57-1ubuntu1: ndiswrapper kernel module failed to build
  UpgradeStatus: Upgraded to quantal on 2012-07-08 (2 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ndiswrapper/+bug/1023645/+subscriptions




More information about the foundations-bugs mailing list