锐捷校园网认证求助

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

锐捷校园网认证求助

#1

帖子 novice » 2008-10-01 15:21

我在安装mystar-0.11时出错,错误:
fq@fq-laptop:~/rui/mystar$ make
gcc -O2 -o mystar.o -c mystar.c
In file included from mystar.c:6:
mystar.h:20:18: error: pcap.h: No such file or directory
mystar.c: In function ‘main’:
mystar.c:52: error: ‘pcap_t’ undeclared (first use in this function)
mystar.c:52: error: (Each undeclared identifier is reported only once
mystar.c:52: error: for each function it appears in.)
mystar.c:52: error: ‘p’ undeclared (first use in this function)
mystar.c:56: error: storage size of ‘filter_code’ isn’t known
mystar.c:60: error: ‘PCAP_ERRBUF_SIZE’ undeclared (first use in this function)
make: *** [mystar.o] Error 1

高手请告诉我该怎么办,感激不尽。
头像
cnkilior
论坛版主
帖子: 4984
注册时间: 2007-08-05 17:40

Re: 锐捷校园网认证求助

#2

帖子 cnkilior » 2008-10-01 15:32

貌似少了libcap
novice
帖子: 2
注册时间: 2008-10-01 15:15

Re: 锐捷校园网认证求助

#3

帖子 novice » 2008-10-01 16:13

libcap我装了,装没装上我不知道,怎么确保全部装好了?
回复