Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/librtlsdr-v0.5.4/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_050f0/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/librtlsdr-v0.5.4/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_050f0.dir/build.make CMakeFiles/cmTC_050f0.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/librtlsdr-v0.5.4/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_050f0.dir/CheckFunctionExists.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/arm-buildroot-uclinux-uclibcgnueabi/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_050f0.dir/CheckFunctionExists.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_050f0 /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_050f0.dir/link.txt --verbose=1 /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/arm-buildroot-uclinux-uclibcgnueabi/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 -rdynamic CMakeFiles/cmTC_050f0.dir/CheckFunctionExists.c.o -o cmTC_050f0 -lpthreads /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/lib/libusb-1.0.a /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: cannot find -lpthreads collect2: error: ld returned 1 exit status gmake[2]: *** [cmTC_050f0] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/librtlsdr-v0.5.4/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_050f0/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/librtlsdr-v0.5.4/CMakeFiles/CMakeTmp'