Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Fedora 25 x86-64, Clang 3.9.1
Description
CXX=clang++ cmake .. && make -j8 --- [100%] Linking CXX executable event_driven_list_agents [100%] Built target qmf2_event_driven_list_agents [100%] Linking CXX executable agent [100%] Built target qmf2_agent [100%] Linking CXX shared module cqmf2_ruby.so [100%] Built target cqmf2_ruby 1 warning generated. [100%] Linking CXX shared module _cqmf2.so [100%] Built target _cqmf2 [100%] Linking CXX executable unit_test /usr/bin/ld: CMakeFiles/unit_test.dir/ExchangeTest.cpp.o: undefined reference to symbol 'pthread_rwlock_init@@GLIBC_2.2.5' /usr/lib64/libpthread.so.0: error adding symbols: DSO missing from command line clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation) src/tests/CMakeFiles/unit_test.dir/build.make:1479: recipe for target 'src/tests/unit_test' failed make[2]: *** [src/tests/unit_test] Error 1 CMakeFiles/Makefile2:2715: recipe for target 'src/tests/CMakeFiles/unit_test.dir/all' failed make[1]: *** [src/tests/CMakeFiles/unit_test.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2 real 4m22.309s user 25m59.212s sys 1m3.917s