You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Gabor Gyimesi (Jira)" <ji...@apache.org> on 2021/06/28 11:50:00 UTC

[jira] [Assigned] (MINIFICPP-1492) The bundled PCAP++ is not compatible with linux kernel 5.5(or higher)

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

Gabor Gyimesi reassigned MINIFICPP-1492:
----------------------------------------

    Assignee: Gabor Gyimesi

> 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
>
> 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)