Skip to content

compile error because pcap.h can't be found #59

@endiancj

Description

@endiancj

When trying to build using the make command I get the error:

monitor_15_4.c:34:10: fatal error: pcap/pcap.h: No such file or directory

I managed to fix this by installing libpcap0.8-dev with:

sudo apt install libpcap0.8-dev

(Actually, I also installed libpcap0.8 (without the "-dev" suffix) so not sure which of the 2 packages fixed the issue)

But libpcap0.8-dev (or libpcap0.8) should probably be added as a prerequisite/dependency to net-tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions