Article 5240 net-pcap.h no such file error in ns2.35

net-pcap.h no such file error in ns2.35

by
udaya shree
from LinuxQuestions.org on (#5240)
I just modify code on Antnet file after i modified i put the following commands on terminal. make clean make depend

I got the following error
make depend
...
...
emulate/net-pcap.cc:64:18: fatal error: pcap.h: No such file or directory
#include <pcap.h>
^
compilation terminated.

Please help me. I am working on ns2.35 on ubundu 12.04latest?d=yIl2AUoC8zA latest?i=GV9whZXY3_w:1ElGZFuSGd8:F7zBnMy latest?i=GV9whZXY3_w:1ElGZFuSGd8:V_sGLiP latest?d=qj6IDK7rITs latest?i=GV9whZXY3_w:1ElGZFuSGd8:gIN9vFwGV9whZXY3_w
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 1 comments

Error in make depend (Score: 0)

by Anonymous Coward on 2016-10-04 15:51 (#1WZ2K)

run sudo apt-get install libpcap0.8-dev
and then execute make depend