You are not logged in.
I tried to compile madwifi from multiple sources (from the source I had to the pkgbuilds I downloaded), and they all yield the same error at the same time, which leads me it has something to do with a kernel config or something... It compiles normally for the most part until here
make[2]: Leaving directory `/usr/src/linux-2.6.10-ARCH'
make[1]: Leaving directory `/home/chris/ath/src/madwifi/net80211'
make[1]: Entering directory `/home/chris/ath/src/madwifi/ath'
make -C /lib/modules/2.6.10-ARCH/build SUBDIRS=/home/chris/ath/src/madwifi/ath modules
make[2]: Entering directory `/usr/src/linux-2.6.10-ARCH'
CC [M] /home/chris/ath/src/madwifi/ath/if_ath_pci.o
/home/chris/ath/src/madwifi/ath/if_ath_pci.c: In function `ath_pci_suspend':
/home/chris/ath/src/madwifi/ath/if_ath_pci.c:245: error: too many arguments to function `pci_save_state'
/home/chris/ath/src/madwifi/ath/if_ath_pci.c: In function `ath_pci_resume':
/home/chris/ath/src/madwifi/ath/if_ath_pci.c:260: error: too many arguments to function `pci_restore_state'
make[3]: *** [/home/chris/ath/src/madwifi/ath/if_ath_pci.o] Error 1
make[2]: *** [_module_/home/chris/ath/src/madwifi/ath] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.10-ARCH'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/chris/ath/src/madwifi/ath'
make: *** [all] Error 1
==> ERROR: Build Failed. Aborting...
what worries me is the "error: too many arguments to function 'pci_save_state' " does anyone know what this means, any help would be wonderful, and thank you in advance.
I use the stock 2.6.10 arch kernel. anything else you guys need all you must do is ask, and ye shall recieve.
Offline
well, functions change from kernel release to kernel release... so in order to compile things properly, you need to get a version of madwifi which matches the 2.6.10 kernel... or get the most up-to-date kernel and grab madwifi cvs....
Offline
I tried it from source and got another error
Building modules, stage 2.
MODPOST
Warning: could not find /home/chris/madwifi/ath_hal/.hal.o.cmd for /home/chris/madwifi/ath_hal/hal.o
make[2]: Leaving directory `/usr/src/linux-2.6.10-ARCH'
make[1]: Leaving directory `/home/chris/madwifi/net80211'
make[1]: Entering directory `/home/chris/madwifi/ath'
make -C /lib/modules/2.6.10-ARCH/build SUBDIRS=/home/chris/madwifi/ath MODVERDIR=/home/chris/madwifi/ath/../symbols modules
make[2]: Entering directory `/usr/src/linux-2.6.10-ARCH'
Building modules, stage 2.
MODPOST
Warning: could not find /home/chris/madwifi/ath_hal/.hal.o.cmd for /home/chris/madwifi/ath_hal/hal.o
make[2]: Leaving directory `/usr/src/linux-2.6.10-ARCH'
make[1]: Leaving directory `/home/chris/madwifi/ath'
grr.. is there something I'm missing.. I grabbed the source from CVS, then just tried to run make, and it's still being a pain. I'll try the cvs again in a few more days (I know it's updated pretty frequently)
but if you kno whow to fix this, thanks a bunch.
Concidentally, I heard that phrakture had a pkgbuild... do you happen to have a mirror set up where I could get that?
Offline
hmmm, I used to have it, but I don't anymore... I don't use madwifi and just made it as a favor...
and it was pretty old...
Offline
I'll check my laptop - I have an ancient one I compiled, no guarantees it works on modern kernels though.
Offline
Thanks guys.
Why don't you use madwifi anymore? do you find ndiswrapper a better call?
And I figured out what the problem was.. Apparently Arch doesn't come with the kernel-source (which I thought I read somewhere). So I installed a fresh kernel and compiled it (it's only 2.6.9 but I don't think the difference is that great, I haven't noticed anything major yet), and it worked great...
I feel stupid for not checking if I had the full source installed and not just the headers...
but thanks guys!!!
Offline
I still use madwifi for my atheros card on my T41p.
Offline