These are the packages that would be merged, in order: Calculating dependencies ..... ..... ..... ...... done! [ebuild N ] net-wireless/rt2x00-9999 USE="rt2500pci -asm -debug -rfkill -rt2400pci -rt2500usb -rt61pci -rt73usb" 0 kB [4] Total: 1 package (1 new), Size of downloads: 0 kB Portage overlays: [1] /usr/portage/local/layman/sunrise [2] /usr/portage/local/layman/pro-audio [3] /usr/local/overlays/crossdev [4] /usr/local/portage >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) net-wireless/rt2x00-9999 to / * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.22-gentoo-r2/build * Found sources for kernel version: * 2.6.22-gentoo-r2 * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... * Fetching CVS module source/rt2x00 into /usr/portage/distfiles/cvs-src ... * Running cvs -q -f -z1 -d ":pserver:anonymous:@rt2400.cvs.sourceforge.net:/cvsroot/rt2400" login Logging in to :pserver:anonymous@rt2400.cvs.sourceforge.net:2401/cvsroot/rt2400 * Running cvs -q -f -z1 -d ":pserver:anonymous@rt2400.cvs.sourceforge.net:/cvsroot/rt2400" update -dP rt2x00-9999 * Copying source/rt2x00 from /usr/portage/distfiles/cvs-src ... * CVS module source/rt2x00 is now in /var/tmp/portage/net-wireless/rt2x00-9999/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999 ... * Preparing rt2x00lib module CC [M] /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/eeprom_93cx6/eeprom_93cx6.o CC [M] /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00dev.o CC [M] /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00config.o CC [M] /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.o CC [M] /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2500pci.o CC [M] /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00pci.o /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c: In function ‘rt2x00mac_tx_rts_cts’: /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:61: warning: passing argument 2 of ‘ieee80211_ctstoself_get’ makes pointer from integer without a cast /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:61: warning: passing argument 3 of ‘ieee80211_ctstoself_get’ makes integer from pointer without a cast /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:61: warning: passing argument 4 of ‘ieee80211_ctstoself_get’ makes pointer from integer without a cast /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:61: warning: passing argument 5 of ‘ieee80211_ctstoself_get’ from incompatible pointer type /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:61: error: too many arguments to function ‘ieee80211_ctstoself_get’ /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:65: warning: passing argument 2 of ‘ieee80211_rts_get’ makes pointer from integer without a cast /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:65: warning: passing argument 3 of ‘ieee80211_rts_get’ makes integer from pointer without a cast /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:65: warning: passing argument 4 of ‘ieee80211_rts_get’ makes pointer from integer without a cast /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:65: warning: passing argument 5 of ‘ieee80211_rts_get’ from incompatible pointer type /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:65: error: too many arguments to function ‘ieee80211_rts_get’ make[3]: *** [/var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.o] Error 1 make[2]: *** [_module_/var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999] Error 2 make[1]: *** [modules] Error 2 make: *** [default] Error 2 !!! ERROR: net-wireless/rt2x00-9999 failed. Call stack: ebuild.sh, line 1632: Called dyn_compile ebuild.sh, line 983: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile rt2x00-9999.ebuild, line 121: Called linux-mod_src_compile linux-mod.eclass, line 516: Called die !!! Unable to make KERNDIR=/usr/src/linux KERNOUT=/lib/modules/2.6.22-gentoo-r2/build . !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/net-wireless/rt2x00-9999/temp/build.log'.