ndiswrapper-dkms 1.58-2: ndiswrapper kernel module failed to build [error: conflicting types for ‘file_inode’]

Bug #1247212 reported by BartekChom
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ndiswrapper (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I don't know why my system wants to report this bug now (after restart), but I had to add declaration
static inline struct inode *file_inode(struct file *);
before function procfs_write_ndis_settings in file /usr/src/ndiswrapper-1.58/proc.c
because of error messages after trying to install (sudo dkms install ndiswrapper/1.58 -k 3.11.0-12-generic)

The error message, something like "look into /var/lib/dkms/ndiswrapper/1.58/build/make.log", helped.

ProblemType: Package
DistroRelease: Ubuntu 13.10
Package: ndiswrapper-dkms 1.58-2 [modified: usr/src/ndiswrapper-1.58/proc.c]
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: i386
DKMSKernelVersion: 3.11.0-12-generic
Date: Fri Nov 1 17:38:56 2013
DuplicateSignature: dkms:ndiswrapper-dkms:1.58-2:/var/lib/dkms/ndiswrapper/1.58/build/proc.c:287:5: error: conflicting types for ‘file_inode’
InstallationDate: Installed on 2010-06-24 (1225 days ago)
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
MarkForUpload: True
PackageArchitecture: all
PackageVersion: 1.58-2
SourcePackage: ndiswrapper
Title: ndiswrapper-dkms 1.58-2: ndiswrapper kernel module failed to build
UpgradeStatus: Upgraded to saucy on 2013-10-31 (1 days ago)

Revision history for this message
BartekChom (bartekchom) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ndiswrapper (Ubuntu):
status: New → Confirmed
summary: ndiswrapper-dkms 1.58-2: ndiswrapper kernel module failed to build
+ [error: conflicting types for ‘file_inode’]
Revision history for this message
Julian Andres Klode (juliank) wrote :

Should be fixed in recent versions (1.59 and friends)

Changed in ndiswrapper (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Shahar Or (mightyiam) wrote :

Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.