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

Asked by regulararmy on 2013-05-08

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:
2013-05-22
Last query:
2013-05-22
Last reply:
2013-05-08

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

regulararmy (regulararmy) said : #2

Thanks a lot!

regulararmy (regulararmy) said : #3

Thanks Didier Barvaux, that solved my question.