Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113155 - ieee80211-1.1.6 ebuild fails to compile with older kernels
Summary: ieee80211-1.1.6 ebuild fails to compile with older kernels
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords: InVCS
: 113479 114921 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-21 05:54 UTC by Gene Meltser
Modified: 2006-01-11 06:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gene Meltser 2005-11-21 05:54:40 UTC
My Kernel:2.6.11-gentoo-r9
Tried to emerge ipw2200, after doing an emerge sync. during compilation of
ieee80211-1.1.6 ebuild fails to compile:


# emerge -av ipw2200

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] net-wireless/ieee80211-1.1.6 [1.0.3-r2] -debug 0 kB
[ebuild  NS   ] net-wireless/ipw2200-firmware-2.4  264 kB
[ebuild     U ] net-wireless/ipw2200-1.0.8-r1 [1.0.6-r3] -debug -radiotap 121 kB

Total size of downloads: 385 kB

Do you want me to merge these packages? [Yes/No] yes
>>> emerge (1 of 3) net-wireless/ieee80211-1.1.6 to /
>>> md5 files   ;-) ieee80211-1.0.1.ebuild
>>> md5 files   ;-) ieee80211-1.0.2.ebuild
>>> md5 files   ;-) ieee80211-1.0.3.ebuild
>>> md5 files   ;-) ieee80211-1.0.3-r1.ebuild
>>> md5 files   ;-) ieee80211-1.0.3-r2.ebuild
>>> md5 files   ;-) ieee80211-1.1.5-r1.ebuild
>>> md5 files   ;-) ieee80211-1.1.5.ebuild
>>> md5 files   ;-) ieee80211-1.1.6.ebuild
>>> md5 files   ;-) files/digest-ieee80211-1.0.3-r1
>>> md5 files   ;-) files/digest-ieee80211-1.0.1
>>> md5 files   ;-) files/digest-ieee80211-1.0.2
>>> md5 files   ;-) files/digest-ieee80211-1.0.3
>>> md5 files   ;-) files/ieee80211-1.0.3-broadcast.patch
>>> md5 files   ;-) files/digest-ieee80211-1.0.3-r2
>>> md5 files   ;-) files/remove-old
>>> md5 files   ;-) files/ieee80211-1.0.3-keep_restricted_bit.patch
>>> md5 files   ;-) files/ieee80211-1.0.3-open_frag.patch
>>> md5 files   ;-) files/digest-ieee80211-1.1.5
>>> md5 files   ;-) files/digest-ieee80211-1.1.5-r1
>>> md5 files   ;-) files/digest-ieee80211-1.1.6
>>> md5 files   ;-) files/ieee80211-1.1.5-broadcast.patch
>>> md5 files   ;-) files/ieee80211-1.1.5-we18.patch
>>> md5 src_uri ;-) ieee80211-1.1.6.tgz
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.11-gentoo-r9
 * 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
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/ieee80
211-1.1.6/work/ieee80211-1.1.6 modules
make[1]: Entering directory `/usr/src/linux-2.6.11-gentoo-r9'
  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 aprototype
/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 isreported 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[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.11-gentoo-r9'
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 ipw2200
2.
3.

Actual Results:  
Ebuild compilation failed

Expected Results:  
Ebuild should have compiled.
Comment 1 .:deadhead:. 2005-11-24 02:44:59 UTC
I want to continue to use the ipw2100 modules, not the driver inside the kernel.
My kernel-2.6.14-r2 is build perfectly, but ieee80211 give me troubles. 

1st time


 * Preparing ieee80211 module
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
Checking in /usr/src/linux/ for ieee80211 components...

/usr/src/linux/include/config/ieee80211.h

Above files found.  Remove? [y],n make[1]: Entering directory
`/usr/src/linux-2.6.14-gentoo-r2'
  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
  CC [M]  /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_rx.o
  CC [M]  /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_wx.o
  CC [M]  /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_geo.o
  CC [M]  /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt.o
  CC [M] 
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_wep.o
  CC [M] 
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_ccmp.o
  CC [M] 
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_tkip.o
  LD [M]  /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211.o
  Building modules, stage 2.
  MODPOST
  CC      /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211.mod.o
  CC     
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt.mod.o
  CC     
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_ccmp.mod.o
  CC     
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_tkip.mod.o
  CC     
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_wep.mod.o
  LD [M]  /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211.ko
  LD [M]  /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt.ko
  LD [M] 
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_ccmp.ko
  LD [M] 
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_tkip.ko
  LD [M] 
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_wep.ko
make[1]: Leaving directory `/usr/src/linux-2.6.14-gentoo-r2'
ACCESS DENIED  unlink:    /usr/src/linux/include/config/ieee80211.h
rm: impossibile rimuovere `/usr/src/linux/include/config/ieee80211.h':
Permission denied

 Old ieee80211 references found.  In order to build the ieee80211
 subsystem, prior versions must first be removed.  You can perform
 this task by running this makefile as root via:

        % sudo make check_old

 and answering Y to remove the file references.

 Aborting make.

make: *** [check_old] Error 1

!!! 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.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-net-wireless_-_ieee80211-1.1.6-11788.log"

unlink:    /usr/src/linux/include/config/ieee80211.h (symlink to
/usr/src/linux-2.6.14-gentoo-r2/include/config/ieee80211.h)
--------------------------------------------------------------------------------

then I removed manually /usr/src/linux-2.6.14-gentoo-r2/include/config/ieee80211.h

2nd time

 * Preparing ieee80211 module
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
Checking in /usr/src/linux/ for ieee80211 components...

#undef CONFIG_IEEE80211
Above definitions found.  Comment out? [y], n make[1]: Entering directory
`/usr/src/linux-2.6.14-gentoo-r2'
  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
  CC [M]  /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_rx.o
  CC [M]  /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_wx.o
  CC [M]  /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_geo.o
  CC [M]  /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt.o
  CC [M] 
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_wep.o
  CC [M] 
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_ccmp.o
  CC [M] 
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_tkip.o
  LD [M]  /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211.o
  Building modules, stage 2.
  MODPOST
  CC      /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211.mod.o
  CC     
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt.mod.o
  CC     
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_ccmp.mod.o
  CC     
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_tkip.mod.o
  CC     
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_wep.mod.o
  LD [M]  /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211.ko
  LD [M]  /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt.ko
  LD [M] 
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_ccmp.ko
  LD [M] 
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_tkip.ko
  LD [M] 
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_wep.ko
make[1]: Leaving directory `/usr/src/linux-2.6.14-gentoo-r2'

ACCESS DENIED  rename:    /usr/src/linux/sedoxuokx
ACCESS DENIED  unlink:    /usr/src/linux/sedoxuokx
sed: impossibile rimuovere /usr/src/linux///sedoxuokx: Permission denied
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-net-wireless_-_ieee80211-1.1.6-12499.log"

rename:    /usr/src/linux/sedoxuokx (symlink to
/usr/src/linux-2.6.14-gentoo-r2/sedoxuokx)
unlink:    /usr/src/linux/sedoxuokx (symlink to
/usr/src/linux-2.6.14-gentoo-r2/sedoxuokx)
--------------------------------------------------------------------------------

/usr/src/linux-2.6.14-gentoo-r2/sedoxuokx is equal to .config . I removed manually

3rd time

 * Preparing ieee80211 module
Checking in /usr/src/linux/ for ieee80211 components...

#undef CONFIG_IEEE80211
Above definitions found.  Comment out? [y], n 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.14-gentoo-r2'
  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
  CC [M]  /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_rx.o
  CC [M]  /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_wx.o
  CC [M]  /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_geo.o
  CC [M]  /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt.o
  CC [M] 
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_wep.o
  CC [M] 
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_ccmp.o
  CC [M] 
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_tkip.o
  LD [M]  /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211.o
  Building modules, stage 2.
  MODPOST
  CC      /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211.mod.o
  CC     
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt.mod.o
  CC     
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_ccmp.mod.o
  CC     
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_tkip.mod.o
  CC     
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_wep.mod.o
  LD [M]  /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211.ko
  LD [M]  /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt.ko
  LD [M] 
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_ccmp.ko
  LD [M] 
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_tkip.ko
  LD [M] 
/var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_crypt_wep.ko
make[1]: Leaving directory `/usr/src/linux-2.6.14-gentoo-r2'

ACCESS DENIED  rename:    /usr/src/linux/sede97QKF
ACCESS DENIED  unlink:    /usr/src/linux/sede97QKF
sed: impossibile rimuovere /usr/src/linux///sede97QKF: Permission denied
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-net-wireless_-_ieee80211-1.1.6-13204.log"

rename:    /usr/src/linux/sede97QKF (symlink to
/usr/src/linux-2.6.14-gentoo-r2/sede97QKF)
unlink:    /usr/src/linux/sede97QKF (symlink to
/usr/src/linux-2.6.14-gentoo-r2/sede97QKF)
--------------------------------------------------------------------------------

Same error just like last time. The strange thing is that I'm root... SO why
that acces denied errors?


Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r5-badblocks i686)
=================================================================
System uname: 2.6.13-gentoo-r5-badblocks i686 Intel(R) Pentium(R) M processor
1400MHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -Os -pipe -fomit-frame-pointer -ffast-math -fforce-addr
-ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-m -Os -pipe -fomit-frame-pointer -ffast-math
-fforce-addr -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ngi.it
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources
http://cdn.mirror.garr.it/mirrors/gentoo http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="it_IT@euro"
LC_ALL="it_IT@euro"
LINGUAS="it"
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="x86 X a52 aac aalib acpi acpi4linux aim alsa audiofiles avi bash-completion
bitmap-fonts bmp bzip2 caps cdparanoia cdr crypt cscope cups curl directfb dri
dts dvd dvdread encode exif fame fbcon ffmpeg flac foomaticdb ftp geoip gif gpm
gstreamer gtk gtk2 hal icq ieee1394 imagemagick imap imlib jabber java
javascript jpeg jpeg2k kdeenablefinal kdexdeltas lcms live logitech-mouse
logrotate lzo mad matroska mime mjpeg mmx mmxext mng mozsvg mp3 mpeg ncurses nls
nocd nptl nsplugin nvidia ogg oggvorbis openal opengl oscar pam pcmcia pdflib
png pnp posix ppds qt quicktime readline real sasl sdl slang sse sse2 ssl svg
svga symlink theora threads tiff truetype truetype-fonts type1-fonts unicode usb
v4l v4l2 vcd vorbis wifi win32codecs wmf wxwindows xanim xface xine xml xml2 xpm
xprint xv xvid yv12 zeroconf zlib video_cards_nvidia linguas_it userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 2 Henrik Brix Andersen 2005-11-24 06:31:33 UTC
Fixed in CVS, thank you for reporting this.

Wait a few hours, `emerge --sync` and retry.
Comment 3 Gene Meltser 2005-12-01 06:12:50 UTC
I still cannot compile ieee80211-1.1.6... Same error presists as above, even
after re-emerging to the new CVS build. 
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-12-08 15:21:50 UTC
*** Bug 114921 has been marked as a duplicate of this bug. ***
Comment 5 Shiva Persaud 2005-12-09 11:14:39 UTC
I gave up on trying to get this to work with a 2.6.9 kernel (and I think the
ebuild may have been updated to disallow this anyway). I get it to work find on
a 2.6.14-r4 kernel. Of course, I now run into other problems with
wpa_supplicant. I'm opening a new bug for that.

Thanks,
Shiva
Comment 6 Gene Meltser 2005-12-10 08:37:05 UTC
FYI, I'm unable to build it on 2.6.11-r9, not 2.6.9. 
Comment 7 Henrik Brix Andersen 2005-12-20 07:12:26 UTC
This is a known problem. I'm waiting for upstream to release ieee80211-1.1.7 which fixes this issue.

It's currently available from my overlay at http://dev.gentoo.org/~brix/files/overlay/
Comment 8 Henrik Brix Andersen 2005-12-21 02:39:21 UTC
*** Bug 113479 has been marked as a duplicate of this bug. ***
Comment 9 Paolo 2005-12-30 09:10:12 UTC
(In reply to comment #7)
> This is a known problem. I'm waiting for upstream to release ieee80211-1.1.7
> which fixes this issue.
> 
> It's currently available from my overlay at
> http://dev.gentoo.org/~brix/files/overlay/
> 

Same prob here, but with that brix's ebuild it seems to work fine.

Thank you.
Comment 10 Henrik Brix Andersen 2006-01-06 04:26:43 UTC
Fixed in net-wireless/ieee80211-1.1.7.
Comment 11 Gene Meltser 2006-01-09 07:22:10 UTC
Still experiencing compile issues on 2.6.11 kernel (both with Brix' overlay ebuild and the nrely released ieee80211-1.1.8 ebuild. The compile phase simply fails; The error message is attached below:

----------------<snip>----------------------
#
# ebuild /usr/portage/net-wireless/ieee80211/ieee80211-1.1.8.ebuild compile
>>> md5 files   ;-) ieee80211-1.0.1.ebuild
>>> md5 files   ;-) ieee80211-1.0.2.ebuild
>>> md5 files   ;-) ieee80211-1.0.3.ebuild
>>> md5 files   ;-) ieee80211-1.0.3-r1.ebuild
>>> md5 files   ;-) ieee80211-1.0.3-r2.ebuild
>>> md5 files   ;-) ieee80211-1.1.5-r1.ebuild
>>> md5 files   ;-) ieee80211-1.1.5.ebuild
>>> md5 files   ;-) ieee80211-1.1.6.ebuild
>>> md5 files   ;-) ieee80211-1.1.7.ebuild
>>> md5 files   ;-) ieee80211-1.1.8.ebuild
>>> md5 files   ;-) files/digest-ieee80211-1.0.3-r1
>>> md5 files   ;-) files/digest-ieee80211-1.0.1
>>> md5 files   ;-) files/digest-ieee80211-1.0.2
>>> md5 files   ;-) files/digest-ieee80211-1.0.3
>>> md5 files   ;-) files/ieee80211-1.0.3-broadcast.patch
>>> md5 files   ;-) files/digest-ieee80211-1.0.3-r2
>>> md5 files   ;-) files/remove-old
>>> md5 files   ;-) files/ieee80211-1.0.3-keep_restricted_bit.patch
>>> md5 files   ;-) files/ieee80211-1.0.3-open_frag.patch
>>> md5 files   ;-) files/digest-ieee80211-1.1.5
>>> md5 files   ;-) files/digest-ieee80211-1.1.5-r1
>>> md5 files   ;-) files/digest-ieee80211-1.1.6
>>> md5 files   ;-) files/ieee80211-1.1.5-broadcast.patch
>>> md5 files   ;-) files/ieee80211-1.1.5-we18.patch
>>> md5 files   ;-) files/digest-ieee80211-1.1.7
>>> md5 files   ;-) files/digest-ieee80211-1.1.8
>>> md5 src_uri ;-) ieee80211-1.1.8.tgz
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.11-gentoo-r9
 * Checking for suitable kernel configuration options:
>>> Checking ieee80211-1.1.8.tgz's mtime...
>>> WORKDIR is up-to-date, keeping...
 * Preparing ieee80211 module
Checking in /usr/src/linux/ for ieee80211 components...
make -C /usr/src/linux M=/var/tmp/portage/ieee80211-1.1.8/work/ieee80211-1.1.8 MODVERDIR=/var/tmp/portage/ieee80211-1.1.8/work/ieee80211-1.1.8 modules
make[1]: Entering directory `/usr/src/linux-2.6.11-gentoo-r9'
  CC [M]  /var/tmp/portage/ieee80211-1.1.8/work/ieee80211-1.1.8/ieee80211_module.o
In file included from /var/tmp/portage/ieee80211-1.1.8/work/ieee80211-1.1.8/ieee80211_module.c:53:
/var/tmp/portage/ieee80211-1.1.8/work/ieee80211-1.1.8/net/ieee80211.h:1145: error: parse error before "flags"
/var/tmp/portage/ieee80211-1.1.8/work/ieee80211-1.1.8/net/ieee80211.h:1146: warning: function declaration isn't a prototype
/var/tmp/portage/ieee80211-1.1.8/work/ieee80211-1.1.8/net/ieee80211.h: In function `kzalloc':
/var/tmp/portage/ieee80211-1.1.8/work/ieee80211-1.1.8/net/ieee80211.h:1147: error: `size' undeclared (first use in this function)
/var/tmp/portage/ieee80211-1.1.8/work/ieee80211-1.1.8/net/ieee80211.h:1147: error: (Each undeclared identifier is reported only once
/var/tmp/portage/ieee80211-1.1.8/work/ieee80211-1.1.8/net/ieee80211.h:1147: error: for each function it appears in.)
/var/tmp/portage/ieee80211-1.1.8/work/ieee80211-1.1.8/net/ieee80211.h:1147: error: `flags' undeclared (first use in this function)
make[2]: *** [/var/tmp/portage/ieee80211-1.1.8/work/ieee80211-1.1.8/ieee80211_module.o] Error 1
make[1]: *** [_module_/var/tmp/portage/ieee80211-1.1.8/work/ieee80211-1.1.8] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.11-gentoo-r9'
make: *** [modules] Error 2

!!! ERROR: net-wireless/ieee80211-1.1.8 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.

#                                                                                                                        
#
-------------------<snip>----------------------------
Comment 12 Henrik Brix Andersen 2006-01-11 04:32:26 UTC
I've just applied a patch from upstream to net-wireless/ieee80211-1.1.8 and successfully compile tested it against vanilla-sources-2.6.10.

Please wait a couple of hours, `emerge --sync` and retry. If the problem persists, please reopen this bug report.
Comment 13 Gene Meltser 2006-01-11 06:33:49 UTC
The patch worked, and the package compiled flawlessly.
Thanks for your hard work, Henrik!