When emerging linux-wlan-ng-0.2.1_pre20 I get the following: # emerge -u linux-wlan-ng Calculating dependencies ...done! >>> emerge (1 of 1) net-wireless/linux-wlan-ng-0.2.1_pre20 to / >>> md5 src_uri ;-) pcmcia-cs-3.2.5.tar.gz >>> md5 src_uri ;-) pcmcia-cs-3.2.5-module-init-tools.diff.gz >>> md5 src_uri ;-) pcmcia-cs-3.2.5-SMP-fix.diff.gz >>> md5 src_uri ;-) pcmcia-cs-3.2.5-3.2.6.diff.gz >>> md5 src_uri ;-) pcmcia-cs-3.2.5-3.2.7.diff.gz >>> md5 src_uri ;-) linux-wlan-ng-0.2.1-pre20.tar.gz >>> md5 src_uri ;-) linux-wlan-ng-gentoo-init.gz >>> Unpacking source... >>> Unpacking linux-wlan-ng-0.2.1-pre20.tar.gz to /var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work >>> Unpacking linux-wlan-ng-gentoo-init.gz to /var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work * Kernel PCMCIA detected. Skipping external pcmcia-cs sources. >>> Source unpacked. -------------- Linux WLAN Configuration Script ------------- The default responses are correct for most users. Build Prism2.x PCMCIA Card Services (_cs) driver? (y/n) [y] Build Prism2 PLX9052 based PCI (_plx) adapter driver? (y/n) [y] Build Prism2.5 native PCI (_pci) driver? (y/n) [y] 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.4. Kernel 2.5/2.6 support is highly experimental. The current kernel build date is Fri Mar 26 19:51:46 2004. Alternate target install root directory on host [/var/tmp/portage/linux-wlan-ng-0.2.1_pre20/image/] PCMCIA script directory [/etc/pcmcia] Module install directory [/lib/modules/2.6.4] It looks like you have a System V init file setup. Build for debugging (see doc/config.debug) (y/n) [n] Configuration successful. set -e; for d in src doc man etc; do make -C $d ; done make[1]: Entering directory `/var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src' set -e; for d in mkmeta p80211 prism2 shared wlanctl wland nwepgen wlancfg; do make -C $d ; done make[2]: Entering directory `/var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/mkmeta' 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 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 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 cat mkmetadefhead.txt > ../include/wlan/p80211metadef.h ./mkmetastruct >> ../include/wlan/p80211metastruct.h ./mkmetadef >> ../include/wlan/p80211metadef.h echo "#endif" >> ../include/wlan/p80211metastruct.h echo "#endif" >> ../include/wlan/p80211metadef.h make[2]: Leaving directory `/var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/mkmeta' make[2]: Entering directory `/var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211' if test ! -d /var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211/../.tmp_versions; then \ cp -rf /usr/src/linux/.tmp_versions /var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211/../ ; \ fi make -C /usr/src/linux SUBDIRS=/var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211 WLAN_SRC=/var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211/ \ MODVERDIR=/var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211/../.tmp_versions modules make[3]: Entering directory `/usr/src/linux-2.6.4' *** Warning: Overriding SUBDIRS on the command line can cause *** inconsistencies make[4]: `arch/i386/kernel/asm-offsets.s' is up to date. CC [M] /var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211/p80211mod.o CC [M] /var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211/p80211conv.o CC [M] /var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211/p80211req.o CC [M] /var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211/p80211frm.o CC [M] /var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211/p80211wep.o CC [M] /var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211/p80211wext.o CC [M] /var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211/p80211netdev.o /var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211/p80211wext.c:172:2: warning: #warning "make a smarter sharedkey/opensystem auth decision" /var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211/p80211wext.c:438:2: warning: #warning "get rid of p2mib here" /var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211/p80211wext.c:748:2: warning: #warning "Get rid of p2mib here!" /var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211/p80211netdev.c: In function `register_wlandev': /var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211/p80211netdev.c:1051: warning: `dev_get' is deprecated (declared at include/linux/netdevice.h:519) LD [M] /var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211/p80211.o Building modules, stage 2. MODPOST /bin/sh: line 1: ./.__modpost.cmd: Permission denied make[4]: *** [__modpost] Error 1 make[3]: *** [modules] Error 2 make[3]: Leaving directory `/usr/src/linux-2.6.4' make[2]: *** [default] Error 2 make[2]: Leaving directory `/var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src' make: *** [all] Error 2 !!! ERROR: net-wireless/linux-wlan-ng-0.2.1_pre20 failed. !!! Function src_compile, Line 92, Exitcode 2 !!! failed compiling Reproducible: Always Steps to Reproduce: 1. emerge linux-wlan-ng Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4) ================================================================= System uname: 2.6.4 i686 Mobile Intel(R) Pentium(R) III CPU - M 1200MHz Gentoo Base System version 1.4.3.13p1 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox userpriv" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.caliu.info/pub/gentoo/ http://www.ibiblio.org/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aalib acpi acpi4linux activefilter afs alsa altivec amd apache2 apm arts autofs avi berkdb bindist bonobo bsh cdr crypt cscope cups curl dga directfb dnd doc dv dvd encode esd ethereal etwin evms2 evo exiscan-acl faad fam fastcgi fbcon fbdev flash foomaticdb gb gdbm geoip ggi gif gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hostap-nopci hostap-noplx hyriand i8x0 imagemagick imap imlib irmc java javascript jdepend jikes joystick jpeg junit jython kde lcd lcms ldap libdsk libg++ libgda libwww lirc lmtp mad maildir mbox mcal mdb mikmod mldonkeypango motif mozcalendar mozctl mozilla mozinterfaceinfo mozp3p mozsvg mozxmlterm mpeg mpi msn music mysql nas ncurses nls nocd offensive oggvorbis oldworld opengl opie oro oss pam parse-clocks pcap pcmcia pda pdflib perl pg-hier pic png pnp postgres ppds python qt quicktime readline regexp ruby samba scanner sdl slang slp socks5 spell sqlite sse ssl stencil-buffer svga tcltk tcpd tetex tiff transcode truetype trusted type1 usb v4l videos vim-with-x wmf wxwin wxwindows x86 xchattext xine xinerama xml xml2 xmms xosd xv xvid zlib"
my error is different: *** Warning: Overriding SUBDIRS on the command line can cause *** inconsistencies make[4]: `arch/i386/kernel/asm-offsets.s' is up to date. CHK include/asm-i386/asm_offsets.h ACCESS DENIED open_wr: /usr/src/linux-2.6.5/include/asm-i386/asm_offsets.h.tmp /bin/sh: line 1: include/asm-i386/asm_offsets.h.tmp: Permission denied UPD include/asm-i386/asm_offsets.h mv: cannot stat `include/asm-i386/asm_offsets.h.tmp': No such file or directory make[3]: *** [include/asm-i386/asm_offsets.h] Error 1 make[3]: Leaving directory `/usr/src/linux-2.6.5' make[2]: *** [default] Error 2 make[2]: Leaving directory `/var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src' make: *** [all] Error 2 !!! ERROR: net-wireless/linux-wlan-ng-0.2.1_pre20 failed. !!! Function src_compile, Line 92, Exitcode 2 !!! failed compiling --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-net-wireless_-_linux-wlan-ng-0.2.1_pre20-7627.log" open_wr: /usr/src/linux-2.6.5/include/asm-i386/asm_offsets.h.tmp --------------------------------------------------------------------------------
And I get: ACCESS DENIED open_wr: /usr/src/linux-2.6.7-gentoo-r6/lib/zlib_inflate/zlib_inflate.mod.c\ lib/zlib_inflate/zlib_inflate.mod.c: Permission denied make[4]: *** [__modpost] Error 1 make[3]: *** [modules] Error 2 make[3]: Leaving directory `/usr/src/linux-2.6.7-gentoo-r6' make[2]: *** [default] Error 2 make[2]: Leaving directory `/var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linu x-wlan-ng-0.2.1-pre20/src/p80211' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linu x-wlan-ng-0.2.1-pre20/src' make: *** [all] Error 2 !!! ERROR: net-wireless/linux-wlan-ng-0.2.1_pre20 failed. !!! Function src_compile, Line 92, Exitcode 2 !!! failed compiling
Please retest and report back. There have been changes to the kernel build system and the associated ebuilds that should fix this issue.
I receive the following error: ping root # ACCEPT_KEYWORDS="~x86" USE="-usb -pcmcia" emerge -Uv linux-wlan-ng .... /home/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211/p80211netdev.c:1051: warning: `dev_get' is deprecated (declared at include/linux/netdevice.h:533) LD [M] /home/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211/p80211.o Building modules, stage 2. MODPOST ACCESS DENIED open_wr: /usr/src/linux-2.6.7/drivers/net/irda/w83977af_ir.mod.c drivers/net/irda/w83977af_ir.mod.c: Permission denied make[4]: *** [__modpost] Error 1 make[3]: *** [modules] Error 2 make[3]: Leaving directory `/usr/src/linux-2.6.7' make[2]: *** [default] Error 2 make[2]: Leaving directory `/home/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src/p80211' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/tmp/portage/linux-wlan-ng-0.2.1_pre20/work/linux-wlan-ng-0.2.1-pre20/src' make: *** [all] Error 2 !!! ERROR: net-wireless/linux-wlan-ng-0.2.1_pre20 failed. !!! Function src_compile, Line 92, Exitcode 2 !!! failed compiling --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-net-wireless_-_linux-wlan-ng-0.2.1_pre20-22661.log" open_wr: /usr/src/linux-2.6.7/drivers/net/irda/w83977af_ir.mod.c --------------------------------------------------------------------------------
I get the same problem with the access violation.
Commited a new ebuild for pre22 that should include some fixes. It is masked however, please unmask and test it and report back.
I still get the following after unmasking the new ebuild. This is the same error as previous ebuilds: /usr/tmp/portage/linux-wlan-ng-0.2.1_pre22/work/linux-wlan-ng-0.2.1pre22/src/p80211/p80211wext.c:438:2: warning: #warning "get rid of p2mib here" /usr/tmp/portage/linux-wlan-ng-0.2.1_pre22/work/linux-wlan-ng-0.2.1pre22/src/p80211/p80211wext.c:748:2: warning: #warning "Get rid of p2mib here!" /usr/tmp/portage/linux-wlan-ng-0.2.1_pre22/work/linux-wlan-ng-0.2.1pre22/src/p80211/p80211wext.c:1151: warning: `p80211wext_siwtxpow' defined but not used /usr/tmp/portage/linux-wlan-ng-0.2.1_pre22/work/linux-wlan-ng-0.2.1pre22/src/p80211/p80211netdev.c: In function `register_wlandev': /usr/tmp/portage/linux-wlan-ng-0.2.1_pre22/work/linux-wlan-ng-0.2.1pre22/src/p80211/p80211netdev.c:1054: warning: `dev_get' is deprecated (declared at include/linux/netdevice.h:533) LD [M] /usr/tmp/portage/linux-wlan-ng-0.2.1_pre22/work/linux-wlan-ng-0.2.1pre22/src/p80211/p80211.o Building modules, stage 2. MODPOST ACCESS DENIED open_wr: /usr/src/linux-2.6.7-gentoo-r7/drivers/md/xor.mod.c drivers/md/xor.mod.c: Permission denied make[4]: *** [__modpost] Error 1 make[3]: *** [modules] Error 2 make[3]: Leaving directory `/usr/src/linux-2.6.7-gentoo-r7' make[2]: *** [default] Error 2 make[2]: Leaving directory `/usr/tmp/portage/linux-wlan-ng-0.2.1_pre22/work/linux-wlan-ng-0.2.1pre22/src/p80211' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/tmp/portage/linux-wlan-ng-0.2.1_pre22/work/linux-wlan-ng-0.2.1pre22/src' make: *** [all] Error 2 !!! ERROR: net-wireless/linux-wlan-ng-0.2.1_pre22 failed. !!! Function src_compile, Line 95, Exitcode 2 !!! failed compiling --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-net-wireless_-_linux-wlan-ng-0.2.1_pre22-14569.log" open_wr: /usr/src/linux-2.6.7-gentoo-r7/drivers/md/xor.mod.c --------------------------------------------------------------------------------
I get the following error, which I don't understand, since the kernel sources are in place. linux # ACCEPT_KEYWORDS="~x86" USE="-pcmcia" FEATURES="-sandbox" emerge -v linux-wlan-ng Calculating dependencies ...done! >>> emerge (1 of 1) net-wireless/linux-wlan-ng-0.2.1_pre20 to / >>> md5 src_uri ;-) linux-wlan-ng-0.2.1-pre20.tar.gz >>> md5 src_uri ;-) linux-wlan-ng-gentoo-init.gz >>> Unpacking source... >>> Unpacking linux-wlan-ng-0.2.1-pre20.tar.gz to /var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work >>> Unpacking linux-wlan-ng-gentoo-init.gz to /var/tmp/portage/linux-wlan-ng-0.2.1_pre20/work >>> Source unpacked. usb -------------- 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) [y] Build Prism2.5 USB (_usb) driver? (y/n) [y] Linux source directory [/usr/src/linux] Linux source tree /usr/src/linux is incomplete or missing! The kernel header files are present, but not the full source code. See the HOWTO for a list of FTP sites for current kernel sources. Configuration failed make: *** [default_config] Error 1 !!! ERROR: net-wireless/linux-wlan-ng-0.2.1_pre20 failed. !!! Function src_compile, Line 91, Exitcode 2 !!! failed configuring WLAN !!! If you need support, post the topmost build error, NOT this status message.
@Nik Raub Have you configured your kernel? It's not enough just having the kernel-tree there. You also have to execute an make config (or menueconfig, or, or, or). Otherwise linux-wlan-ng won't compile.
*** This bug has been marked as a duplicate of 35980 ***