Ask Your Question

Revision history [back]

make opencv-4.1.1 fails

[ 28%] Linking CXX executable ../../bin/opencv_test_core /usr/bin/ld: ../../lib/libopencv_core.so.4.1.1: undefined reference to __atomic_fetch_add_8' /usr/bin/ld: ../../lib/libopencv_core.so.4.1.1: undefined reference to__atomic_fetch_sub_8' /usr/bin/ld: ../../lib/libopencv_core.so.4.1.1: undefined reference to __atomic_store_8' /usr/bin/ld: ../../lib/libopencv_core.so.4.1.1: undefined reference to__atomic_load_8' /usr/bin/ld: ../../lib/libopencv_core.so.4.1.1: undefined reference to `__atomic_compare_exchange_8' collect2: error: ld returned 1 exit status make[2]: * [modules/core/CMakeFiles/opencv_test_core.dir/build.make:571: bin/opencv_test_core] Error 1 make[1]: [CMakeFiles/Makefile2:1404: modules/core/CMakeFiles/opencv_test_core.dir/all] Error 2 make: ** [Makefile:163: all] Error 2

click to hide/show revision 2
retagged

updated 2019-10-09 00:52:39 -0600

berak gravatar image

make opencv-4.1.1 fails

[ 28%] Linking CXX executable ../../bin/opencv_test_core /usr/bin/ld: ../../lib/libopencv_core.so.4.1.1: undefined reference to __atomic_fetch_add_8' /usr/bin/ld: ../../lib/libopencv_core.so.4.1.1: undefined reference to__atomic_fetch_sub_8' /usr/bin/ld: ../../lib/libopencv_core.so.4.1.1: undefined reference to __atomic_store_8' /usr/bin/ld: ../../lib/libopencv_core.so.4.1.1: undefined reference to__atomic_load_8' /usr/bin/ld: ../../lib/libopencv_core.so.4.1.1: undefined reference to `__atomic_compare_exchange_8' collect2: error: ld returned 1 exit status make[2]: * [modules/core/CMakeFiles/opencv_test_core.dir/build.make:571: bin/opencv_test_core] Error 1 make[1]: [CMakeFiles/Makefile2:1404: modules/core/CMakeFiles/opencv_test_core.dir/all] Error 2 make: ** [Makefile:163: all] Error 2