Determining if the include file pthread.h exists failed with the following output: Change Dir: /home/naourr/work/instance-2/output/build/optee-client-3.4.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_cc132/fast" gmake[1]: Entering directory '/home/naourr/work/instance-2/output/build/optee-client-3.4.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_cc132.dir/build.make CMakeFiles/cmTC_cc132.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-2/output/build/optee-client-3.4.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_cc132.dir/CheckIncludeFile.c.o /home/naourr/work/instance-2/output/host/bin/arm-linux-gcc --sysroot=/home/naourr/work/instance-2/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_cc132.dir/CheckIncludeFile.c.o -c /home/naourr/work/instance-2/output/build/optee-client-3.4.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/naourr/work/instance-2/output/build/optee-client-3.4.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: pthread.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_cc132.dir/build.make:66: CMakeFiles/cmTC_cc132.dir/CheckIncludeFile.c.o] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-2/output/build/optee-client-3.4.0/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:121: cmTC_cc132/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-2/output/build/optee-client-3.4.0/CMakeFiles/CMakeTmp'