can not find pcap.h in rohc-1.5.1.tar.bz2

Asked by regulararmy

can not find pcap.h in rohc-1.5.1.tar.bz2,so when compiled in Eclipse,Error occurs . where is the pcap.h?

Question information

Language:
English Edit question
Status:
Solved
For:
rohc Edit question
Assignee:
No assignee Edit question
Solved by:
Didier Barvaux
Solved:
Last query:
Last reply:
Revision history for this message
Best Didier Barvaux (didier-barvaux) said :
#1

Hello regulararmy,

> can not find pcap.h in rohc-1.5.1.tar.bz2,so when compiled in Eclipse,
> Error occurs . where is the pcap.h?

The pcap.h header file not part of the ROHC library itself. The header is
provided by libpcap (http://www.tcpdump.org/).

This kind of checks is performed by the configure script provided within
the source archive. When a check fails, detailed information about the
missing dependency is displayed. I encourage you to follow the installation
instructions of http://rohc-lib.org/wiki/doku.php?id=library-install-sources#native_build_on_unix-like_systems

Regards,
Didier

Revision history for this message
regulararmy (regulararmy) said :
#2

Thanks a lot!

Revision history for this message
regulararmy (regulararmy) said :
#3

Thanks Didier Barvaux, that solved my question.