Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/librtlsdr-v0.5.4/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_071e2/fast" make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/librtlsdr-v0.5.4/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_071e2.dir/build.make CMakeFiles/cmTC_071e2.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/librtlsdr-v0.5.4/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_071e2.dir/CheckFunctionExists.c.o /home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/m68k-linux-gcc --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -o CMakeFiles/cmTC_071e2.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c Linking C executable cmTC_071e2 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_071e2.dir/link.txt --verbose=1 /home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/m68k-linux-gcc --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -Wl,-elf2flt -static CMakeFiles/cmTC_071e2.dir/CheckFunctionExists.c.o -o cmTC_071e2 -rdynamic -lpthreads /home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib/libusb-1.0.a /home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/m68k-buildroot-uclinux-uclibc/bin/ld.real: cannot find -lpthreads collect2: error: ld returned 1 exit status CMakeFiles/cmTC_071e2.dir/build.make:98: recipe for target 'cmTC_071e2' failed make[2]: *** [cmTC_071e2] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/librtlsdr-v0.5.4/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_071e2/fast' failed make[1]: *** [cmTC_071e2/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/librtlsdr-v0.5.4/CMakeFiles/CMakeTmp'