If pcap.h is missing, install libpcap pkg.
$ sudo apt-cache search libpcap
Then install the right one
$ sudo apt-get install libpcap-dev
The references about libpcap are as follows:
http://yuba.stanford.edu/~casado/pcap/section1.html
http://www.tcpdump.org/
本文介绍了如何解决ifpcap.h缺失的问题,通过安装libpcap-dev包来完成。提供了具体的命令行操作步骤,并附带了关于libpcap的相关参考资料。
417

被折叠的 条评论
为什么被折叠?



