Konstantin Sykulev
07/08/2025, 12:50 PMKonstantin Sykulev
07/08/2025, 12:50 PMIn file included from /usr/local/osquery-toolchain/usr/bin/../include/c++/v1/unordered_map:409:
/usr/local/osquery-toolchain/usr/bin/../include/c++/v1/__hash_table:2147:23: error: cannot initialize object parameter of type 'std::__1::__hash_node_base<std::__1::__hash_node<std::__1::__hash_value_type<int, osquery::ProcessContext::FileDescriptor>, void *> *>' with an expression of type 'std::__1::__hash_node<std::__1::__hash_value_type<int, osquery::ProcessContext::FileDescriptor>, void *>'
= __h.get()->__ptr();
^~~~~~~~~
/usr/local/osquery-toolchain/usr/bin/../include/c++/v1/__hash_table:2154:16: error: static_cast from 'std::__1::unique_ptr<std::__1::__hash_node<std::__1::__hash_value_type<int, osquery::ProcessContext::FileDescriptor>, void *>, std::__1::__hash_node_destructor<std::__1::allocator<std::__1::__hash_node<std::__1::__hash_value_type<int, osquery::ProcessContext::FileDescriptor>, void *> > > >::pointer' (aka 'std::__1::__hash_node<std::__1::__hash_value_type<int, osquery::ProcessContext::FileDescriptor>, void *> *') to 'std::__1::__hash_table<std::__1::__hash_value_type<int, osquery::ProcessContext::FileDescriptor>, std::__1::__unordered_map_hasher<int, std::__1::__hash_value_type<int, osquery::ProcessContext::FileDescriptor>, std::__1::hash<int>, true>, std::__1::__unordered_map_equal<int, std::__1::__hash_value_type<int, osquery::ProcessContext::FileDescriptor>, std::__1::equal_to<int>, true>, std::__1::allocator<std::__1::__hash_value_type<int, osquery::ProcessContext::FileDescriptor> > >::__next_pointer' (aka 'std::__1::__hash_node_base<std::__1::__hash_node<std::__1::__hash_value_type<int, osquery::ProcessContext::FileDescriptor>, void *> *> *'), which are not related by inheritance, is not allowed
__nd = static_cast<__next_pointer>(__h.release());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14 errors generated.
make[2]: *** [osquery/events/CMakeFiles/osquery_events.dir/build.make:230: osquery/events/CMakeFiles/osquery_events.dir/linux/bpf/processcontextfactory.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 91%] Building CXX object plugins/config/parsers/CMakeFiles/plugins_config_parsers.dir/events_parser.cpp.o
make[1]: *** [CMakeFiles/Makefile2:17025: osquery/events/CMakeFiles/osquery_events.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....Konstantin Sykulev
07/08/2025, 12:51 PMzwass
Konstantin Sykulev
07/09/2025, 6:29 PMStefano Bonicatti
07/09/2025, 6:30 PMStefano Bonicatti
07/09/2025, 6:41 PMKonstantin Sykulev
07/09/2025, 7:18 PM