免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2086 | 回复: 0
打印 上一主题 下一主题

[网络管理] snmp安装问题!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-08-21 19:06 |只看该作者 |倒序浏览
我在linux(redhatas3.0)服务器上需要安装snmp .我在网上下载了一个net-snmp-5.4.1.tar.gz 用下面命令安装
tar -zxvf net-snmp-5.4.1.tar.gz 后
./configure  
make
出现下面的错误:

usr/include/sys/types.h:191: warning: `int8_t' previously declared here
../include/net-snmp/types.h:87: warning: redefinition of `uint8_t'
/usr/include/stdint.h:49: warning: `uint8_t' previously declared here
../include/net-snmp/types.h:100: warning: redefinition of `int16_t'
/usr/include/sys/types.h:192: warning: `int16_t' previously declared here
../include/net-snmp/types.h:108: warning: redefinition of `uint16_t'
/usr/include/stdint.h:50: warning: `uint16_t' previously declared here
../include/net-snmp/types.h:126: warning: redefinition of `int32_t'
/usr/include/sys/types.h:193: warning: `int32_t' previously declared here
../include/net-snmp/types.h:134: warning: redefinition of `uint32_t'
/usr/include/stdint.h:52: warning: `uint32_t' previously declared here
../include/net-snmp/types.h:169: warning: redefinition of `intmax_t'
/usr/include/stdint.h:139: warning: `intmax_t' previously declared here
In file included from snmp_client.c:96:
../include/net-snmp/types.h:170:1: warning: "SIZEOF_INTMAX_T" redefined
In file included from snmp_client.c:42:
../include/net-snmp/net-snmp-config.h:1163:1: warning: this is the location of the previous definition
../include/net-snmp/types.h:183: warning: redefinition of `uintmax_t'
/usr/include/stdint.h:141: warning: `uintmax_t' previously declared here
../include/net-snmp/types.h:197: warning: redefinition of `uintptr_t'
/usr/include/stdint.h:129: warning: `uintptr_t' previously declared here
../include/net-snmp/types.h:206: warning: redefinition of `intptr_t'
/usr/include/unistd.h:236: warning: `intptr_t' previously declared here
make[1]: *** [snmp_client.lo] Error 1
make[1]: Leaving directory `/home/qq/net-snmp-5.4.1/snmplib'
make: *** [subdirs] Error 1
有哪位兄弟碰到过这样的问题。是什么原因,怎么解决。谢谢!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP