Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75637 - kernel 2.6.10 breaks ndiswrapper-0.10
Summary: kernel 2.6.10 breaks ndiswrapper-0.10
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-25 10:29 UTC by Vincent van de Camp
Modified: 2004-12-26 05:57 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent van de Camp 2004-12-25 10:29:11 UTC
After upgrading to kernel source 2.6.10, ndiswrapper fails to compile:

# emerge ndiswrapper
Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/ndiswrapper-0.10 to /
>>> md5 src_uri ;-) ndiswrapper-0.10.tar.gz
>>> Unpacking source...
 * /usr/src/linux is a symbolic link
 * Determining the real directory of the Linux kernel source code
 * Building for Linux 2.6.10 found in /usr/src/linux
>>> Unpacking ndiswrapper-0.10.tar.gz to /var/tmp/portage/ndiswrapper-0.10/work
>>> Source unpacked.
make -C driver
make[1]: Entering directory `/var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make -C //usr/src/linux M=/var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver \
        NDISWRAPPER_VERSION=0.10 \
        EXTRA_VERSION= modules
make[2]: Entering directory `/usr/src/linux-2.6.10'
  CC [M]  /var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver/wrapper.o
/var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver/wrapper.c: In function `ndis_suspend_pci':
/var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver/wrapper.c:892: error: too many arguments to function `pci_save_state'
/var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver/wrapper.c: In function `ndis_resume_pci':
/var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver/wrapper.c:923: error: too many arguments to function `pci_restore_state'
/var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver/wrapper.c: In function `ndis_init_one_pci':
/var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver/wrapper.c:1453: error: too many arguments to function `pci_restore_state'
make[3]: *** [/var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver/wrapper.o] Error 1
make[2]: *** [_module_/var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.10'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/var/tmp/portage/ndiswrapper-0.10/work/ndiswrapper-0.10/driver'
make: *** [all] Error 2

!!! ERROR: net-wireless/ndiswrapper-0.10 failed.
!!! Function src_compile, Line 40, Exitcode 2
!!! Compile Failed!
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




The ~x86 version of ndiswrapper, 0.12-r1, compiles alright. I'm not sure how
long the 0.10 version will be the x86 ebuild of choice, so this bug may be
obsolete if 0.12 is made x86
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2004-12-25 21:09:31 UTC
0.12-r1 is x86 now. I meant to do this before 2.6.10 was released. Sorry about the issue.
Comment 2 Vincent van de Camp 2004-12-26 05:57:23 UTC
Busy days before christmas got to you, eh?:o)

Thanks!