View previous topic :: View next topic |
Author |
Message |
larand54 l33t
Joined: 20 Feb 2004 Posts: 695 Location: Sweden
|
Posted: Mon Feb 14, 2005 9:18 pm Post subject: ATHEROS Madwifi won't compile for Kernel-2.6.10-r6[SOLVED] |
|
|
on emerge madwifi-driver I get this:
Code: |
var/tmp/portage/madwifi-driver-0.1_pre20041019/work/ath/if_ath_pci.c: In function `ath_pci_resume':
/var/tmp/portage/madwifi-driver-0.1_pre20041019/work/ath/if_ath_pci.c:254: error: too many arguments to function `pci_restore_state'
distcc[8392] ERROR: compile /var/tmp/portage/madwifi-driver-0.1_pre20041019/work/ath/if_ath_pci.c on jupiter,lzo failed
make[3]: *** [/var/tmp/portage/madwifi-driver-0.1_pre20041019/work/ath/if_ath_pci.o] Error 1
make[2]: *** [_module_/var/tmp/portage/madwifi-driver-0.1_pre20041019/work/ath] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.10-gentoo-r6'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/madwifi-driver-0.1_pre20041019/work/ath'
make: *** [all] Error 1
!!! ERROR: net-wireless/madwifi-driver-0.1_pre20041019 failed.
!!! Function src_compile, Line 57, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
|
Is there anyone that can help solving this? I've googled around all evening but couldn't get any thing but someone that thought..maybee it's the kernel version.
It looks though that the function, pci_restore_state has changed in later kernel versions.
Last edited by larand54 on Tue Feb 15, 2005 9:01 am; edited 1 time in total |
|
Back to top |
|
|
shruggy1987 n00b
Joined: 16 Jun 2004 Posts: 50 Location: Stony Brook, NY
|
Posted: Mon Feb 14, 2005 10:44 pm Post subject: |
|
|
make sure that you have everything required for madwifi in your kernel/modular support
http://madwifi.sourceforge.net/
"Before getting the source, please make sure your system meets the following requirements:
* WLAN interface that uses Atheros chipset (this, this or this list might help)
* a current kernel version of series 2.4 or 2.6
* wireless extensions version 14 or later (version 16 is preferred)
* target kernel needs to have sysctl support turned on
* crypto API support turned on with HMAC and MD5, if you want to use the 802.1x authenticator
* hotplugd, if you want to use a Cardbus card" |
|
Back to top |
|
|
larand54 l33t
Joined: 20 Feb 2004 Posts: 695 Location: Sweden
|
Posted: Tue Feb 15, 2005 8:11 am Post subject: |
|
|
shruggy1987 wrote: | make sure that you have everything required for madwifi in your kernel/modular support
http://madwifi.sourceforge.net/
"Before getting the source, please make sure your system meets the following requirements:
* WLAN interface that uses Atheros chipset (this, this or this list might help)
* a current kernel version of series 2.4 or 2.6
* wireless extensions version 14 or later (version 16 is preferred)
* target kernel needs to have sysctl support turned on
* crypto API support turned on with HMAC and MD5, if you want to use the 802.1x authenticator
* hotplugd, if you want to use a Cardbus card" |
WLAN interface that uses atheros ?? Well that's what I got and thats why I wrote this thread.
current kernel 2.6 ?? The thread is about using kernel 2.6.10-r6.
Wireless extension -- Do you mean...in the kernel configuration... Device drivers/Networking support/Networking options/802.1Q VLAN support?
The other points is ok.
But I don't think this solves the problem.
The kernel defiition of the functions "pci_restore_state" and "pci_save_state" uses only one parameter but in the madwifi function they are called with two parameters. And the compiler won't allow this.
There is som discrepancy between these sources. Maybe I should use another version of madwifi for instance the one dated 050106? But I can't get emerge to use it. It's masked and even if I put it in package.keywords - it won't take it.
I've made it!
The ebuild was masked by '-*' but I read it as '_*' That's why it didn't take it.
The emerge then compiled and I then did:
modprobe ath0
iwconfig ath0 bla bla bla....
and finally dhcp ath0 -t 10 -h MyHost
And now connected ! TaaDaaaa! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|