Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /home/naourr/work/instance-3/output/build/librtlsdr-v0.5.4/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_8e805/fast" gmake[1]: Entering directory '/home/naourr/work/instance-3/output/build/librtlsdr-v0.5.4/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_8e805.dir/build.make CMakeFiles/cmTC_8e805.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-3/output/build/librtlsdr-v0.5.4/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8e805.dir/CheckFunctionExists.c.o /home/naourr/work/instance-3/output/host/bin/arm-linux-gcc --sysroot=/home/naourr/work/instance-3/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -o CMakeFiles/cmTC_8e805.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_8e805 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8e805.dir/link.txt --verbose=1 /home/naourr/work/instance-3/output/host/bin/arm-linux-gcc --sysroot=/home/naourr/work/instance-3/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -static -rdynamic CMakeFiles/cmTC_8e805.dir/CheckFunctionExists.c.o -o cmTC_8e805 -lpthreads /home/naourr/work/instance-3/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libusb-1.0.a /home/naourr/work/instance-3/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/6.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_8e805.dir/build.make:88: cmTC_8e805] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-3/output/build/librtlsdr-v0.5.4/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:126: cmTC_8e805/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-3/output/build/librtlsdr-v0.5.4/CMakeFiles/CMakeTmp'