[ 
https://issues.apache.org/jira/browse/MINIFICPP-1492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gabor Gyimesi updated MINIFICPP-1492:
-------------------------------------
    Fix Version/s: 0.11.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> 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
>            Assignee: Gabor Gyimesi
>            Priority: Minor
>             Fix For: 0.11.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> 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