nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "derik f (Jira)" <j...@apache.org>
Subject [jira] [Created] (MINIFI-542) minifi-cpp 'main' branch fails build with pcap support
Date Tue, 13 Oct 2020 17:02:00 GMT
derik f created MINIFI-542:
------------------------------

             Summary: minifi-cpp 'main' branch fails build with pcap support
                 Key: MINIFI-542
                 URL: https://issues.apache.org/jira/browse/MINIFI-542
             Project: Apache NiFi MiNiFi
          Issue Type: Bug
          Components: Build, Extensions
         Environment: OS: Debian compiler clang++ v10, or, gcc 8.3

Build kicked off by running ./bootstrap,sh and enabling PCAP support.


            Reporter: derik f


static constexpr SocketDescriptor INVALID_SOCKET = -1;
 ^
/usr/include/pcap/socket.h:89:28: note: expanded from macro 'INVALID_SOCKET'
 #define INVALID_SOCKET -1
 ^
/app/extensions/pcap/CapturePacket.cpp:156:27: error: too many arguments to function call,
expected 0, have 1
 id_generator_->generate(dir_ext);
 ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/app/extensions/pcap/../../libminifi/include/utils/Id.h:81:3: note: 'generate' declared here
 Identifier generate();
 ^
2 errors generated.
make[2]: *** [extensions/pcap/CMakeFiles/minifi-pcap.dir/build.make:63: extensions/pcap/CMakeFiles/minifi-pcap.dir/CapturePacket.cpp.o]
Error 1
make[1]: *** [CMakeFiles/Makefile2:3873: extensions/pcap/CMakeFiles/minifi-pcap.dir/all] Error
2
make: *** [Makefile:163: all] Error 2



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

Mime
View raw message