- 论坛徽章:
- 0
|
新年 自己做个server庆祝下~!
[quote]原帖由 "frankzh"]刚做的linux主机,欢迎来测试 http://bbs.uc88.com[/quote 发表:
我正在为安装mrgt软件发愁,你能帮忙看看我的问题吗?
我用的是Redhat 7.3,根据一些资料的介绍我检查Linux中已经安装了:
perl-5.6.1-34.99.6
gd-1.8.4-4
zlib-1.1.3-25.7
libpng-1.0.12-2
gcc-2.96-110
ucd-snmp-4.2.4-3
检查完毕,开始安装工作,过程如下:
#tar xzvf mrtg-2.9.25.tar.gz
#cd mrtg-2.9.25
#./configure --prefix=/usr/loca/mrgt-2
(显示成功,没有错误信息)
#make
make报告错误信息如下:
[root@rain mrtg-2.9.25]# make
gcc -DGFORM_GD=gdImagePng -g -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-do
/tmp/ccmGGWhp.s: Assembler messages:
/tmp/ccmGGWhp.s:421: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccmGGWhp.s:421: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccmGGWhp.s:421: Error: Rest of line ignored. First ignored character is `,.
/tmp/ccmGGWhp.s:448: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccmGGWhp.s:448: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccmGGWhp.s:448: Error: Rest of line ignored. First ignored character is `,.
/tmp/ccmGGWhp.s:511: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccmGGWhp.s:511: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccmGGWhp.s:511: Error: Rest of line ignored. First ignored character is `,.
/tmp/ccmGGWhp.s:521: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccmGGWhp.s:521: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccmGGWhp.s:521: Error: Rest of line ignored. First ignored character is `,.
/tmp/ccmGGWhp.s:524: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccmGGWhp.s:524: Warning: Unrecognized .section attribute: want a,w,x
..........
..........
..........
..........
..........
/tmp/ccU8kxQm.s:8003: Error: Rest of line ignored. First ignored character is `.
/tmp/ccU8kxQm.s:8006: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccU8kxQm.s:8006: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccU8kxQm.s:8006: Error: Rest of line ignored. First ignored character is `.
/tmp/ccU8kxQm.s:8010: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccU8kxQm.s:8010: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccU8kxQm.s:8010: Error: Rest of line ignored. First ignored character is `.
/tmp/ccU8kxQm.s:8019: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccU8kxQm.s:8019: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccU8kxQm.s:8019: Error: Rest of line ignored. First ignored character is `.
/tmp/ccU8kxQm.s:8032: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccU8kxQm.s:8032: Error: Rest of line ignored. First ignored character is `.
/tmp/ccU8kxQm.s:11160: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccU8kxQm.s:11160: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccU8kxQm.s:11160: Error: Rest of line ignored. First ignored character is .
/tmp/ccU8kxQm.s:11173: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccU8kxQm.s:11173: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccU8kxQm.s:11173: Error: Rest of line ignored. First ignored character is .
/tmp/ccU8kxQm.s:11176: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccU8kxQm.s:11176: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccU8kxQm.s:11176: Error: Rest of line ignored. First ignored character is .
make: *** [bin/rateup.o] Error 1
我的问题出在哪里?请帮忙看看。
补充说明:
有的资料上将configure应当加上如下参数:
configure --prefix=/usr/local/mrtg-2 \
--with-gd=/usr/include \
--with-gd-lib=/usr/lib \
--with-gd-inc=/usr/include \
--with-png=/usr/include \
--with-zlib=/usr/include
我照做了,但是仍然在maked的时候告同样的错误。 |
|