madwifi安装出错,各位好友都过来看看吧,帮帮忙

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
daiwei
帖子: 13
注册时间: 2008-12-10 13:24

madwifi安装出错,各位好友都过来看看吧,帮帮忙

#1

帖子 daiwei » 2009-03-07 21:00

各位好友,我的PCI网卡的芯片是Atheros AR5001X+ Wireless Network Adapter (rev 01),ubuntu8.10 , 内核是2.6.27-7-generic。
安装过错中总在编译的时候出错,大家帮帮忙,小弟装这个驱动搞了一两个星期了,实在是没办法了!我的安装过程如下,(我尽量都些写上,这样大家好帮我看看)

在System/Administration/HarwareDrivers下将无线网卡处于非激活状态,并且重启!

sudo apt-get install build-essential perl

sudo apt-get install linux-headers-$(uname -r)

下载madwifi
wget http://snapshots.madwifi-project.org/ma ... ent.tar.gz

tar -xvf madwifi-hal-0.10.5.6-current.tar.gz
cd madwifi-hal-0.10.5.6-current.tar.gz
cd scripts
sudo ./madwifi-unload
sudo ./find-madwifi- modules.sh $(uname -r)
cd ..

然后是编译
make,
此时报错,具体如下:
make[2]: Entering directory `/home/daiwei/trunk/tools/ath_info'
gcc -g -O2 -W -Wall -c ath_info.c
ath_info.c: In function 'main':
ath_info.c:2847: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
gcc -g -O2 -W -Wall -o ath_info ath_info.o
make[2]: Leaving directory `/home/daiwei/trunk/tools/ath_info'
gcc -o athstats -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal -I../ath athstats.c
athstats.c: In function 'main':
athstats.c:289: warning: format not a string literal and no format arguments
athstats.c:291: warning: format not a string literal and no format arguments
athstats.c:311: warning: format not a string literal and no format arguments
athstats.c:313: warning: format not a string literal and no format arguments
athstats.c:348: warning: format not a string literal and no format arguments
gcc -o 80211stats -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal 80211stats.c
80211stats.c: In function 'main':
80211stats.c:287: warning: format not a string literal and no format arguments
gcc -o athkey -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal athkey.c
gcc -o athchans -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal athchans.c
gcc -o athctrl -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal athctrl.c
gcc -o athdebug -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal athdebug.c
gcc -o 80211debug -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal 80211debug.c
gcc -o wlanconfig -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal wlanconfig.c
wlanconfig.c: In function 'list_keys':
wlanconfig.c:779: warning: ignoring return value of 'system', declared with attribute warn_unused_result
wlanconfig.c: In function 'ieee80211_status':
wlanconfig.c:895: warning: ignoring return value of 'system', declared with attribute warn_unused_result
gcc -o wpakey -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal wpakey.c
make[1]: Leaving directory `/home/daiwei/trunk/tools'

好像是里面的几个程序出错了,我又不太懂,希望大家耐心帮我看看,不胜感激!
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: madwifi安装出错,各位好友都过来看看吧,帮帮忙

#2

帖子 eexpress » 2009-03-09 15:27

madwifi

http://madwifi.org/CVS/ 里面搜索deb吧。

我记得以前是在eeeubuntu网站找的deb。
● 鸣学
daiwei
帖子: 13
注册时间: 2008-12-10 13:24

Re: madwifi安装出错,各位好友都过来看看吧,帮帮忙

#3

帖子 daiwei » 2009-04-25 10:27

madwifi安装上了。上面的是警告,直接make install 就可以了。
可以正常使用
回复