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] [Assigned] (QPID-7713) Clang build fails with link error
Date Wed, 20 Sep 2017 13:54:00 GMT

     [ https://issues.apache.org/jira/browse/QPID-7713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Justin Ross reassigned QPID-7713:
---------------------------------

    Assignee: Justin Ross

> 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
>         Environment: Fedora 25 x86-64, Clang 3.9.1
>            Reporter: Justin Ross
>            Assignee: 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.4.14#64029)

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


Mime
View raw message