libpcap0.8-dev does not include pcap-int.h
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| libpcap (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: libpcap0.8-dev
I am attempting to compile a tool called Tomahawk, which allows replaying of pcap-formatted traffic dumps. Tomahawk is available at http://
Tomahawk requires libnet (I used the libnet1 and libnet1-dev Ubuntu packages) and libpcap (I used libpcap0.8 and libpcap0.8-dev).
I modified the Makefile to point at the correct locations, but my attempt to build tomahawk failed when gcc couldn't find pcap-int.h. I downloaded the libpcap 1.0.0 source from http://
Please include pcap-int.h in this package, and check for other missing include headers.
Thanks.
--------
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Description
+++-===
ii libnet1 1.1.2.1-4 library for the construction and handling of
ii libnet1-dev 1.1.2.1-4 development files for libnet
ii libpcap0.8 1.0.0-1 system interface for user-level packet captu
ii libpcap0.8-dev 1.0.0-1 development library and header files for lib
| Changed in libpcap (Ubuntu): | |
| status: | New → Invalid |

*sigh*
Okay, pcap-int.h turned out to be an unneccessary include. Removing the offending '#include "pcap.h"' from the "tomahawk.c" file on my system didn't adversely affect anything -- the program compiled just the same.
Further investigation reveals that pcap-int.h is apparently for internal data structures in the pcap library which shouldn't be exposed.
This bug can be closed.