laptop@ubuntu:~/Desktop/madwifi$ make for i in ./ath_hal ath_rate/onoe ./net80211 ./ath; do \ (cd $i; make) || exit 1; \ done make[1]: Entering directory `/home/laptop/Desktop/madwifi/ath_hal' make -C /lib/modules/2.6.12-9-386/build SUBDIRS=/home/laptop/Desktop/madwifi/ath_hal modules make[2]: Entering directory `/usr/src/linux-headers-2.6.12-9-386' Building modules, stage 2. MODPOST Warning: could not find /home/laptop/Desktop/madwifi/ath_hal/.hal.o.cmd for /home/laptop/Desktop/madwifi/ath_hal/hal.o make[2]: Leaving directory `/usr/src/linux-headers-2.6.12-9-386' make[1]: Leaving directory `/home/laptop/Desktop/madwifi/ath_hal' make[1]: Entering directory `/home/laptop/Desktop/madwifi/ath_rate/onoe' make -C /lib/modules/2.6.12-9-386/build SUBDIRS=/home/laptop/Desktop/madwifi/ath_rate/onoe modules make[2]: Entering directory `/usr/src/linux-headers-2.6.12-9-386' Building modules, stage 2. MODPOST *** Warning: "ieee80211_iterate_nodes" [/home/laptop/Desktop/madwifi/ath_rate/onoe/ath_rate_onoe.ko] undefined! *** Warning: "ether_sprintf" [/home/laptop/Desktop/madwifi/ath_rate/onoe/ath_rate_onoe.ko] undefined! make[2]: Leaving directory `/usr/src/linux-headers-2.6.12-9-386' make[1]: Leaving directory `/home/laptop/Desktop/madwifi/ath_rate/onoe' make[1]: Entering directory `/home/laptop/Desktop/madwifi/net80211' make -C /lib/modules/2.6.12-9-386/build SUBDIRS=/home/laptop/Desktop/madwifi/net80211 modules make[2]: Entering directory `/usr/src/linux-headers-2.6.12-9-386' Building modules, stage 2. MODPOST make[2]: Leaving directory `/usr/src/linux-headers-2.6.12-9-386' make[1]: Leaving directory `/home/laptop/Desktop/madwifi/net80211' make[1]: Entering directory `/home/laptop/Desktop/madwifi/ath' make -C /lib/modules/2.6.12-9-386/build SUBDIRS=/home/laptop/Desktop/madwifi/ath modules make[2]: Entering directory `/usr/src/linux-headers-2.6.12-9-386' CC [M] /home/laptop/Desktop/madwifi/ath/if_ath_pci.o In file included from include/linux/if_ether.h:107, from include/linux/netdevice.h:29, from /home/laptop/Desktop/madwifi/ath/if_ath_pci.c:50: include/linux/skbuff.h: In function 'skb_add_data': include/linux/skbuff.h:1067: warning: pointer targets in passing argument 1 of 'csum_and_copy_from_user' differ in signedness /home/laptop/Desktop/madwifi/ath/if_ath_pci.c: In function 'ath_pci_suspend': /home/laptop/Desktop/madwifi/ath/if_ath_pci.c:245: error: too many arguments to function 'pci_save_state' /home/laptop/Desktop/madwifi/ath/if_ath_pci.c: In function 'ath_pci_resume': /home/laptop/Desktop/madwifi/ath/if_ath_pci.c:260: error: too many arguments to function 'pci_restore_state' make[3]: *** [/home/laptop/Desktop/madwifi/ath/if_ath_pci.o] Error 1 make[2]: *** [_module_/home/laptop/Desktop/madwifi/ath] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-2.6.12-9-386' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/laptop/Desktop/madwifi/ath' make: *** [all] Error 1 laptop@ubuntu:~/Desktop/madwifi$ make install for i in ./ath_hal ath_rate/onoe ./net80211 ./ath; do \ (cd $i; make install) || exit 1; \ done make[1]: Entering directory `/home/laptop/Desktop/madwifi/ath_hal' make -C /lib/modules/2.6.12-9-386/build SUBDIRS=/home/laptop/Desktop/madwifi/ath_hal modules make[2]: Entering directory `/usr/src/linux-headers-2.6.12-9-386' Building modules, stage 2. MODPOST Warning: could not find /home/laptop/Desktop/madwifi/ath_hal/.hal.o.cmd for /home/laptop/Desktop/madwifi/ath_hal/hal.o make[2]: Leaving directory `/usr/src/linux-headers-2.6.12-9-386' test -d //lib/modules/2.6.12-9-386/net || mkdir -p //lib/modules/2.6.12-9-386/net strip -S ath_hal.ko cp ath_hal.ko //lib/modules/2.6.12-9-386/net cp: cannot create regular file `//lib/modules/2.6.12-9-386/net/ath_hal.ko': Permission denied make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/laptop/Desktop/madwifi/ath_hal' make: *** [install] Error 1 laptop@ubuntu:~/Desktop/madwifi$