版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_21078557/article/details/53453312
在ubuntu下make hping时出现这个错误,尴尬了我的哥。切换到你的解压包目录下,执行make clean,
因为你之前可能有文件没有在的时候生成了文件 新加入的不会再次编译,所以你需要清除所有的。
附带ubuntu下hping安装流程:
sudo apt-get install libpcap-dev
sudo apt-get install tcl-dev
ln -s /usr/include/pcap-bpf.h /usr/include/net/bpf.h