CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY /usr/bin/ld: /home/conan/w/cci_PR-4134/.conan/data/usrsctp/0.9.4.0/_/_/package/6d87124bcf4cc4435e13c44634d61b77404bef31/lib/libusrsctp.a(user_socket.c.o): in function `usrsctp_init': user_socket.c:(.text+0x16): undefined reference to `pthread_mutexattr_init' /usr/bin/ld: user_socket.c:(.text+0x2d): undefined reference to `pthread_mutexattr_destroy' /usr/bin/ld: /home/conan/w/cci_PR-4134/.conan/data/usrsctp/0.9.4.0/_/_/package/6d87124bcf4cc4435e13c44634d61b77404bef31/lib/libusrsctp.a(user_socket.c.o): in function `usrsctp_init_nothreads': user_socket.c:(.text+0x76): undefined reference to `pthread_mutexattr_init' /usr/bin/ld: user_socket.c:(.text+0x8d): undefined reference to `pthread_mutexattr_destroy' /usr/bin/ld: /home/conan/w/cci_PR-4134/.conan/data/usrsctp/0.9.4.0/_/_/package/6d87124bcf4cc4435e13c44634d61b77404bef31/lib/libusrsctp.a(user_socket.c.o): in function `usrsctp_finish': user_socket.c:(.text+0x2a63): undefined reference to `pthread_mutex_trylock' /usr/bin/ld: /home/conan/w/cci_PR-4134/.conan/data/usrsctp/0.9.4.0/_/_/package/6d87124bcf4cc4435e13c44634d61b77404bef31/lib/libusrsctp.a(user_socket.c.o): in function `userspace_finish': user_socket.c:(.text+0x2ad3): undefined reference to `pthread_mutex_trylock' /usr/bin/ld: /home/conan/w/cci_PR-4134/.conan/data/usrsctp/0.9.4.0/_/_/package/6d87124bcf4cc4435e13c44634d61b77404bef31/lib/libusrsctp.a(sctp_callout.c.o): in function `sctp_stop_timer_thread': sctp_callout.c:(.text+0x439): undefined reference to `pthread_join' /usr/bin/ld: /home/conan/w/cci_PR-4134/.conan/data/usrsctp/0.9.4.0/_/_/package/6d87124bcf4cc4435e13c44634d61b77404bef31/lib/libusrsctp.a(sctp_output.c.o): in function `sctp_lower_sosend': sctp_output.c:(.text+0x13f69): undefined reference to `pthread_mutex_trylock' /usr/bin/ld: sctp_output.c:(.text+0x14817): undefined reference to `pthread_mutex_trylock' /usr/bin/ld: /home/conan/w/cci_PR-4134/.conan/data/usrsctp/0.9.4.0/_/_/package/6d87124bcf4cc4435e13c44634d61b77404bef31/lib/libusrsctp.a(sctp_pcb.c.o): in function `sctp_pcb_init': sctp_pcb.c:(.text+0x93e3): undefined reference to `pthread_mutexattr_init' /usr/bin/ld: /home/conan/w/cci_PR-4134/.conan/data/usrsctp/0.9.4.0/_/_/package/6d87124bcf4cc4435e13c44634d61b77404bef31/lib/libusrsctp.a(sctp_pcb.c.o): in function `sctp_pcb_finish': sctp_pcb.c:(.text+0x9696): undefined reference to `pthread_join' /usr/bin/ld: sctp_pcb.c:(.text+0x96bb): undefined reference to `pthread_mutexattr_destroy' /usr/bin/ld: /home/conan/w/cci_PR-4134/.conan/data/usrsctp/0.9.4.0/_/_/package/6d87124bcf4cc4435e13c44634d61b77404bef31/lib/libusrsctp.a(sctp_userspace.c.o): in function `sctp_userspace_thread_create': sctp_userspace.c:(.text+0x8): undefined reference to `pthread_create' /usr/bin/ld: /home/conan/w/cci_PR-4134/.conan/data/usrsctp/0.9.4.0/_/_/package/6d87124bcf4cc4435e13c44634d61b77404bef31/lib/libusrsctp.a(user_recv_thread.c.o): in function `recv_thread_destroy': user_recv_thread.c:(.text+0x1c4c): undefined reference to `pthread_join' /usr/bin/ld: user_recv_thread.c:(.text+0x1c74): undefined reference to `pthread_join' /usr/bin/ld: user_recv_thread.c:(.text+0x1c9c): undefined reference to `pthread_join' /usr/bin/ld: user_recv_thread.c:(.text+0x1cc5): undefined reference to `pthread_join' clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [CMakeFiles/test_package.dir/build.make:104: bin/test_package] Error 1 make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/test_package.dir/all] Error 2 make: *** [Makefile:103: all] Error 2 ERROR: usrsctp/0.9.4.0 (test package): Error in build() method, line 13 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/cci_PR-4134/14/fcdf15f0-9ccc-493f-a4d6-00acb83fbcd1/recipes/usrsctp/all/test_package/build/75befc96556529959687781464bb821bec38919e' '--' '-j3'