Bug 108613 - ieee80211 fails to build with kernel 2.6.13-r3
|
Bug#:
108613
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: mobile@gentoo.org
|
Reported By: adam.j.cooper@ntlworld.com
|
|
Component: Core system
|
|
|
URL:
|
|
Summary: ieee80211 fails to build with kernel 2.6.13-r3
|
|
Keywords: InCVS
|
|
Status Whiteboard:
|
|
Opened: 2005-10-09 08:30 0000
|
Cannot emerge ieee80211 with new kernel version.
Output:
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.13-gentoo-r3
* 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
Checking in /usr/src/linux/ for ieee80211 components...
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
/usr/src/linux/include/net/ieee80211.h
Above files found. Remove? [y],n make[1]: Entering directory
`/usr/src/linux-2.6.13-gentoo-r3'
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-r3'
make: *** [modules] Error 2
make: *** Waiting for unfinished jobs....
Reproducible: Always
Steps to Reproduce:
1. emerge gentoo-sources
2. Change /usr/src/linux symlink
3. emerge ieee80211
Expected Results:
ieee80211 should be emerged successfully
Same for me.
A possible solution is to remove /usr/src/linux/include/net/ieee80211.h, so the
module builds, but this is definitely not what needs to be done.
Yes it is, see bug #97397.
ieee80211-1.0.3-r2 will output a message with the instruction to remove that
header file. Maybe -r2 should be marked stable?
ieee80211-1.0.3-r2 marked stable on x86.