Martin Zink created MINIFICPP-1492:
--------------------------------------

             Summary: The bundled PCAP++ is not compatible with linux kernel 
5.5(or higher)
                 Key: MINIFICPP-1492
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1492
             Project: Apache NiFi MiNiFi C++
          Issue Type: Bug
            Reporter: Martin Zink


The bundled pcap++ is not compatible with linux kernel 5.5 (or higher), due to 
the removal of sys/sysctl.h 
[https://man7.org/linux/man-pages/man2/sysctl.2.html]

Causing a build error:
{code:java}
src/PcapLiveDevice.cpp:25:10: fatal error: sys/sysctl.h: No such file or 
directory 25 | #include <sys/sysctl.h>
{code}
This is fixed in newer PCAP++ versions, it also pretty easy to backport to our 
version, 
[https://github.com/seladb/PcapPlusPlus/commit/f474316b2fcdcd3b2d6ab6143ef4c3b2b5ec9ea8]
 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to