I get several undefined references when building OpenCV from sources, with the latest 4.0.0 version:
\src\main\cpp\opencv\core\src/arithm.cpp:378: undefined reference to `cv::hal::and8u(unsigned char const*, unsigned long, unsigned char const*, unsigned long, unsigned char*, unsigned long, int, int, void*)'
\src\main\cpp\opencv\core\src/arithm.cpp:378: undefined reference to `cv::hal::and8u(unsigned char const*, unsigned long, unsigned char const*, unsigned long, unsigned char*, unsigned long, int, int, void*)'
liblib_opencv.a(arithm.cpp.o): In function `cv::bitwise_or(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, cv::_InputArray const&)':
\src\main\cpp\opencv\core\src/arithm.cpp:386: undefined reference to `cv::hal::or8u(unsigned char const*, unsigned long, unsigned char const*, unsigned long, unsigned char*, unsigned long, int, int, void*)'
I get several more undefined references in the arithm.cpp all related to cv::hal bitwise operations.
I've seen that these functions were refactored in the commit core: reimplement SIMD arithmetic, logic and comparison operations in... Yet I can't find where these are now implemented, and I'm not missing any file.