I have tried the Following:
# svn co
http://svn.madwifi-project.org/madwi...madwifi-0.9.4/ madwifi-ng-0.9.4
# cd madwifi-ng-0.9.4
# apt-get install gcc-4.2
# make CC=gcc-4.2
This is the error Im getting!
It compiled fine with gcc-4.2. It also compiled fine for me with gcc-4.3, although there were a couple of warning messages near the end of make command.
root@bt:~/madwifi-0.9.4# make CC=gcc-4.2
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.28.1/build SUBDIRS=/root/madwifi-0.9.4 modules
make[1]: Entering directory `/usr/src/linux-source-2.6.28.1'
CC [M] /root/madwifi-0.9.4/ath/if_ath.o
CC [M] /root/madwifi-0.9.4/ath/if_ath_pci.o
LD [M] /root/madwifi-0.9.4/ath/ath_pci.o
CC [M] /root/madwifi-0.9.4/ath_hal/ah_os.o
LD [M] /root/madwifi-0.9.4/ath_hal/ath_hal.o
CC [M] /root/madwifi-0.9.4/ath_rate/amrr/amrr.o
LD [M] /root/madwifi-0.9.4/ath_rate/amrr/ath_rate_amrr.o
CC [M] /root/madwifi-0.9.4/ath_rate/minstrel/minstrel.o
LD [M] /root/madwifi-0.9.4/ath_rate/minstrel/ath_rate_minstrel.o
CC [M] /root/madwifi-0.9.4/ath_rate/onoe/onoe.o
LD [M] /root/madwifi-0.9.4/ath_rate/onoe/ath_rate_onoe.o
CC [M] /root/madwifi-0.9.4/ath_rate/sample/sample.o
LD [M] /root/madwifi-0.9.4/ath_rate/sample/ath_rate_sample.o
CC [M] /root/madwifi-0.9.4/net80211/if_media.o
CC [M] /root/madwifi-0.9.4/net80211/ieee80211.o
CC [M] /root/madwifi-0.9.4/net80211/ieee80211_beacon.o
CC [M] /root/madwifi-0.9.4/net80211/ieee80211_crypto.o
CC [M] /root/madwifi-0.9.4/net80211/ieee80211_crypto_none.o
CC [M] /root/madwifi-0.9.4/net80211/ieee80211_input.o
CC [M] /root/madwifi-0.9.4/net80211/ieee80211_node.o
CC [M] /root/madwifi-0.9.4/net80211/ieee80211_output.o
CC [M] /root/madwifi-0.9.4/net80211/ieee80211_power.o
/root/madwifi-0.9.4/net80211/ieee80211_power.c: In function 'ieee80211_pwrsave':
/root/madwifi-0.9.4/net80211/ieee80211_power.c:240: error: implicit declaration of function '__skb_append'
make[3]: *** [/root/madwifi-0.9.4/net80211/ieee80211_power.o] Error 1
make[2]: *** [/root/madwifi-0.9.4/net80211] Error 2
make[1]: *** [_module_/root/madwifi-0.9.4] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.28.1'
make: *** [modules] Error 2