Hi all,
Has anyone tried installing https://github.com/WqyJh/zeek-netmap under FreeBSD 12.1? In my installation returns:
Scanning dependencies of target bro-plugin-Zeek_Netmap
[ 20%] Creating bro_plugin for Zeek::Netmap
[ 20%] Built target bro-plugin-Zeek_Netmap
Scanning dependencies of target copy-scripts-Zeek_Netmap
[ 20%] Built target copy-scripts-Zeek_Netmap
Scanning dependencies of target generate_outputs
[ 20%] Built target generate_outputs
Scanning dependencies of target Zeek-Netmap.freebsd-amd64
[ 40%] Building CXX object CMakeFiles/Zeek-Netmap.freebsd-amd64.dir/src/Plugin.cc.o
In file included from /tmp/oo/zeek-netmap/src/Plugin.cc:3:
In file included from /tmp/oo/zeek-netmap/src/Netmap.h:10:
In file included from /usr/include/net/netmap_user.h:104:
In file included from /usr/include/net/netmap.h:816:
/usr/include/stdatomic.h:141:21: error: reference to ‘memory_order’ is ambiguous
atomic_thread_fence(memory_order __order __unused)
^
/usr/include/stdatomic.h:134:3: note: candidate found by name lookup is ‘memory_order’
} memory_order;
^
/usr/include/c++/v1/atomic:628:3: note: candidate found by name lookup is ‘std::__1::memory_order’
} memory_order;
^
In file included from /tmp/oo/zeek-netmap/src/Plugin.cc:3:
In file included from /tmp/oo/zeek-netmap/src/Netmap.h:10:
In file included from /usr/include/net/netmap_user.h:104:
In file included from /usr/include/net/netmap.h:816:
/usr/include/stdatomic.h:154:21: error: reference to ‘memory_order’ is ambiguous
atomic_signal_fence(memory_order __order __unused)
^
/usr/include/stdatomic.h:134:3: note: candidate found by name lookup is ‘memory_order’
} memory_order;
^
/usr/include/c++/v1/atomic:628:3: note: candidate found by name lookup is ‘std::__1::memory_order’
} memory_order;
^
In file included from /tmp/oo/zeek-netmap/src/Plugin.cc:3:
In file included from /tmp/oo/zeek-netmap/src/Netmap.h:10:
In file included from /usr/include/net/netmap_user.h:104:
In file included from /usr/include/net/netmap.h:816:
/usr/include/stdatomic.h:186:17: error: unknown type name ‘_Bool’
typedef _Atomic(_Bool) atomic_bool;
……