View previous topic :: View next topic |
Author |
Message |
hongsn n00b
Joined: 08 Mar 2005 Posts: 1
|
Posted: Tue Mar 08, 2005 8:33 am Post subject: Compiling error with ipw2100 |
|
|
When I emerge ipw2100, there is a compile error. Can anybody tell me how to resolve it
My kernel is 2.6.11-rc4-nitro1, and my /usr/src/linux is correctly linked to linux-2.6.11-rc4-nitro1. What's wrong?
Code: | make -C /usr/src/linux M=/var/tmp/portage/ipw2100-1.0.5/work/ipw2100-1.0.5 MODVERDIR=/var/tmp/portage/ipw2100-1.0.5/work/ipw2100-1.0.5 modules
make[1]: Entering directory `/usr/src/linux-2.6.11-rc4-nitro1'
CC [M] /var/tmp/portage/ipw2100-1.0.5/work/ipw2100-1.0.5/ipw2100.o
CC [M] /var/tmp/portage/ipw2100-1.0.5/work/ipw2100-1.0.5/ieee80211_module.o
CC [M] /var/tmp/portage/ipw2100-1.0.5/work/ipw2100-1.0.5/ieee80211_tx.o
CC [M] /var/tmp/portage/ipw2100-1.0.5/work/ipw2100-1.0.5/ieee80211_rx.o
CC [M] /var/tmp/portage/ipw2100-1.0.5/work/ipw2100-1.0.5/ieee80211_wx.o
CC [M] /var/tmp/portage/ipw2100-1.0.5/work/ipw2100-1.0.5/ieee80211_crypt.o
CC [M] /var/tmp/portage/ipw2100-1.0.5/work/ipw2100-1.0.5/ieee80211_crypt_wep.o
CC [M] /var/tmp/portage/ipw2100-1.0.5/work/ipw2100-1.0.5/ieee80211_crypt_ccmp.o
/var/tmp/portage/ipw2100-1.0.5/work/ipw2100-1.0.5/ipw2100.c:6407:45: macro "create_workqueue" requires 2 arguments, but only 1 given
/var/tmp/portage/ipw2100-1.0.5/work/ipw2100-1.0.5/ipw2100.c: In function `ipw2100_alloc_device':
/var/tmp/portage/ipw2100-1.0.5/work/ipw2100-1.0.5/ipw2100.c:6407: error: `create_workqueue' undeclared (first use in this function)
/var/tmp/portage/ipw2100-1.0.5/work/ipw2100-1.0.5/ipw2100.c:6407: error: (Each undeclared identifier is reported only once
/var/tmp/portage/ipw2100-1.0.5/work/ipw2100-1.0.5/ipw2100.c:6407: error: for each function it appears in.)
CC [M] /var/tmp/portage/ipw2100-1.0.5/work/ipw2100-1.0.5/ieee80211_crypt_tkip.o
make[2]: *** [/var/tmp/portage/ipw2100-1.0.5/work/ipw2100-1.0.5/ipw2100.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/var/tmp/portage/ipw2100-1.0.5/work/ipw2100-1.0.5] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.11-rc4-nitro1'
make: *** [modules] Error 2
!!! ERROR: net-wireless/ipw2100-1.0.5 failed.
!!! Function linux-mod_src_compile, Line 417, Exitcode 2
!!! Unable to make KSRC=/usr/src/linux all.
!!! If you need support, post the topmost build error, NOT this status message.
|
|
|
Back to top |
|
|
hafti n00b
Joined: 26 Nov 2004 Posts: 13
|
Posted: Sun Mar 13, 2005 8:00 pm Post subject: |
|
|
some searches on google made me think it might be an issue with the software suspend 2 Kernel Patch.
Is that patch included in nitro? If yes, i don't know what to do instead of switching to dev-sources and apply patches you need manually or something like that. |
|
Back to top |
|
|
thomasa88 Tux's lil' helper
Joined: 13 Apr 2005 Posts: 143 Location: Sweden
|
Posted: Mon Aug 29, 2005 4:44 pm Post subject: |
|
|
I have vanilla 2.6.13 with software suspend 2 and I get this error, maybe ipw2200 before suspend will work..
edit.
worked, but kinda annoying as I probably will update ipw2200 more often _________________ - thomasa88 |
|
Back to top |
|
|
bibleman n00b
Joined: 26 Apr 2005 Posts: 43
|
Posted: Mon Aug 29, 2005 4:48 pm Post subject: |
|
|
i am working right now on a laptop with the software suspend sources and I had no problems compiling and installing the ipw2200 driver for my kernel. What is your gcc version? because it could be a compiler problem. |
|
Back to top |
|
|
thomasa88 Tux's lil' helper
Joined: 13 Apr 2005 Posts: 143 Location: Sweden
|
Posted: Mon Aug 29, 2005 4:50 pm Post subject: |
|
|
gcc 3.4.4
hmm, I could compile, but when I rebooted the eth1-device wasnt found anymore , so right now Im using my old kernel... (without kexec, I now I can patch it, but whatever ) _________________ - thomasa88 |
|
Back to top |
|
|
matttions Guru
Joined: 19 Jul 2004 Posts: 338
|
Posted: Sun Oct 02, 2005 2:16 pm Post subject: |
|
|
I can't compile it at all.
It's kernel related.
I don't have changed my CFLAGs , use or whatever..
This is the emerge output.
Code: | * Preparing ipw2100 module
mkdir -p /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/tmp/.tmp_versions
cp /usr/include/*.mod /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/tmp/.tmp_versions
cp: cannot stat `/usr/include/*.mod': No such file or directory
make: [modules] Error 1 (ignored)
make -C /usr/src/linux M=/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2 MODVERDIR=/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/tmp/.tmp_versions modules
make[1]: Entering directory `/usr/src/linux-2.6.13-suspend2-r4'
CC [M] /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.o
/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c:6155:48: macro "create_workqueue" passed 2 arguments, but takes just 1
/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c: In function `ipw2100_alloc_device':
/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c:6155: error: `create_workqueue' undeclared (first use in this function)
/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c:6155: error: (Each undeclared identifier is reported only once
/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c:6155: error: for each function it appears in.)
make[2]: *** [/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.o] Error 1
make[1]: *** [_module_/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.13-suspend2-r4'
make: *** [modules] Error 2
!!! ERROR: net-wireless/ipw2100-1.1.2-r1 failed.
!!! Function linux-mod_src_compile, Line 460, Exitcode 2
!!! Unable to make KSRC=/usr/src/linux KSRC_OUTPUT=/usr/src/linux IEEE80211_INC=/usr/include all.
|
It's like it doesn't find some file in /usr/include
[look at the beggining..]
I don't know what to do ...
_________________ gentoo ... l'unico pinguino da corsa |
|
Back to top |
|
|
|