# emerge ipw2200 >>> emerge (1 of 1) net-wireless/ipw2200-1.0.11-r1 to / >>> checksums files ;-) ipw2200-1.0.3.ebuild >>> checksums files ;-) ipw2200-1.0.1.ebuild >>> checksums files ;-) ipw2200-1.0.4.ebuild >>> checksums files ;-) ipw2200-1.0.10.ebuild >>> checksums files ;-) ipw2200-1.0.5.ebuild >>> checksums files ;-) ipw2200-1.0.6-r1.ebuild >>> checksums files ;-) ipw2200-1.0.6-r2.ebuild >>> checksums files ;-) ipw2200-1.0.6-r3.ebuild >>> checksums files ;-) ipw2200-1.0.6.ebuild >>> checksums files ;-) ipw2200-1.0.7-r1.ebuild >>> checksums files ;-) ipw2200-1.0.7.ebuild >>> checksums files ;-) ipw2200-1.0.8-r1.ebuild >>> checksums files ;-) ipw2200-1.0.8.ebuild >>> checksums files ;-) ipw2200-1.0.9.ebuild >>> checksums files ;-) ipw2200-1.0.11-r1.ebuild >>> checksums files ;-) ipw2200-1.0.11.ebuild >>> checksums files ;-) files/ipw2200-1.0.1-suspend2.patch >>> checksums files ;-) files/digest-ipw2200-1.0.3 >>> checksums files ;-) files/digest-ipw2200-1.0.1 >>> checksums files ;-) files/ipw2200-1.0.3-suspend2.patch >>> checksums files ;-) files/digest-ipw2200-1.0.4 >>> checksums files ;-) files/ipw2200-1.0.1-is_multicast_ether_addr.patch >>> checksums files ;-) files/ipw2200-1.0.4-is_multicast_ether_addr.patch >>> checksums files ;-) files/ipw2200-1.0.3-is_multicast_ether_addr.patch >>> checksums files ;-) files/ipw2200-1.0.6-a_txpow.patch >>> checksums files ;-) files/digest-ipw2200-1.0.10 >>> checksums files ;-) files/digest-ipw2200-1.0.5 >>> checksums files ;-) files/digest-ipw2200-1.0.6 >>> checksums files ;-) files/digest-ipw2200-1.0.6-r1 >>> checksums files ;-) files/digest-ipw2200-1.0.6-r2 >>> checksums files ;-) files/digest-ipw2200-1.0.6-r3 >>> checksums files ;-) files/digest-ipw2200-1.0.7 >>> checksums files ;-) files/digest-ipw2200-1.0.7-r1 >>> checksums files ;-) files/digest-ipw2200-1.0.8 >>> checksums files ;-) files/digest-ipw2200-1.0.8-r1 >>> checksums files ;-) files/digest-ipw2200-1.0.9 >>> checksums files ;-) files/ipw2200-1.0.6-dup-without-retry.patch >>> checksums files ;-) files/ipw2200-1.0.6-broadcast.patch >>> checksums files ;-) files/ipw2200-1.0.6-channel_change_fw_err.patch >>> checksums files ;-) files/ipw2200-1.0.6-hwcrypt-wpa-fix4.patch >>> checksums files ;-) files/ipw2200-1.0.6-ibss-wep.patch >>> checksums files ;-) files/ipw2200-1.0.6-init_scan.patch >>> checksums files ;-) files/ipw2200-1.0.6-irq_override.patch >>> checksums files ;-) files/ipw2200-1.0.6-monitor_wep_fix.patch >>> checksums files ;-) files/ipw2200-1.0.6-open_frag.patch >>> checksums files ;-) files/ipw2200-1.0.6-pci_link-fix.patch >>> checksums files ;-) files/ipw2200-1.0.6-reset-mode-fix.patch >>> checksums files ;-) files/ipw2200-1.0.6-suspend2.patch >>> checksums files ;-) files/ipw2200-1.0.7-broadcast.patch >>> checksums files ;-) files/ipw2200-1.0.7-wireless_ext-capa.patch >>> checksums files ;-) files/ipw2200-1.0.8-broadcast.patch >>> checksums files ;-) files/ipw2200-1.0.8-slabcorrupt.patch >>> checksums files ;-) files/ipw2200-1.0.8-txbusy.patch >>> checksums files ;-) files/ipw2200-1.0.9-qos.patch >>> checksums files ;-) files/ipw2200-1.0.11-debug.patch >>> checksums files ;-) files/digest-ipw2200-1.0.11 >>> checksums files ;-) files/digest-ipw2200-1.0.11-r1 >>> checksums src_uri ;-) ipw2200-1.0.11.tgz * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.12-gentoo-r6 * Checking for suitable kernel configuration options: >>> Unpacking source... >>> Unpacking ipw2200-1.0.11.tgz to /var/tmp/portage/ipw2200-1.0.11-r1/work * Applying ipw2200-1.0.11-debug.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/ipw2200-1.0.11-r1/work/ipw2200-1.0.11 ... * Preparing ipw2200 module mkdir -p /var/tmp/portage/ipw2200-1.0.11-r1/work/ipw2200-1.0.11/tmp/.tmp_versions cp /usr/include/*.mod /var/tmp/portage/ipw2200-1.0.11-r1/work/ipw2200-1.0.11/tmp/.tmp_versions cp: cannot stat `/usr/include/*.mod': No such file or directory make: [modules] Error 1 (ignored) make -C /usr/src/linux M=/var/tmp/portage/ipw2200-1.0.11-r1/work/ipw2200-1.0.11 MODVERDIR=/var/tmp/portage/ipw2200-1.0.11-r1/work/ipw2200-1.0.11/tmp/.tmp_versions modules make[1]: Entering directory `/usr/src/linux-2.6.12-gentoo-r6' CC [M] /var/tmp/portage/ipw2200-1.0.11-r1/work/ipw2200-1.0.11/ipw2200.o /var/tmp/portage/ipw2200-1.0.11-r1/work/ipw2200-1.0.11/ipw2200.c: In function `ipw_wpa_supplicant': /var/tmp/portage/ipw2200-1.0.11-r1/work/ipw2200-1.0.11/ipw2200.c:6769: error: structure has no member named `sem' /var/tmp/portage/ipw2200-1.0.11-r1/work/ipw2200-1.0.11/ipw2200.c:6796: error: structure has no member named `sem' /var/tmp/portage/ipw2200-1.0.11-r1/work/ipw2200-1.0.11/ipw2200.c: In function `ipw_wx_get_range': /var/tmp/portage/ipw2200-1.0.11-r1/work/ipw2200-1.0.11/ipw2200.c:8991: error: structure has no member named `enc_capa' /var/tmp/portage/ipw2200-1.0.11-r1/work/ipw2200-1.0.11/ipw2200.c:8991: error: `IW_ENC_CAPA_WPA' undeclared (first use in this function) /var/tmp/portage/ipw2200-1.0.11-r1/work/ipw2200-1.0.11/ipw2200.c:8991: error: (Each undeclared identifier is reported only once /var/tmp/portage/ipw2200-1.0.11-r1/work/ipw2200-1.0.11/ipw2200.c:8991: error: for each function it appears in.) /var/tmp/portage/ipw2200-1.0.11-r1/work/ipw2200-1.0.11/ipw2200.c:8991: error: `IW_ENC_CAPA_WPA2' undeclared (first use in this function) /var/tmp/portage/ipw2200-1.0.11-r1/work/ipw2200-1.0.11/ipw2200.c:8992: error: `IW_ENC_CAPA_CIPHER_TKIP' undeclared (first use in this function) /var/tmp/portage/ipw2200-1.0.11-r1/work/ipw2200-1.0.11/ipw2200.c:8992: error: `IW_ENC_CAPA_CIPHER_CCMP' undeclared (first use in this function) make[2]: *** [/var/tmp/portage/ipw2200-1.0.11-r1/work/ipw2200-1.0.11/ipw2200.o] Error 1 make[1]: *** [_module_/var/tmp/portage/ipw2200-1.0.11-r1/work/ipw2200-1.0.11] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.12-gentoo-r6' make: *** [modules] Error 2 !!! ERROR: net-wireless/ipw2200-1.0.11-r1 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile ipw2200-1.0.11-r1.ebuild, line 75: Called linux-mod_src_compile !!! Unable to make KSRC=/usr/src/linux KSRC_OUTPUT=/usr/src/linux IEEE80211_INC=/usr/include all. !!! If you need support, post the topmost build error, and the call stack if relevant. # emerge --info Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1.86GHz Gentoo Base System version 1.12.0_pre16 dev-lang/python: 2.3.5-r2, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo " MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 X acpi alsa arts avi berkdb bitmap-fonts cdr crypt cups dvd eds emboss encode foomaticdb fortran gdbm gif gpm gstreamer gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Try reinstalling net-wireless/ieee80211 before installing net-wireless/ipw2200. Also, please try to reproduce this problem with a more recent kernel - linux-2.6.12 is rather old.