You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/10/30 19:58:00 UTC

[jira] [Commented] (PROTON-1664) C++ binding examples fail to build stand lone

    [ https://issues.apache.org/jira/browse/PROTON-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16225645#comment-16225645 ] 

ASF subversion and git services commented on PROTON-1664:
---------------------------------------------------------

Commit 9cd879eba69e7bf4182d24f72b74110252a910ce in qpid-proton's branch refs/heads/master from [~astitcher]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=9cd879e ]

PROTON-1664: Ensure that C++ examples build standalone


> C++ binding examples fail to build stand lone
> ---------------------------------------------
>
>                 Key: PROTON-1664
>                 URL: https://issues.apache.org/jira/browse/PROTON-1664
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: cpp-binding
>    Affects Versions: proton-c-0.18.0
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>             Fix For: proton-c-0.18.1
>
>
> If you build the c++ examples standalone you get
> {noformat}
> [  2%] Linking CXX executable multithreaded_client
> /usr/bin/ld: CMakeFiles/multithreaded_client.dir/multithreaded_client.cpp.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
> /usr/lib64/libpthread.so.0: error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
> CMakeFiles/multithreaded_client.dir/build.make:95: recipe for target 'multithreaded_client' failed
> make[2]: *** [multithreaded_client] Error 1
> make[2]: Target 'CMakeFiles/multithreaded_client.dir/build' not remade because of errors.
> CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/multithreaded_client.dir/all' failed
> make[1]: *** [CMakeFiles/multithreaded_client.dir/all] Error 2
> [  4%] Linking CXX executable multithreaded_client_flow_control
> /usr/bin/ld: CMakeFiles/multithreaded_client_flow_control.dir/multithreaded_client_flow_control.cpp.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
> /usr/lib64/libpthread.so.0: error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
> CMakeFiles/multithreaded_client_flow_control.dir/build.make:95: recipe for target 'multithreaded_client_flow_control' failed
> make[2]: *** [multithreaded_client_flow_control] Error 1
> make[2]: Target 'CMakeFiles/multithreaded_client_flow_control.dir/build' not remade because of errors.
> CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/multithreaded_client_flow_control.dir/all' failed
> make[1]: *** [CMakeFiles/multithreaded_client_flow_control.dir/all] Error 2
> {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