I am trying to install pcapy, but outgoing notifications like this:
cc1plus: warning: the command line parameter '-Wstrict-prototypes is valid for C / ObjC, but not for C ++ [enabled by default]pcapdumper.cc:11:18: fatal error: pcap.h: no such file or directory#include ^ compilation is complete. Error: command "x86_64-linux-gnu-gcc" failed with exit status 1
cc1plus: warning: the command line parameter '-Wstrict-prototypes is valid for C / ObjC, but not for C ++ [enabled by default]
pcapdumper.cc:11:18: fatal error: pcap.h: no such file or directory
#include
^
compilation is complete. Error: command "x86_64-linux-gnu-gcc" failed with exit status 1
I am using ubuntu 14.04
Installing libraries, libpcap-dev and libpq-dev solved the problem.
sudo apt-get install libpcap-dev libpq-dev
Ubuntu 16.04.
Source: https://habr.com/ru/post/1611165/More articles:WatchOS2 ClockKit update with IOS data - watch-os-2Objectify OfyService NoClassDefFoundError for the endpoint of the application engine - androidHow to check if a file exists (from a list of file names) or not in Python? - pythonThe best way to generate integers in Prolog - prologRobolectric custom TestRunner does not work when starting with Gradle - javaCan I send data from Android to iPhone? - androidCan I define my own HTML elements for use with css and js? - jqueryIs the address of a global variable guaranteed to remain unchanged during process execution? - cHow to format datetime field in Ruby on Rails ActiveAdmin form? - ruby | fooobar.comFind only one recurring number in a million numbers - javaAll Articles