LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-16-2015, 01:27 PM   #1
udaya shree
LQ Newbie
 
Registered: Mar 2015
Posts: 6

Rep: Reputation: Disabled
net-pcap.h no such file error in ns2.35


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.04
 
Old 03-16-2015, 02:29 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
Did you install libpcap-devel packet?
 
Old 03-18-2015, 01:58 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Ubuntu :

$ sudo apt-get install libpcap0.8-dev
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configure: error: Header file pcap.h not found; when tried installing ethereal networ ssangeetha Linux - Software 6 05-02-2013 12:28 PM
cannot install Net::Pcap on fedora12 singhabsk Linux - Software 4 11-18-2010 11:20 PM
Problem installing Net::Pcap in Slackware 12.1...strange error! m07hm4n Linux - Software 2 12-03-2008 11:08 AM
Can't install Net::Pcap SlackN00b Slackware 11 02-25-2008 07:40 PM
WEPCrack and Can't locate Net/Pcap.pm jimdaworm SUSE / openSUSE 4 03-22-2006 12:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration