Determining if the pthread_create exist failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_f6c7a/fast" make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_f6c7a.dir/build.make CMakeFiles/cmTC_f6c7a.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f6c7a.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-2/output/host/bin/powerpc64le-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/powerpc64le-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_f6c7a.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_f6c7a /home/buildroot/autobuild/run/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f6c7a.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-2/output/host/bin/powerpc64le-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/powerpc64le-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -rdynamic CMakeFiles/cmTC_f6c7a.dir/CheckSymbolExists.c.o -o cmTC_f6c7a CMakeFiles/cmTC_f6c7a.dir/CheckSymbolExists.c.o:(.toc+0x0): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_f6c7a.dir/build.make:97: recipe for target 'cmTC_f6c7a' failed make[2]: *** [cmTC_f6c7a] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_f6c7a/fast' failed make[1]: *** [cmTC_f6c7a/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef pthread_create return ((int*)(&pthread_create))[argc]; #else (void)argc; return 0; #endif } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_39343/fast" make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_39343.dir/build.make CMakeFiles/cmTC_39343.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_39343.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-2/output/host/bin/powerpc64le-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/powerpc64le-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -o CMakeFiles/cmTC_39343.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-2/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_39343 /home/buildroot/autobuild/run/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_39343.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-2/output/host/bin/powerpc64le-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/powerpc64le-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -rdynamic CMakeFiles/cmTC_39343.dir/CheckFunctionExists.c.o -o cmTC_39343 -lpthreads /home/buildroot/autobuild/run/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64le-buildroot-linux-gnu/7.4.0/../../../../powerpc64le-buildroot-linux-gnu/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status CMakeFiles/cmTC_39343.dir/build.make:97: recipe for target 'cmTC_39343' failed make[2]: *** [cmTC_39343] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_39343/fast' failed make[1]: *** [cmTC_39343/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' Determining if files xlocale.h exist failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_edbc2/fast" make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_edbc2.dir/build.make CMakeFiles/cmTC_edbc2.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_edbc2.dir/CheckIncludeFiles.c.o /home/buildroot/autobuild/run/instance-2/output/host/bin/powerpc64le-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/powerpc64le-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_edbc2.dir/CheckIncludeFiles.c.o -c /home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp/CheckIncludeFiles.c /home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp/CheckIncludeFiles.c:2:10: fatal error: xlocale.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. CMakeFiles/cmTC_edbc2.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_edbc2.dir/CheckIncludeFiles.c.o' failed make[2]: *** [CMakeFiles/cmTC_edbc2.dir/CheckIncludeFiles.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_edbc2/fast' failed make[1]: *** [cmTC_edbc2/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' Source: /* */ #include int main(void){return 0;} Performing C++ SOURCE FILE Test _SSL_LEAK_SUPPRESS_AVAILABLE failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_f4122/fast" make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_f4122.dir/build.make CMakeFiles/cmTC_f4122.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_f4122.dir/src.cxx.o /home/buildroot/autobuild/run/instance-2/output/host/bin/powerpc64le-linux-g++ --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/powerpc64le-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -latomic -std=c++11 -fno-strict-aliasing -D_SSL_LEAK_SUPPRESS_AVAILABLE -DNDEBUG -o CMakeFiles/cmTC_f4122.dir/src.cxx.o -c /home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp/src.cxx In file included from /home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp/src.cxx:2:0: /home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp/src.cxx:5:9: error: expected id-expression before 'while' ::SSL_COMP_free_compression_methods(); ^ CMakeFiles/cmTC_f4122.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_f4122.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_f4122.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_f4122/fast' failed make[1]: *** [cmTC_f4122/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output/build/libcpprestsdk-v2.10.12/Release/CMakeFiles/CMakeTmp' Source file was: #include int main() { ::SSL_COMP_free_compression_methods(); }