CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY /usr/bin/ld: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/package/012daa2d68455a2ea988cd0a454c7ae371310773/lib/libcppcommon.a(critical_section.cpp.o): in function `CppCommon::CriticalSection::TryLock()': critical_section.cpp:(.text+0x420): undefined reference to `pthread_mutex_trylock' /usr/bin/ld: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/package/012daa2d68455a2ea988cd0a454c7ae371310773/lib/libcppcommon.a(critical_section.cpp.o): in function `CppCommon::CriticalSection::Impl::Impl()': critical_section.cpp:(.text._ZN9CppCommon15CriticalSection4ImplC2Ev[_ZN9CppCommon15CriticalSection4ImplC5Ev]+0x2d): undefined reference to `pthread_mutexattr_init' /usr/bin/ld: critical_section.cpp:(.text._ZN9CppCommon15CriticalSection4ImplC2Ev[_ZN9CppCommon15CriticalSection4ImplC5Ev]+0x42): undefined reference to `pthread_mutexattr_settype' /usr/bin/ld: critical_section.cpp:(.text._ZN9CppCommon15CriticalSection4ImplC2Ev[_ZN9CppCommon15CriticalSection4ImplC5Ev]+0x6b): undefined reference to `pthread_mutexattr_destroy' /usr/bin/ld: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/package/012daa2d68455a2ea988cd0a454c7ae371310773/lib/libcppcommon.a(thread.cpp.o): in function `CppCommon::Thread::GetAffinity()': thread.cpp:(.text+0x135): undefined reference to `pthread_getaffinity_np' /usr/bin/ld: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/package/012daa2d68455a2ea988cd0a454c7ae371310773/lib/libcppcommon.a(thread.cpp.o): in function `CppCommon::Thread::GetAffinity(std::thread&)': thread.cpp:(.text+0x1e0): undefined reference to `pthread_getaffinity_np' /usr/bin/ld: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/package/012daa2d68455a2ea988cd0a454c7ae371310773/lib/libcppcommon.a(thread.cpp.o): in function `CppCommon::Thread::SetAffinity(std::bitset<64ul> const&)': thread.cpp:(.text+0x2cf): undefined reference to `pthread_setaffinity_np' /usr/bin/ld: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/package/012daa2d68455a2ea988cd0a454c7ae371310773/lib/libcppcommon.a(thread.cpp.o): in function `CppCommon::Thread::SetAffinity(std::thread&, std::bitset<64ul> const&)': thread.cpp:(.text+0x387): undefined reference to `pthread_setaffinity_np' /usr/bin/ld: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/package/012daa2d68455a2ea988cd0a454c7ae371310773/lib/libcppcommon.a(thread.cpp.o): in function `CppCommon::Thread::Yield()': thread.cpp:(.text+0x35): undefined reference to `pthread_yield' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/test_package.dir/build.make:84: bin/test_package] Error 1 make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/test_package.dir/all] Error 2 make: *** [Makefile:84: all] Error 2 ERROR: cppcommon/1.0.0.0 (test package): Error in build() method, line 11 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/cci_PR-3224/54/00ad6b47-c7c2-496b-a327-aeb7245c777b/recipes/cppcommon/all/test_package/build/2f43cd53968b0e0a29229f4e5765082a01788a74' '--' '-j3'