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/235188a7faf0785845cf5949b7dcbb1a65c28a10/lib/libcppcommon.a(critical_section.cpp.o): in function `CppCommon::CriticalSection::Impl::Impl()': /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/235188a7faf0785845cf5949b7dcbb1a65c28a10/source_subfolder/source/threads/critical_section.cpp:32: undefined reference to `pthread_mutexattr_init' /usr/bin/ld: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/235188a7faf0785845cf5949b7dcbb1a65c28a10/source_subfolder/source/threads/critical_section.cpp:35: undefined reference to `pthread_mutexattr_settype' /usr/bin/ld: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/235188a7faf0785845cf5949b7dcbb1a65c28a10/source_subfolder/source/threads/critical_section.cpp:41: undefined reference to `pthread_mutexattr_destroy' /usr/bin/ld: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/package/235188a7faf0785845cf5949b7dcbb1a65c28a10/lib/libcppcommon.a(critical_section.cpp.o): in function `CppCommon::CriticalSection::Impl::TryLock()': /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/235188a7faf0785845cf5949b7dcbb1a65c28a10/source_subfolder/source/threads/critical_section.cpp:68: undefined reference to `pthread_mutex_trylock' /usr/bin/ld: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/package/235188a7faf0785845cf5949b7dcbb1a65c28a10/lib/libcppcommon.a(thread.cpp.o): in function `CppCommon::Thread::Yield()': /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/235188a7faf0785845cf5949b7dcbb1a65c28a10/source_subfolder/source/threads/thread.cpp:148: undefined reference to `pthread_yield' /usr/bin/ld: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/package/235188a7faf0785845cf5949b7dcbb1a65c28a10/lib/libcppcommon.a(thread.cpp.o): in function `CppCommon::Thread::GetAffinity()': /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/235188a7faf0785845cf5949b7dcbb1a65c28a10/source_subfolder/source/threads/thread.cpp:161: undefined reference to `pthread_getaffinity_np' /usr/bin/ld: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/package/235188a7faf0785845cf5949b7dcbb1a65c28a10/lib/libcppcommon.a(thread.cpp.o): in function `CppCommon::Thread::GetAffinity(std::thread&)': /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/235188a7faf0785845cf5949b7dcbb1a65c28a10/source_subfolder/source/threads/thread.cpp:212: undefined reference to `pthread_getaffinity_np' /usr/bin/ld: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/package/235188a7faf0785845cf5949b7dcbb1a65c28a10/lib/libcppcommon.a(thread.cpp.o): in function `CppCommon::Thread::SetAffinity(std::bitset<64ul> const&)': /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/235188a7faf0785845cf5949b7dcbb1a65c28a10/source_subfolder/source/threads/thread.cpp:268: undefined reference to `pthread_setaffinity_np' /usr/bin/ld: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/package/235188a7faf0785845cf5949b7dcbb1a65c28a10/lib/libcppcommon.a(thread.cpp.o): in function `CppCommon::Thread::SetAffinity(std::thread&, std::bitset<64ul> const&)': /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/235188a7faf0785845cf5949b7dcbb1a65c28a10/source_subfolder/source/threads/thread.cpp:290: undefined reference to `pthread_setaffinity_np' 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/48/220fabb9-6337-4ff9-b84a-b833441844f2/recipes/cppcommon/all/test_package/build/93c7d7120cbbed886a0f0fd41ccd3336561a8574' '--' '-j3'