pcap.h头文件问题 [英] pcap.h header file problem
本文介绍了pcap.h头文件问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何人都知道如何解决有关ubuntu 10.10中的头文件的问题. 我正在执行使用此头文件的嗅探程序.我的系统显示libcap软件包已安装.尽管如此,在编译代码时,仍然出现错误,内容为:
anyone know how to fix the problem regarding header file in ubuntu 10.10. I am executing a sniffing program which makes use of this header file. My system shows libcap package is installed. Still, on compiling the code, an error is coming which reads:
严重错误:pcap.h:没有这样的文件或目录 编译终止.
fatal error: pcap.h: No such file or directory compilation terminated.
请帮帮我.
谢谢:)
推荐答案
sudo apt-get install libpcap0.8-dev
这篇关于pcap.h头文件问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文