qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Stitcher (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-1747) Building C++ binding fails if proton-c built without openssl and without cyrus-sasl
Date Thu, 18 Jan 2018 23:58:00 GMT

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

Andrew Stitcher commented on PROTON-1747:
-----------------------------------------

This should be a rare build configuration though as I'd say that SSL is pretty much a requirement
nowadays.

> Building C++ binding fails if proton-c built without openssl and without cyrus-sasl
> -----------------------------------------------------------------------------------
>
>                 Key: PROTON-1747
>                 URL: https://issues.apache.org/jira/browse/PROTON-1747
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: cpp-binding
>            Reporter: Andrew Stitcher
>            Priority: Major
>
> Configuring the build so:
> {{cmake -DSSL_IMPL=none -DSASL_IMPL=none ...}}
> Or not having developer versions of the openssl and cyrus-sasl libraries installed causes
the c++ binding library build to fail:
> {{[14/109] Linking CXX shared library proton-c/bindings/cpp/libqpid-proton-cpp.so.11.1.0}}
> {{FAILED: proton-c/bindings/cpp/libqpid-proton-cpp.so.11.1.0 }}
> {{: && /usr/lib64/ccache/c++ -fPIC -fvisibility=hidden -O2 -g -DNDEBUG -Wl,--no-undefined
-shared -Wl,-soname,libqpid-proton-cpp.so.11 -o proton-c/bindings/cpp/libqpid-proton-cpp.so.11.1.0
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/binary.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/byte_array.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/map.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/connection.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/connection_driver.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/connection_options.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/container.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/proactor_container_impl.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/contexts.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/data.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/decimal.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/decoder.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/delivery.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/duration.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/encoder.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/endpoint.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/error.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/error_condition.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/handler.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/link.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/link_namer.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/listener.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/message.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/messaging_adapter.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/node_options.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/object.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/proton_bits.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/receiver.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/receiver_options.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/reconnect_options.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/returned.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/sasl.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/scalar_base.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/sender.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/sender_options.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/session.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/session_options.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/source.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/ssl.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/ssl_domain.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/target.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/terminus.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/timestamp.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/tracker.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/transfer.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/transport.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/type_id.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/url.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/uuid.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/value.cpp.o
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/work_queue.cpp.o -Wl,-rpath,/home/andrew/Work/proton/bld-nossl-nosasl/proton-c:
proton-c/libqpid-proton-proactor.so.1.1.0 proton-c/libqpid-proton-core.so.10.2.0 &&
:}}
> {{proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/proactor_container_impl.cpp.o:
In function `std::thread::thread<void (proton::container::impl::*)(), proton::container::impl*>(void
(proton::container::impl::*&&)(), proton::container::impl*&&)':}}
> {{/usr/include/c++/7/thread:126: undefined reference to `pthread_create'}}
> {{collect2: error: ld returned 1 exit status}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message