在用Cygwin在windows下编译Wireshark报错,提示如下
configure: error: Header file pcap.h not found; if you installed libpcap
from source, did you also do "make install-incl", and if you installed a
binary package of libpcap, is there also a developer's package of libpcap,
and did you also install that package?
似乎是我的Cygwin没有安装libpcap,但是我在Cygwin里面找了半天也没有找到libpcap的安装选择,怎么在Cygwin中安装libpcap啊?
configure: error: Header file pcap.h not found; if you installed libpcap
from source, did you also do "make install-incl", and if you installed a
binary package of libpcap, is there also a developer's package of libpcap,
and did you also install that package?
似乎是我的Cygwin没有安装libpcap,但是我在Cygwin里面找了半天也没有找到libpcap的安装选择,怎么在Cygwin中安装libpcap啊?
解决方案 »
- 各位帮忙,能够把对话框内的一个button控件放到最边缘
- 大侠们,你们的如何搞定CInternetSession设置超时无效的BUG的呀?
- 一个writeFile的问题
- MSDN 2001在什么地方下载啊我没有找到
- AfxBeginThread 怎么用啊
- 关于字符串,数字转换的问题
- 怎么设定画图区的坐标系统?给分多多Money也是多呀!快来看!
- 如何设定或者查看,MODEM的RS232口的通讯数率?
- 本菜正在学VC,但VC 开发涉及的范围太广,我想请教一下,各位VC程序员大侠,
- 请问如下错误是什么意思?
- 如何在picture control上上响应鼠标事件??
- 当遇到new失败之后....我该怎么办
我下载了一个libpcap-1.0.0.tar.gz的源文件,在Cygwin里面编译报了很多.h文件的错,如下:
$ ./configure
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
... ... ...
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking sys/ioccom.h usability... no
checking sys/ioccom.h presence... no
checking for sys/ioccom.h... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for net/pfvar.h... no
checking for netinet/if_ether.h... no
configure: Rechecking with some additional includes
checking for netinet/if_ether.h... no
checking for ANSI ioctl definitions... no
configure: error: see the INSTALL for more info
那位高手指导一下啊
我下载了一个libpcap-1.0.0.tar.gz的源文件,在Cygwin里面编译报了很多.h文件的错,如下:
$ ./configure
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
... ... ...
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking sys/ioccom.h usability... no
checking sys/ioccom.h presence... no
checking for sys/ioccom.h... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for net/pfvar.h... no
checking for netinet/if_ether.h... no
configure: Rechecking with some additional includes
checking for netinet/if_ether.h... no
checking for ANSI ioctl definitions... no
configure: error: see the INSTALL for more info
那位高手指导一下啊
这个是libc6里的,在cygwin里没有,下载个libc6的软件包应该没有问题.
应该是少包........我在研究研究,然后把这被人遗弃的提问给补充下.