You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2017/10/06 21:56:00 UTC
[jira] [Updated] (PROTON-1597) Warnings when executing cmake in the
examples/c directory
[ https://issues.apache.org/jira/browse/PROTON-1597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Ross updated PROTON-1597:
--------------------------------
Component/s: proton-c
> Warnings when executing cmake in the examples/c directory
> ---------------------------------------------------------
>
> Key: PROTON-1597
> URL: https://issues.apache.org/jira/browse/PROTON-1597
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-c
> Affects Versions: proton-c-0.18.0
> Reporter: Irina Boverman
>
> docker run -it fedora:latest bash
> dnf -y update
> dnf -y install make gcc gcc-c++ cmake git valgrind swig pkgconfig doxygen libuuid-devel openssl-devel python-devel python3 python3-devel ruby-devel perl-devel epydoc python cyrus-sasl-devel cyrus-sasl-lib cyrus-sasl-gssapi cyrus-sasl-plain cyrus-sasl-md5 rubygem-rspec rubygem-simplecov rubygem-minitest rubygem-test-unit python2-tox redhat-rpm-config libuv-devel libuv python-pip
> git clone ...qpid-proton.git proton
> cd proton
> cmake .
> make
> make install
>
> cd /usr/local/share/proton-0.18.0/examples
> cd c
> cmake .
> RESULTS IN:
> ...
> CMake Warning (dev) in CMakeLists.txt:
> No cmake_minimum_required command is present. A line of code such as
> cmake_minimum_required(VERSION 3.9)
> should be added at the top of the file. The version specified may be lower
> if you wish to support older CMake versions for this project. For more
> information run "cmake --help-policy CMP0000".
> This warning is for project developers. Use -Wno-dev to suppress it.
> -- Configuring done
> CMake Warning (dev) at CMakeLists.txt:41 (add_executable):
> Policy CMP0003 should be set before this line. Add code such as
> if(COMMAND cmake_policy)
> cmake_policy(SET CMP0003 NEW)
> endif(COMMAND cmake_policy)
> as early as possible but after the most recent call to
> cmake_minimum_required or cmake_policy(VERSION). This warning appears
> because target "c-send" links to some libraries for which the linker must
> search:
> -lpthread
> and other libraries with known full path:
> /usr/local/lib64/libqpid-proton-proactor.so
> CMake is adding directories in the second list to the linker search path in
> case they are needed to find libraries from the first list (for backwards
> compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to enable
> or disable this behavior explicitly. Run "cmake --help-policy CMP0003" for
> more information.
> This warning is for project developers. Use -Wno-dev to suppress it.
> -- Generating done
> -- Build files have been written to: /usr/local/share/proton-0.18.0/examples/c
--
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