免费注册 查看新帖 |

Chinaunix

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

[FreeBSD] freebsd4.7上bnadwidthd安装出错,不知道为什么 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-03-15 18:17 |只看该作者 |倒序浏览
mynat# pwd
/usr/ports/net-mgmt/bandwidthd
mynat# make
===>;  Vulnerability check disabled
===>;  Extracting for bandwidthd-1.2.0_1
>;>; Checksum OK for bandwidthd-1.2.0b.tgz.
===>;  Patching for bandwidthd-1.2.0_1
===>;  Applying FreeBSD patches for bandwidthd-1.2.0_1
===>;   bandwidthd-1.2.0_1 depends on executable: gmake - found
===>;   bandwidthd-1.2.0_1 depends on shared library: gd.4 - found
===>;   bandwidthd-1.2.0_1 depends on shared library: iconv.3 - found
===>;  Configuring for bandwidthd-1.2.0_1
===>;  Building for bandwidthd-1.2.0_1
cc -O -pipe  -I/usr/local/include -DBSD   -c -o bandwidthd.o bandwidthd.c
cc -O -pipe  -I/usr/local/include -DBSD   -c -o graph.o graph.c
In file included from /usr/include/resolv.h:60,
                 from graph.c:10:
/usr/include/sys/param.h:45: warning: `BSD' redefined
*Initialization*:1: warning: this is the location of the previous definition
cc -O -pipe  -I/usr/local/include -DBSD   -c -o conf.tab.o conf.tab.c
cc -c -o conf.l.o conf.l.c
cc -O -pipe  -I/usr/local/include -DBSD bandwidthd.o graph.o conf.tab.o conf.l.o -o bandwidthd -L/usr/local/lib -lgd -lpng -lpcap  -liconv
/usr/local/lib/libpcap.a(scanner.o)(.data+0x10): multiple definition of `yyin'
conf.l.o(.data+0x10): first defined here
/usr/local/lib/libpcap.a(scanner.o)(.data+0x14): multiple definition of `yyout'
conf.l.o(.data+0x14): first defined here
/usr/local/lib/libpcap.a(scanner.o): In function `yylex':
scanner.o(.text+0x0): multiple definition of `yylex'
conf.l.o(.text+0x0): first defined here
/usr/libexec/elf/ld: Warning: size of symbol `yylex' changed from 1588 to 2504 in /usr/local/lib/libpcap.a(scanner.o)
/usr/local/lib/libpcap.a(scanner.o): In function `yy_create_buffer':
scanner.o(.text+0xfa8): multiple definition of `yy_create_buffer'
conf.l.o(.text+0xdc0): first defined here
/usr/libexec/elf/ld: Warning: size of symbol `yy_create_buffer' changed from 146 to 115 in /usr/local/lib/libpcap.a(scanner.o)
/usr/local/lib/libpcap.a(scanner.o): In function `yy_load_buffer_state':
scanner.o(.text+0xf78): multiple definition of `yy_load_buffer_state'
conf.l.o(.text+0xd7c): first defined here
/usr/libexec/elf/ld: Warning: size of symbol `yy_load_buffer_state' changed from 65 to 48 in /usr/local/lib/libpcap.a(scanner.o)
/usr/local/lib/libpcap.a(scanner.o): In function `yywrap':
scanner.o(.text+0x12d8): multiple definition of `yywrap'
conf.tab.o(.text+0x20): first defined here
/usr/local/lib/libpcap.a(scanner.o): In function `yyrestart':
scanner.o(.text+0xee4): multiple definition of `yyrestart'
conf.l.o(.text+0xcd4): first defined here
/usr/libexec/elf/ld: Warning: size of symbol `yyrestart' changed from 72 to 66 in /usr/local/lib/libpcap.a(scanner.o)
/usr/local/lib/libpcap.a(scanner.o): In function `yy_init_buffer':
scanner.o(.text+0x1060): multiple definition of `yy_init_buffer'
conf.l.o(.text+0xea8): first defined here
/usr/libexec/elf/ld: Warning: size of symbol `yy_init_buffer' changed from 90 to 82 in /usr/local/lib/libpcap.a(scanner.o)
/usr/local/lib/libpcap.a(scanner.o): In function `yy_switch_to_buffer':
scanner.o(.text+0xf28): multiple definition of `yy_switch_to_buffer'
conf.l.o(.text+0xd1c): first defined here
/usr/libexec/elf/ld: Warning: size of symbol `yy_switch_to_buffer' changed from 95 to 80 in /usr/local/lib/libpcap.a(scanner.o)
/usr/local/lib/libpcap.a(scanner.o): In function `yy_delete_buffer':
scanner.o(.text+0x101c): multiple definition of `yy_delete_buffer'
conf.l.o(.text+0xe54): first defined here
/usr/libexec/elf/ld: Warning: size of symbol `yy_delete_buffer' changed from 81 to 66 in /usr/local/lib/libpcap.a(scanner.o)
/usr/local/lib/libpcap.a(scanner.o): In function `yy_flush_buffer':
scanner.o(.text+0x10b4): multiple definition of `yy_flush_buffer'
conf.l.o(.text+0xf04): first defined here
/usr/libexec/elf/ld: Warning: size of symbol `yy_flush_buffer' changed from 95 to 68 in /usr/local/lib/libpcap.a(scanner.o)
/usr/local/lib/libpcap.a(scanner.o): In function `yy_scan_buffer':
scanner.o(.text+0x10f8): multiple definition of `yy_scan_buffer'
conf.l.o(.text+0xf64): first defined here
/usr/libexec/elf/ld: Warning: size of symbol `yy_scan_buffer' changed from 218 to 150 in /usr/local/lib/libpcap.a(scanner.o)
/usr/local/lib/libpcap.a(scanner.o): In function `yy_scan_string':
scanner.o(.text+0x1190): multiple definition of `yy_scan_string'
conf.l.o(.text+0x1040): first defined here
/usr/libexec/elf/ld: Warning: size of symbol `yy_scan_string' changed from 70 to 35 in /usr/local/lib/libpcap.a(scanner.o)
/usr/local/lib/libpcap.a(scanner.o): In function `yy_scan_bytes':
scanner.o(.text+0x11b4): multiple definition of `yy_scan_bytes'
conf.l.o(.text+0x1088): first defined here
/usr/libexec/elf/ld: Warning: size of symbol `yy_scan_bytes' changed from 194 to 128 in /usr/local/lib/libpcap.a(scanner.o)
/usr/local/lib/libpcap.a(grammar.o): In function `yyparse':
grammar.o(.text+0x128): multiple definition of `yyparse'
conf.tab.o(.text+0x2c): first defined here
/usr/libexec/elf/ld: Warning: size of symbol `yyparse' changed from 1860 to 3950 in /usr/local/lib/libpcap.a(grammar.o)
gmake: *** [bandwidthd] Error 1
*** Error code 2

Stop in /usr/ports/net-mgmt/bandwidthd.
mynat#

论坛徽章:
0
2 [报告]
发表于 2004-03-19 14:03 |只看该作者

freebsd4.7上bnadwidthd安装出错,不知道为什么

up

论坛徽章:
0
3 [报告]
发表于 2004-03-19 21:24 |只看该作者

freebsd4.7上bnadwidthd安装出错,不知道为什么

http://phpsysinfo.sourceforge.net/

论坛徽章:
0
4 [报告]
发表于 2004-03-20 11:49 |只看该作者

freebsd4.7上bnadwidthd安装出错,不知道为什么

我需要的是知道nat后每个ip的流量情况。phpsysinfo给出来的并不是我需要的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP