net-tools
net-tools copied to clipboard
compile error because pcap.h can't be found
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.