qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Ross (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-7713) Clang build fails with link error
Date Fri, 17 Mar 2017 14:49:42 GMT
Justin Ross created QPID-7713:
---------------------------------

             Summary: Clang build fails with link error
                 Key: QPID-7713
                 URL: https://issues.apache.org/jira/browse/QPID-7713
             Project: Qpid
          Issue Type: Bug
          Components: C++ Build
            Reporter: Justin Ross
             Fix For: qpid-cpp-1.37.0


{noformat}
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
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message