Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104225 - ieee80211 Does Not Compile with 2.6.13
Summary: ieee80211 Does Not Compile with 2.6.13
Status: RESOLVED DUPLICATE of bug 97397
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Mobile Herd (OBSOLETE)
URL: http://www.bughost.org/bugzilla/show_...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-29 22:09 UTC by Lee Trager
Modified: 2005-08-30 02:56 UTC (History)
1 user (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 Lee Trager 2005-08-29 22:09:35 UTC
I just compiled the 2.6.13 kernel and went to compile the ieee80211 and ipw2200
modules(while still on 2.6.12-gentoo-r9 I did sym link) so I can have wireless
and I received the following errors.

Reproducible: Always
Steps to Reproduce:
1. emerge ieee80211
Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 2) net-wireless/ieee80211-1.0.3 to /
>>> md5 files   ;-) ieee80211-1.0.3.ebuild
>>> md5 files   ;-) ieee80211-1.0.2.ebuild
>>> md5 files   ;-) ieee80211-1.0.1.ebuild
>>> 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 src_uri ;-) ieee80211-1.0.3.tgz
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.13-gentoo
 * Checking for suitable kernel configuration options
>>> Unpacking source...
>>> Unpacking ieee80211-1.0.3.tgz to /var/tmp/portage/ieee80211-1.0.3/work
>>> Source unpacked.
 * Preparing ieee80211 module
make -C /usr/src/linux M=/var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3
MODVERDIR=/var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3 modules
Checking in /usr/src/linux/ for ieee80211 components...

make[1]: Entering directory `/usr/src/linux-2.6.13-gentoo'
  CC [M]  /var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_module.o
/var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_module.c:61:
error: parse error before "IEEE80211_VERSION"
/var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_module.c: In
function `alloc_ieee80211':
/var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_module.c:145:
error: `ieee80211_crypt_deinit_handler' undeclared (first use in this function)
/var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_module.c:145:
error: (Each undeclared identifier is reported only once
/var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_module.c:145:
error: for each function it appears in.)
/var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_module.c:146:
error: structure has no member named `crypt_quiesced'
/var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_module.c: In
function `free_ieee80211':
/var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_module.c:171:
warning: implicit declaration of function `ieee80211_crypt_quiescing'
/var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_module.c:173:
warning: implicit declaration of function `ieee80211_crypt_deinit_entries'
/var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_module.c:178:
error: dereferencing pointer to incomplete type
/var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_module.c:179:
error: dereferencing pointer to incomplete type
/var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_module.c:179:
error: dereferencing pointer to incomplete type
/var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_module.c:180:
error: dereferencing pointer to incomplete type
/var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_module.c: In
function `ieee80211_init':
/var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_module.c:255:
error: parse error before "IEEE80211_VERSION"
make[2]: ***
[/var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3/ieee80211_module.o] Error 1
make[1]: *** [_module_/var/tmp/portage/ieee80211-1.0.3/work/ieee80211-1.0.3] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.13-gentoo'
make: *** [modules] Error 2
make: *** Waiting for unfinished jobs....
/usr/src/linux/include/net/ieee80211.h

Above files found.  Remove? [y],n y
ACCESS DENIED  unlink:    /usr/src/linux/include/net/ieee80211.h
rm: cannot remove `/usr/src/linux/include/net/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.0.3 failed.
!!! Function linux-mod_src_compile, Line 460, 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.0.3-15619.log"

unlink:    /usr/src/linux/include/net/ieee80211.h (symlink to
/usr/src/linux-2.6.13-gentoo/include/net/ieee80211.h)
--------------------------------------------------------------------------------



Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r9 i686)
=================================================================
System uname: 2.6.12-gentoo-r9 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.12.0_pre6
dev-lang/python:     2.3.4-r1, 2.4.1-r1
sys-apps/sandbox:    1.2.12
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer"
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/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi aim alsa apm arts audiofile avi bash-completion
berkdb bitmap-fonts bzip2 calendars cdparanoia cdr crypt cups curl dedicated
divx4linux doc dvd dvdread eds emboss encode examples exif fam ffmpeg flac flash
font-server foomaticdb fortran ftp gcj gdbm gif gimpprint glut gnome gnustep
gnutls gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib ipv6 jack java
javascript jpeg junit kde kdeenablefinal lcms libcaca libedit libg++ libwww lirc
mad memlimit mikmod ming mmap mmx mng motif mozilla mp3 mpeg nas ncurses nls
nocd nptl nsplugin offensive ogg oggvorbis openal opengl osc oscar oss pam
pcmcia pdflib perl png posix python qt quciktime quicktime readline samba sdl
shorten sndfile sox speex spell sse ssl svg svga tcpd theora threads tiff
truetype truetype-fonts type1-fonts usb videos vorbis wifi win32codecs wxwindows
xine xml xml2 xml2xmms xmms xpm xprint xv xvid zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Lee Trager 2005-08-29 22:12:18 UTC
grr just saw this in the ipw**** ieee80211 bugzilla

http://www.bughost.org/bugzilla/show_bug.cgi?id=764
Comment 2 Wernfried Haas (RETIRED) gentoo-dev 2005-08-30 01:18:32 UTC
I think the problem is connected to /usr/src/linux/include/net/ieee80211.h being
integrated into the mainline kernel with .13. If (re)moved, the compilation
seems to work fine (can't really test it as i don't have an AP around here).
Comment 3 John Berry 2005-08-30 02:18:58 UTC
I confirm that remove the ieee80211.h file from the kernel source tree solved
the problem. Compilation worked fine and the network is working correctly.
Comment 4 Henrik Brix Andersen 2005-08-30 02:56:10 UTC

*** This bug has been marked as a duplicate of 97397 ***