The ebuild net-wireless/linux-wlan-ng-modules-0.2.8-r1 needs bumping to net-wireless/linux-wlan-ng-modules-0.2.9 so that version 0.2.9 is picked up from the ftp server. This version is needed for kernels 2.6.24+. I've tested this and its working fine, but needed to remove the patching line: epatch "${FILESDIR}/0.2.8-sk_buff-mac.patch" otherwise it fails to patch. Not sure if this is still needed but it compiles fine without it. Reproducible: Always Steps to Reproduce: 1. Install 2.6.24 kernel 2. emerge net-wireless/linux-wlan-ng-modules-0.2.8-r1 Actual Results: Calculating dependencies ... done! >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) net-wireless/linux-wlan-ng-modules-0.2.8-r1 to / * linux-wlan-ng-0.2.8.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking linux-wlan-ng-0.2.8.tar.bz2 ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.25-gentoo-r7/build * Found sources for kernel version: * 2.6.25-gentoo-r7 * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking linux-wlan-ng-0.2.8.tar.bz2 to /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/work * Applying linux-wlan-ng-0.2.5-sandbox.patch ... [ ok ] * Applying 0.2.8-sk_buff-mac.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/work/linux-wlan-ng-0.2.8 ... -------------- Linux WLAN Configuration Script ------------- The default responses are correct for most users. Build Prism2.x PCMCIA Card Services (_cs) driver? (y/n) [n] Build Prism2 PLX9052 based PCI (_plx) adapter driver? (y/n) [n] Build Prism2.5 native PCI (_pci) driver? (y/n) [n] Build Prism2.5 USB (_usb) driver? (y/n) [y] Linux source directory [/usr/src/linux] make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. The kernel source tree is version 2.6.25-gentoo-r7. ******* WARNING WARNING WARNING ******* Kernels newer than 2.6.21.x are not supported. ******* WARNING WARNING WARNING ******* The current kernel build date is Tue Nov 18 21:49:53 2008. WARNING: the source tree has a build date of Tue Nov 18 22:03:07 2008. Did you forget to install your new kernel?!? Alternate target install root directory on host [/var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/image/] Module install directory [/lib/modules/2.6.25-gentoo-r7] It looks like you have a System V init file setup. Prefix for build host compiler? (rarely needed) [] Build for debugging (see doc/config.debug) (y/n) [n] Configuration successful. Now type 'make' and pray. gcc -E -M -I../include -I/usr/src/linux/include -D__LINUX_WLAN__ ../shared/p80211types.c ../shared/p80211metamsg.c ../shared/p80211metamib.c ../shared/p80211meta.c mkmetadef.c ../shared/p80211types.c ../shared/p80211metamsg.c ../shared/p80211metamib.c ../shared/p80211meta.c mkmetastruct.c > .depend mkdir -p obj gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../include -I/usr/src/linux/include -D__LINUX_WLAN__ ../shared/p80211types.c -o obj/p80211types.o ../shared/p80211types.c: In function 'p80211_totext_displaystr': ../shared/p80211types.c:253: warning: pointer targets in passing argument 2 of '__builtin_strncat' differ in signedness ../shared/p80211types.c: In function 'p80211_fromtext_displaystr': ../shared/p80211types.c:341: warning: pointer targets in passing argument 1 of '__builtin_strncpy' differ in signedness gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../include -I/usr/src/linux/include -D__LINUX_WLAN__ ../shared/p80211metamsg.c -o obj/p80211metamsg.o gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../include -I/usr/src/linux/include -D__LINUX_WLAN__ ../shared/p80211metamib.c -o obj/p80211metamib.o gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../include -I/usr/src/linux/include -D__LINUX_WLAN__ ../shared/p80211meta.c -o obj/p80211meta.o gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../include -I/usr/src/linux/include -D__LINUX_WLAN__ mkmetadef.c -o obj/mkmetadef.o gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../include -I/usr/src/linux/include -D__LINUX_WLAN__ mkmetastruct.c -o obj/mkmetastruct.o gcc -o mkmetadef obj/p80211types.o obj/p80211metamsg.o obj/p80211metamib.o obj/p80211meta.o obj/mkmetadef.o cat mkmetadefhead.txt > ../include/wlan/p80211metadef.h ./mkmetadef >> ../include/wlan/p80211metadef.h echo "#endif" >> ../include/wlan/p80211metadef.h gcc -o mkmetastruct obj/p80211types.o obj/p80211metamsg.o obj/p80211metamib.o obj/p80211meta.o obj/mkmetastruct.o cat mkmetastructhead.txt > ../include/wlan/p80211metastruct.h ./mkmetastruct >> ../include/wlan/p80211metastruct.h echo "#endif" >> ../include/wlan/p80211metastruct.h * Preparing p80211 module make -C /usr/src/linux M='/var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/work/linux-wlan-ng-0.2.8/src/p80211' WLAN_SRC=/var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/work/linux-wlan-ng-0.2.8/src modules make[1]: Entering directory `/usr/src/linux-2.6.25-gentoo-r7' CC [M] /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/work/linux-wlan-ng-0.2.8/src/p80211/p80211mod.o CC [M] /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/work/linux-wlan-ng-0.2.8/src/p80211/p80211conv.o CC [M] /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/work/linux-wlan-ng-0.2.8/src/p80211/p80211req.o CC [M] /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/work/linux-wlan-ng-0.2.8/src/p80211/p80211wep.o CC [M] /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/work/linux-wlan-ng-0.2.8/src/p80211/p80211wext.o /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/work/linux-wlan-ng-0.2.8/src/p80211/p80211wext.c:451:2: warning: #warning "get rid of p2mib here" CC [M] /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/work/linux-wlan-ng-0.2.8/src/p80211/p80211netdev.o /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/work/linux-wlan-ng-0.2.8/src/p80211/p80211netdev.c: In function 'p80211netdev_startup': /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/work/linux-wlan-ng-0.2.8/src/p80211/p80211netdev.c:170: error: 'proc_net' undeclared (first use in this function) /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/work/linux-wlan-ng-0.2.8/src/p80211/p80211netdev.c:170: error: (Each undeclared identifier is reported only once /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/work/linux-wlan-ng-0.2.8/src/p80211/p80211netdev.c:170: error: for each function it appears in.) /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/work/linux-wlan-ng-0.2.8/src/p80211/p80211netdev.c: In function 'p80211netdev_shutdown': /var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/work/linux-wlan-ng-0.2.8/src/p80211/p80211netdev.c:199: error: 'proc_net' undeclared (first use in this function) make[2]: *** [/var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/work/linux-wlan-ng-0.2.8/src/p80211/p80211netdev.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [_module_/var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/work/linux-wlan-ng-0.2.8/src/p80211] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.25-gentoo-r7' make: *** [default] Error 2 * * ERROR: net-wireless/linux-wlan-ng-modules-0.2.8-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3151: Called linux-mod_src_compile * environment, line 2412: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CC=\"$(get-KERNEL_CC)\" LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS= WLAN_SRC=/var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/work/linux-wlan-ng-0.2.8/src default * * 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/linux-wlan-ng-modules-0.2.8-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/temp/environment'. * * Messages for package net-wireless/linux-wlan-ng-modules-0.2.8-r1: * * ERROR: net-wireless/linux-wlan-ng-modules-0.2.8-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3151: Called linux-mod_src_compile * environment, line 2412: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CC=\"$(get-KERNEL_CC)\" LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS= WLAN_SRC=/var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/work/linux-wlan-ng-0.2.8/src default * * 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/linux-wlan-ng-modules-0.2.8-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-wireless/linux-wlan-ng-modules-0.2.8-r1/temp/environment'. * Expected Results: It compiles successfully. This may not be isolated to this driver along (other wireless drivers may be affected). References to the kernel changes: http://www.linuxquestions.org/questions/linux-kernel-70/2.6.24-procnet-disappeared-617597/ http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/544fbdea6984c215
*** Bug 329945 has been marked as a duplicate of this bug. ***
As explained in: http://wiki.debian.org/linux-wlan-ng All their drivers have replacements in kernel
What about linux-wlan-ng-utils ? I noticed today that package is masked because of the linux-wlan-ng-modules... Any replacement package for keygen and lwepgen ? :[
dropped