LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 750|回复: 3

安装net-snmp出现严重错误!搜索网上有不少这样的问题却无答案!

[复制链接]
发表于 2007-1-23 00:34:07 | 显示全部楼层 |阅读模式
/bin/sh ../../libtool  --mode=compile i386-pc-linux-gnu-gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -Ic
rm -f ucd-snmp/.libs/disk.lo
i386-pc-linux-gnu-gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -fno-strict-aliasing -pio
ucd-snmp/disk.c:233:36: error: operator '||' has no right operand
ucd-snmp/disk.c:281:36: error: operator '||' has no right operand
ucd-snmp/disk.c:377:19: error: #if with no expression
ucd-snmp/disk.c:400:36: error: operator '||' has no right operand
ucd-snmp/disk.c:471:19: error: #if with no expression
ucd-snmp/disk.c:497:36: error: operator '||' has no right operand
make[2]: *** [ucd-snmp/disk.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/agent/mibgroup'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-snmp-5.2.1.2-r1/work/net-snmp-5.2.1.2/agent'
make: *** [subdirs] Error 1

!!! ERROR: net-analyzer/net-snmp-5.2.1.2-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  net-snmp-5.2.1.2-r1.ebuild, line 108:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
 楼主| 发表于 2007-1-23 09:17:00 | 显示全部楼层
难道大家就没有出现过这样的问题吗?
回复 支持 反对

使用道具 举报

发表于 2007-1-23 09:24:43 | 显示全部楼层
搜了bugs.gentoo.org了么,没有就去报bug吧。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-23 11:30:48 | 显示全部楼层
今天更新了最新的net-snmp 5.4可以正常安装了!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表