On 16-6-2017 00:20, Willem Jan Withagen wrote: > On 15-6-2017 23:36, Willem Jan Withagen wrote: >> On 15-6-2017 23:32, Willem Jan Withagen wrote: >>> On 15-6-2017 16:44, Casey Bodley wrote: >>>> Yeah, this was changed in https://github.com/ceph/ceph/pull/15376. That >>>> Boost::thread string shouldn't be making it to the link line. Can you >>>> share your cmake --version? >>> >>> wjw@cephdev:~/master % cmake --version >>> cmake version 3.6.3 >>> >>> But note that this is FreeBSDS and I'm using the system Boost, v1.64 >>> >>> I'll pull the PR into my jenkins, and see what it brings. >> >> Now I know what you ment #15376 was merged and probably causes this. > > One of the problems might be that the included cmake templates for boost > do not (yet) understand this version: Hi Casey, I was a bit behind on upgrade to newer versions, since there is a rather big API change in FreeBSD 12-CURRENT. And upgrading is a bit tricky. But it is now required to start using pre-build packages, as I found out the hard way. So all packages are now upgraded to the latest release, and this has gone away. So I guess it had to do with the fact that Boost 1.64 was not known in the modules for Cmake (which is now at 3.8.2) Sorry about the noise, --WjW > > ==== > CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:743 > (message): > Imported targets not available for Boost version 106400 > Call Stack (most recent call first): > /usr/local/share/cmake/Modules/FindBoost.cmake:842 > (_Boost_COMPONENT_DEPENDENCIES) > /usr/local/share/cmake/Modules/FindBoost.cmake:1395 > (_Boost_MISSING_DEPENDENCIES) > CMakeLists.txt:553 (find_package) > ==== > > The output of cmake is full of warnings: > ==== > CMake Warning (dev) at src/CMakeLists.txt:694 (add_executable): > Policy CMP0028 is not set: Double colon in target name means ALIAS or > IMPORTED target. Run "cmake --help-policy CMP0028" for policy details. > Use the cmake_policy command to set the policy and suppress this warning. > > Target "librados-config" links to target "Boost::thread" but the > target was > not found. Perhaps a find_package() call is missing for an IMPORTED > target, or an ALIAS target is missing? > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at src/CMakeLists.txt:694 (add_executable): > Policy CMP0028 is not set: Double colon in target name means ALIAS or > IMPORTED target. Run "cmake --help-policy CMP0028" for policy details. > Use the cmake_policy command to set the policy and suppress this warning. > > Target "librados-config" links to target "Boost::system" but the > target was > not found. Perhaps a find_package() call is missing for an IMPORTED > target, or an ALIAS target is missing? > This warning is for project developers. Use -Wno-dev to suppress it. > ==== > > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html