Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 398713 - net-wireless/ndiswrapper-1.57_rc1 - .../work/ndiswrapper-1.57rc1/driver/wrapndis.c:472:10: error: incompatible type for argument 2 of ‘pci_map_page’
Summary: net-wireless/ndiswrapper-1.57_rc1 - .../work/ndiswrapper-1.57rc1/driver/wrapn...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-12 23:10 UTC by José Romildo Malaquias
Modified: 2012-02-19 11:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of "emerge --info" (emerge.info.txt,15.54 KB, text/plain)
2012-01-12 23:10 UTC, José Romildo Malaquias
Details
Complete emerge log (net-wireless:ndiswrapper-1.57_rc1:20120112-220419.log,6.13 KB, text/plain)
2012-01-12 23:13 UTC, José Romildo Malaquias
Details

Note You need to log in before you can comment on or make changes to this bug.
Description José Romildo Malaquias 2012-01-12 23:10:48 UTC
Created attachment 298791 [details]
Output of "emerge --info"

Emerging ndiswrapper-1.57_rc1 on my ~amd64 system fails with the message:

/tmp/portage/net-wireless/ndiswrapper-1.57_rc1/work/ndiswrapper-1.57rc1/driver/wrapndis.c:1780:2: error: unknown field ���ndo_set_multicast_list��� specified in initializer
Comment 1 José Romildo Malaquias 2012-01-12 23:13:38 UTC
Created attachment 298793 [details]
Complete emerge log

Log of the emerge command.
Comment 2 Yuri Sevatz 2012-02-13 05:34:29 UTC
I can reproduce this issue - and the build breaks on exactly the same line.

I also tested with the ndiswrapper-1.57.ebuild from the sabayon overlay.

http://gentoo-overlays.zugaina.org/sabayon/portage/net-wireless/ndiswrapper/

It pulls in the 1.57 stable version.  The version of ndiswrapper addressed in this bug report happens to be an rc version of the project.

By the looks of it the ebuild isn't substantially different from this one.  Based on the nature of the errors, my guess is that something changed between the testing and stable releases of ndiswrapper 1.57 over the past few months.  After some poking around it looks like some headers may have changed in the Linux Kernel between these two releases, so that's probably what's going on here.

I recommend a version bump/request for ndiswrapper-1.57 stable.  Considering Ndiswrapper 1.56 doesn't build against Kernel 3.2.5, and that's the only other version we have in the gentoo(main) tree.
Comment 3 Yuri Sevatz 2012-02-13 05:36:16 UTC
Sorry I forgot to mention in my above comment that the 1.57 version that I linked to above successfully builds and works.  That's why I recommended the version bump :)
Comment 4 Christoph Mende (RETIRED) gentoo-dev 2012-02-19 11:10:20 UTC
Bumped to 1.57