Q:在编译C源码的时候,报了这个错误
A:查看/usr/include/中是否有libnet.h 头文件
如果没有,则sudo apt-get install libnet1-dev 再看一下/usr/include中。