Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /home/buildroot/build/instance-0/output/build/librtlsdr-v0.5.4/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_0661f/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/librtlsdr-v0.5.4/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_0661f.dir/build.make CMakeFiles/cmTC_0661f.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/librtlsdr-v0.5.4/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0661f.dir/CheckFunctionExists.c.o /home/buildroot/build/instance-0/output/host/bin/arm-linux-gcc --sysroot=/home/buildroot/build/instance-0/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_0661f.dir/CheckFunctionExists.c.o -c /home/buildroot/build/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_0661f /home/buildroot/build/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0661f.dir/link.txt --verbose=1 /home/buildroot/build/instance-0/output/host/bin/arm-linux-gcc --sysroot=/home/buildroot/build/instance-0/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_0661f.dir/CheckFunctionExists.c.o -o cmTC_0661f -lpthreads /home/buildroot/build/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libusb-1.0.a /home/buildroot/build/instance-0/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 CMakeFiles/cmTC_0661f.dir/build.make:98: recipe for target 'cmTC_0661f' failed make[2]: *** [cmTC_0661f] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/librtlsdr-v0.5.4/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_0661f/fast' failed make[1]: *** [cmTC_0661f/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/instance-0/output/build/librtlsdr-v0.5.4/CMakeFiles/CMakeTmp'