Determining if the function pcap_get_pfring_id exists failed with the following output: Change Dir: /usr/src/lmangani/node-peafowl/peafowl_lib/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_d3e22/fast" /usr/bin/make -f CMakeFiles/cmTC_d3e22.dir/build.make CMakeFiles/cmTC_d3e22.dir/build make[1]: Entering directory '/usr/src/lmangani/node-peafowl/peafowl_lib/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d3e22.dir/CheckFunctionExists.c.o /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pcap_get_pfring_id -o CMakeFiles/cmTC_d3e22.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c Linking C executable cmTC_d3e22 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d3e22.dir/link.txt --verbose=1 /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pcap_get_pfring_id CMakeFiles/cmTC_d3e22.dir/CheckFunctionExists.c.o -o cmTC_d3e22 /usr/lib/x86_64-linux-gnu/libpcap.so CMakeFiles/cmTC_d3e22.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x15): undefined reference to `pcap_get_pfring_id' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_d3e22.dir/build.make:98: recipe for target 'cmTC_d3e22' failed make[1]: *** [cmTC_d3e22] Error 1 make[1]: Leaving directory '/usr/src/lmangani/node-peafowl/peafowl_lib/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_d3e22/fast' failed make: *** [cmTC_d3e22/fast] Error 2