I am trying to compile net-wireless/ieee80211-1.1.6 on a system with the 2.6.9-gentoo-r1 sources. I've tried doing a make mrproper and restoring my .config file. I then do a make and a make modules. If the module does not compile with my kernel, I would guess the ebuild would have a prereq for the proper kernel. I get the following errors: * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.9-gentoo-r1 * Checking for suitable kernel configuration options: >>> Unpacking source... >>> Unpacking ieee80211-1.1.6.tgz to /var/tmp/portage/ieee80211-1.1.6/work >>> Source unpacked. * Preparing ieee80211 module `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. Checking in /usr/src/linux/ for ieee80211 components... make -C /usr/src/linux M=/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6 MODVERDIR=/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6 modules make[1]: Entering directory `/usr/src/linux-2.6.9-gentoo-r1' CC [M] /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_module.o CC [M] /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_tx.o /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_tx.c:193: error: parse error before "gfp_mask" /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_tx.c:194: warning: function declaration isn't a prototype /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_tx.c: In function `ieee80211_alloc_txb': /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_tx.c:197: error: `nr_frags' undeclared (first use in this function) /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_tx.c:197: error: (Each undeclared identifier is reported only once /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_tx.c:197: error: for each function it appears in.) /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_tx.c:198: error: `gfp_mask' undeclared (first use in this function) /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_tx.c:204: error: `txb_size' undeclared (first use in this function) make[2]: *** [/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_tx.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CC [M] /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_rx.o make[1]: *** [_module_/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.9-gentoo-r1' make: *** [modules] Error 2 !!! ERROR: net-wireless/ieee80211-1.1.6 failed. !!! Function linux-mod_src_compile, Line 505, Exitcode 2 !!! Unable to make KSRC=/usr/src/linux KSRC_OUTPUT=/usr/src/linux all. !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge net-wireless/ieee80211 2. 3. Actual Results: I got a build break. Expected Results: I expected the module to compile and install.
*** This bug has been marked as a duplicate of 113155 ***