[Bug 1514243] Re: ndiswrapper-dkms 1.59-2: ndiswrapper kernel module failed to build [ error: implicit declaration of function ‘__vmalloc’ ]

grofaty 1514243 at bugs.launchpad.net
Mon Feb 29 20:11:51 UTC 2016


I have the same problem using Cisco Linksys Wifi USB key on Ubuntu 14.04
using wily-kernel "4.2.0-30-generic x86_64". I have reported a bug
1550915 and it was marked as a duplicate of this bug.

If someone having the same problem. I have found a work-around. I have
downgraded my kernel to 3.13.0-79-generic (kernel 3.13. was the one
officially released with Ubuntu 14.04), then purged ndiswrapper software
and installed it again to make sure kernel module was recompiled against
current kernel.

Detailed step by step I have written on forum post:
http://ubuntuforums.org/showthread.php?t=2315366&p=13448109#post13448109

-- 
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/1514243

Title:
  ndiswrapper-dkms 1.59-2: ndiswrapper kernel module failed to build [
  error: implicit declaration of function ‘__vmalloc’ ]

Status in ndiswrapper package in Ubuntu:
  Confirmed

Bug description:
  When updating kernel to 4.2 there appeared a fault in loader.o:
  /var/lib/dkms/ndiswrapper/1.59/build/loader.c: In function ‘load_sys_files’:
  /var/lib/dkms/ndiswrapper/1.59/build/loader.c:157:4: error: implicit declaration of function ‘__vmalloc’ [-Werror=implicit-function-declaration]
      __vmalloc(load_driver->sys_files[i].size,
      ^
  and the module failed to build for kernel 3.19.0.32

  system: ubuntu 14.04.3 LTS

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: ndiswrapper-dkms 1.59-2
  ProcVersionSignature: Ubuntu 3.19.0-32.37~14.04.1-generic 3.19.8-ckt7
  Uname: Linux 3.19.0-32-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.18
  Architecture: amd64
  DKMSKernelVersion: 4.2.0-16-generic
  Date: Sun Nov  8 21:22:21 2015
  DuplicateSignature: dkms:ndiswrapper-dkms:1.59-2:/var/lib/dkms/ndiswrapper/1.59/build/loader.c:157:4: error: implicit declaration of function ‘__vmalloc’ [-Werror=implicit-function-declaration]
  InstallationDate: Installed on 2011-03-14 (1699 days ago)
  InstallationMedia: Ubuntu 10.04.2 LTS "Lucid Lynx" - Release amd64 (20110211.3)
  PackageArchitecture: all
  PackageVersion: 1.59-2
  RelatedPackageVersions:
   dpkg 1.17.5ubuntu5.4
   apt  1.0.1ubuntu2.10
  SourcePackage: ndiswrapper
  Title: ndiswrapper-dkms 1.59-2: ndiswrapper kernel module failed to build
  UpgradeStatus: Upgraded to trusty on 2015-04-19 (203 days ago)

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



More information about the foundations-bugs mailing list