(btw, sorry if this is the wrong forum)
Ok so I downloaded, customized and compiled the 2.6.19 kernel, boots and everything.
Now I'm trying to compile the madwifi drivers so I can use wireless; running:
(oh by the way, i created an empty linux/config.h file so it wouldn't bitch about it, no errors about missing types or anything so I guess it's not such a problem...)
Code:
make -k KERNELPATH=/usr/src/linux-2.6.19/
yeilds the following:
Code:
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /usr/src/linux-2.6.19/ SUBDIRS=/usr/local/workshop/madwifi-0.9.2 modules
make[1]: Entering directory `/usr/src/linux-2.6.19'
CC [M] /usr/local/workshop/madwifi-0.9.2/ath/if_ath_pci.o
/usr/local/workshop/madwifi-0.9.2/ath/if_ath_pci.c: In function `ath_pci_probe':
/usr/local/workshop/madwifi-0.9.2/ath/if_ath_pci.c:208: warning: passing arg 2 of `request_irq' from incompatible pointer type
make[3]: *** [/usr/local/workshop/madwifi-0.9.2/ath/if_ath_pci.o] Error 1
make[3]: Target `__build' not remade because of errors.
make[2]: *** [/usr/local/workshop/madwifi-0.9.2/ath] Error 2
CC [M] /usr/local/workshop/madwifi-0.9.2/net80211/ieee80211_crypto_ccmp.o
/usr/local/workshop/madwifi-0.9.2/net80211/ieee80211_crypto_ccmp.c: In function `rijndael_encrypt':
/usr/local/workshop/madwifi-0.9.2/net80211/ieee80211_crypto_ccmp.c:310: warning: `crypto_cipher_encrypt' is deprecated (declared at include/linux/crypto.h:842)
make[3]: *** [/usr/local/workshop/madwifi-0.9.2/net80211/ieee80211_crypto_ccmp.o] Error 1
make[3]: Target `__build' not remade because of errors.
make[2]: *** [/usr/local/workshop/madwifi-0.9.2/net80211] Error 2
make[2]: Target `__build' not remade because of errors.
make[1]: *** [_module_/usr/local/workshop/madwifi-0.9.2] Error 2
make[1]: Target `modules' not remade because of errors.
make[1]: Leaving directory `/usr/src/linux-2.6.19'
make: *** [modules] Error 2
make -C ./tools all || exit 1
make[1]: Entering directory `/usr/local/workshop/madwifi-0.9.2/tools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/workshop/madwifi-0.9.2/tools'
make: Target `all' not remade because of errors.
I read a few posts that this is a problem for madwifi in the early release candidates of 2.6.19, but it seems it made it to the final version as well.
I was read a post which said the best way to do this is to update the function prototypes in madwifi's code (namely request_irq), I went digging around and and shortly thereafter realized I'm clueless here... (I have some descent C++ experience but this is a bit over my head)
Does anyone have a patch for this? or can someone point out specifically what I need to modify in madwifi's source?