在安装libpcap库的时候, 执行到sudo ./configure报标题错误, 解决方法:
sudo apt-get install flex bison
然后从新执行 sudo ./configure即可解决。