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