Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114921 - net-wireless/ieee80211-1.1.6 does not compile on 2.6.9-gentoo-r1
Summary: net-wireless/ieee80211-1.1.6 does not compile on 2.6.9-gentoo-r1
Status: RESOLVED DUPLICATE of bug 113155
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-08 15:18 UTC by Shiva Persaud
Modified: 2005-12-08 15:21 UTC (History)
0 users

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 Shiva Persaud 2005-12-08 15:18:23 UTC
I am trying to compile net-wireless/ieee80211-1.1.6 on a system with the
2.6.9-gentoo-r1 sources. I've tried doing a make mrproper and restoring my
.config  file. I then do a make and a make modules. If the module does not
compile with my kernel, I would guess the ebuild would have a prereq for the
proper kernel. I get the following errors:

 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.9-gentoo-r1
 * 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
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
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/ieee80211-1.1.6/work/ieee80211-1.1.6 modules
make[1]: Entering directory `/usr/src/linux-2.6.9-gentoo-r1'
  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 a prototype
/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 is reported 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[2]: *** Waiting for unfinished jobs....
  CC [M]  /var/tmp/portage/ieee80211-1.1.6/work/ieee80211-1.1.6/ieee80211_rx.o
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.9-gentoo-r1'
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 net-wireless/ieee80211
2.
3.

Actual Results:  
I got a build break.

Expected Results:  
I expected the module to compile and install.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-08 15:21:50 UTC

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