Summary: | net-wireless/ndiswrapper-1.58 with vanilla-sources-3.9.0 - .../work/ndiswrapper-1.58/driver/loader.c:578:3: error: too few arguments to function ‘add_taint’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bob Raitz <pappy_mcfae> |
Component: | Current packages | Assignee: | Christoph Mende (RETIRED) <angelos> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pchrist |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
ndiswrapper-1.58-add_taint.patch
Ebuild to go with ndiswrapper-1.58-add_taint.patch |
Description
Bob Raitz
2013-04-30 07:58:30 UTC
Created attachment 347704 [details, diff] ndiswrapper-1.58-add_taint.patch This patch fixes this particular issue when used in conjunction with a modified ebuild that will be attached after this. I may play with this, and see if I can make it kernel version aware. If someone wants to beat me to the punch, that's cool, too. As long as it gets fixed, it matters not from whence the fix arose. The original patch is located here https://gist.github.com/shimarin/5493086 Created attachment 347706 [details] Ebuild to go with ndiswrapper-1.58-add_taint.patch This is the full ebuild with ndiswrapper-1.58-add_taint.patch included. I am going to experiment to see if I can make an ebuild that is kernel version sensitive. Any successes will be posted. Origin: https://gist.github.com/shimarin/5493086 (In reply to comment #2) > Created attachment 347706 [details] > Ebuild to go with ndiswrapper-1.58-add_taint.patch I tested this on a ~x86 box and it allows ndiswrapper to build with gcc 4.5.3-r1, kernel gentoo-sources-3.9.0. A Ralink driver loads successfully with `ndiswrapper -i /path/to/rt2870.inf` The USB wifi device is not fully functional: `ndiswrapper -l` shows the rt2870 driver but no device - but this may be a hardware error. This hardware also fails with the rt2800usb kernel support. Overlay with this patch is at https://github.com/thomasn/twixbox-overlay if anyone else wants to test. Thanks, Thomas Fixed in CVS. Couldn't use your patch though. For the next patch you post, please ensure that it also works on older versions. Also, please apply ebuild diffs instead of full ebuilds. (In reply to Thomas Nichols from comment #3) > (In reply to comment #2) > > Created attachment 347706 [details] > > Ebuild to go with ndiswrapper-1.58-add_taint.patch > > I tested this on a ~x86 box and it allows ndiswrapper to build with gcc > 4.5.3-r1, kernel gentoo-sources-3.9.0. A Ralink driver loads successfully > with > `ndiswrapper -i /path/to/rt2870.inf` > > The USB wifi device is not fully functional: `ndiswrapper -l` shows the > rt2870 driver but no device - but this may be a hardware error. This > hardware also fails with the rt2800usb kernel support. > > Overlay with this patch is at https://github.com/thomasn/twixbox-overlay if > anyone else wants to test. > Thanks, > Thomas Confirming that the patched ndiswrapper is working with a known-good USB adapter: thebe ~ # lsusb | grep WLAN Bus 004 Device 004: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter thebe ~ # ndiswrapper -l net8192cu : driver installed device (0BDA:8178) present rt2870 : driver installed thebe ~ # uname -a Linux thebe 3.9.0-gentoo #2 SMP Sat May 18 02:28:44 BST 2013 i686 Intel(R) Pentium(R) M processor 1.80GHz GenuineIntel GNU/Linux |