You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Irina Boverman (JIRA)" <ji...@apache.org> on 2017/04/05 18:27:41 UTC
[jira] [Commented] (PROTON-1455) Problem building on Ubuntu xenial
with g++
[ https://issues.apache.org/jira/browse/PROTON-1455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15957385#comment-15957385 ]
Irina Boverman commented on PROTON-1455:
----------------------------------------
Installed these packages:
+ apt-get -y install software-properties-common make cmake gcc g++ git valgrind swig doxygen uuid uuid-dev libuuid1 openssl libssl-dev libssl1.0.0 python python-dev libpython-dev python3 python3-dev libpython3-dev ruby libruby ruby-dev perl libperl-dev python-epydoc libsasl2-2 libsasl2-modules libsasl2-dev cyrus-common-2.4 cyrus-dev-2.4 libsasl2-modules-sql libapache2-mod-authn-sasl libsasl2-modules-db ruby-rspec ruby-simplecov python-pip
> Problem building on Ubuntu xenial with g++
> ------------------------------------------
>
> Key: PROTON-1455
> URL: https://issues.apache.org/jira/browse/PROTON-1455
> Project: Qpid Proton
> Issue Type: Bug
> Components: build
> Reporter: Irina Boverman
>
> 31%] Building CXX object proton-c/CMakeFiles/qpid-proton.dir/src/messenger/transform.c.o
> cd /proton/build/proton-c && /usr/bin/c++ -std=c++11 -Dqpid_proton_EXPORTS -I/proton/build/proton-c/src -I/proton/build/proton-c/include -I/proton/proton-c/src -I/proton/proton-c/include -fvisibility=hidden -O2 -g -DNDEBUG -fPIC -Werror -Wall -pedantic-errors -Wno-format -Wno-variadic-macros -o CMakeFiles/qpid-proton.dir/src/messenger/transform.c.o -c /proton/proton-c/src/messenger/transform.c
> [ 31%] Building CXX object proton-c/CMakeFiles/qpid-proton.dir/src/platform/platform.c.o
> cd /proton/build/proton-c && /usr/bin/c++ -std=c++11 -Dqpid_proton_EXPORTS -DUSE_ATOLL -DUSE_CLOCK_GETTIME -DUSE_STRERROR_R -I/proton/build/proton-c/src -I/proton/build/proton-c/include -I/proton/proton-c/src -I/proton/proton-c/include -fvisibility=hidden -O2 -g -DNDEBUG -fPIC -Werror -Wall -pedantic-errors -Wno-format -Wno-variadic-macros -o CMakeFiles/qpid-proton.dir/src/platform/platform.c.o -c /proton/proton-c/src/platform/platform.c
> /proton/proton-c/src/platform/platform.c: In function 'void pn_i_strerror(int, char*, size_t)':
> /proton/proton-c/src/platform/platform.c:92:34: error: ignoring return value of 'char* strerror_r(int, char*, size_t)', declared with attribute warn_unused_result [-Werror=unused-result]
> strerror_r(errnum, buf, buflen);
> ^
> cc1plus: all warnings being treated as errors
> proton-c/CMakeFiles/qpid-proton.dir/build.make:1081: recipe for target 'proton-c/CMakeFiles/qpid-proton.dir/src/platform/platform.c.o' failed
> make[2]: Leaving directory '/proton/build'
> make[2]: *** [proton-c/CMakeFiles/qpid-proton.dir/src/platform/platform.c.o] Error 1
--
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