like the bug with the ati-drivers its due to the missing config.h file: * Preparing ieee80211 module make -C /usr/src/linux M=/var/tmp/portage/ieee80211-1.1.13-r1/work/ieee80211-1.1.13 modules make[1]: Entering directory `/usr/src/linux-2.6.19-gentoo-r1' CC [M] /var/tmp/portage/ieee80211-1.1.13-r1/work/ieee80211-1.1.13/ieee80211_module.o CC [M] /var/tmp/portage/ieee80211-1.1.13-r1/work/ieee80211-1.1.13/ieee80211_tx.o /var/tmp/portage/ieee80211-1.1.13-r1/work/ieee80211-1.1.13/ieee80211_module.c:34:26: error: linux/config.h: No such file or directory /var/tmp/portage/ieee80211-1.1.13-r1/work/ieee80211-1.1.13/ieee80211_tx.c:27:26: error: linux/config.h: No such file or directory make[2]: *** [/var/tmp/portage/ieee80211-1.1.13-r1/work/ieee80211-1.1.13/ieee80211_module.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [/var/tmp/portage/ieee80211-1.1.13-r1/work/ieee80211-1.1.13/ieee80211_tx.o] Error 1 make[1]: *** [_module_/var/tmp/portage/ieee80211-1.1.13-r1/work/ieee80211-1.1.13] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.19-gentoo-r1' make: *** [modules] Error 2 !!! ERROR: net-wireless/ieee80211-1.1.13-r1 failed.
Hello, I also ran into such a problem, using 2.6.19 vanilla and ieee80211 in ~x86. The driver compiles fine, but then there is a sandbox violation: >>> Unpacking source... >>> Unpacking ieee80211-1.2.15.tgz to /var/tmp/portage/ieee80211-1.2.15/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15 ... * Preparing ieee80211 module make -C /usr/src/linux M=/var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15 modules make[1]: Entering directory `/usr/src/linux-2.6.19' CC [M] /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_module.o CC [M] /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_tx.o CC [M] /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_rx.o CC [M] /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_wx.o CC [M] /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt.o CC [M] /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_geo.o CC [M] /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_wep.o CC [M] /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_ccmp.o /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_wep.c: In function prism2_wep_encrypt: /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_wep.c:172: warning: crypto_cipher_encrypt is deprecated (declared at include/linux/crypto.h:842) /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_wep.c: In function prism2_wep_decrypt: /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_wep.c:215: warning: crypto_cipher_decrypt is deprecated (declared at include/linux/crypto.h:868) /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_ccmp.c: In function ieee80211_ccmp_aes_encrypt: /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_ccmp.c:73: warning: crypto_cipher_encrypt is deprecated (declared at include/linux/crypto.h:842) CC [M] /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_tkip.o LD [M] /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211.o /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_tkip.c: In function ieee80211_tkip_encrypt: /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_tkip.c:385: warning: crypto_cipher_encrypt is deprecated (declared at include/linux/crypto.h:842) /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_tkip.c: In function ieee80211_tkip_decrypt: /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_tkip.c:480: warning: crypto_cipher_decrypt is deprecated (declared at include/linux/crypto.h:868) /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_tkip.c: In function michael_mic: /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_tkip.c:531: warning: crypto_digest_init is deprecated (declared at include/linux/crypto.h:710) /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_tkip.c:532: warning: crypto_digest_setkey is deprecated (declared at include/linux/crypto.h:736) /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_tkip.c:533: warning: crypto_digest_update is deprecated (declared at include/linux/crypto.h:713) /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_tkip.c:534: warning: crypto_digest_final is deprecated (declared at include/linux/crypto.h:715) Building modules, stage 2. MODPOST 5 modules CC /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt.mod.o CC /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211.mod.o CC /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_ccmp.mod.o CC /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_tkip.mod.o CC /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_wep.mod.o LD [M] /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211.ko LD [M] /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt.ko LD [M] /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_ccmp.ko LD [M] /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_tkip.ko LD [M] /var/tmp/portage/ieee80211-1.2.15/work/ieee80211-1.2.15/ieee80211_crypt_wep.ko make[1]: Leaving directory `/usr/src/linux-2.6.19' >>> Source compiled. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-net-wireless_-_ieee80211-1.2.15-25164.log" open_wr: /usr/src/linux-2.6.19/astest25258.out open_wr: /usr/src/linux-2.6.19/astest25262.out open_wr: /usr/src/linux-2.6.19/astest25269.out open_wr: /usr/src/linux-2.6.19/astest25273.out -------------------------------------------------------------------------------- Please, fix it as soon as possible!
Created attachment 103189 [details] access-violation
same as for madwifi-ng with vanilla 2.6.19 i have to check out the svn sources of madwifi-ng and compile it by myself Portage 2.1.2_rc2-r3 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19 i686) ================================================================= System uname: 2.6.19 i686 Intel(R) Pentium(R) M processor 1400MHz Gentoo Base System version 1.12.6 Last Sync: Thu, 30 Nov 2006 19:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 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/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ " MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X a52 aac acpi aim alsa avi bash-completion berkdb bitmap-fonts bluetooth bzip2 calendar cdparanoia cli cracklib crypt curl divx divx4linux dlloader dri dvd dvdread elibc_glibc encode esd ethereal fbsplash ffmpeg fortran frontendonly ftp gd gdbm gif gnutls gpgme gpm gtk gtk2 iconv icq imap imlib input_devices_keyboard input_devices_mouse ipod iproute2 ipv6 isdnlog iso14755 ithreads jabber jpeg kernel_linux libg++ mad madwifi mikmod mmx motif mp3 mpeg msn mysql ncurses nls nptl nptlonly ntpl ogg oggvorbis opengl oss pam pcre pdf perl png ppds pppd python qt qt3 quicktime readline real reflection rtc ruby samba sdl sensord session smime speex spell spl sse sse2 ssl svga tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU utf utf8 v4l v4l2 vcd video_cards_radeon video_cards_vesa video_cards_vga vorbis wifi win32codecs wmp xml xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
*** Bug 156922 has been marked as a duplicate of this bug. ***
Common way is to replace config.h from source files with autoconf.h and it might just start working again..
A way to bypass the missing config.h error is to softlink it to the autoconf.h header in /usr/src/linux/include/linux/ because that's actually all that config.h does.
Could you guys please see if it still is broken ? I just commited a patch for something similar (it didn't have an access violation iirc), but still should fix it.
I'm not hitting any problems.
Yes, it works
Good, then I'll mark this bug as FIXED ..