Determining if the function dlopen exists failed with the following output: Change Dir: /home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_cf8bf/fast" make[1]: Entering directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_cf8bf.dir/build.make CMakeFiles/cmTC_cf8bf.dir/build make[2]: Entering directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_cf8bf.dir/CheckFunctionExists.c.o /home/peko/autobuild/instance-1/output/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/peko/autobuild/instance-1/output/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCHECK_FUNCTION_EXISTS=dlopen -DNDEBUG -o CMakeFiles/cmTC_cf8bf.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c Linking C executable cmTC_cf8bf /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cf8bf.dir/link.txt --verbose=1 /home/peko/autobuild/instance-1/output/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/peko/autobuild/instance-1/output/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCHECK_FUNCTION_EXISTS=dlopen -DNDEBUG CMakeFiles/cmTC_cf8bf.dir/CheckFunctionExists.c.o -o cmTC_cf8bf -rdynamic CMakeFiles/cmTC_cf8bf.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `dlopen' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_cf8bf.dir/build.make:97: recipe for target 'cmTC_cf8bf' failed make[2]: *** [cmTC_cf8bf] Error 1 make[2]: Leaving directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_cf8bf/fast' failed make[1]: *** [cmTC_cf8bf/fast] Error 2 make[1]: Leaving directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Performing C++ SOURCE FILE Test BOOSTER_HAVE_GCC_BITS_EXCHANGE_AND_ADD failed with the following output: Change Dir: /home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_d3c50/fast" make[1]: Entering directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_d3c50.dir/build.make CMakeFiles/cmTC_d3c50.dir/build make[2]: Entering directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_d3c50.dir/src.cxx.o /home/peko/autobuild/instance-1/output/host/bin/arm-none-linux-gnueabi-g++ --sysroot=/home/peko/autobuild/instance-1/output/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -std=c++11 -Wall -Wextra -DBOOSTER_HAVE_GCC_BITS_EXCHANGE_AND_ADD -DNDEBUG -o CMakeFiles/cmTC_d3c50.dir/src.cxx.o -c /home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp/src.cxx /home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp/src.cxx:1:29: fatal error: bits/atomicity.h: No such file or directory #include ^ compilation terminated. CMakeFiles/cmTC_d3c50.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_d3c50.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_d3c50.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_d3c50/fast' failed make[1]: *** [cmTC_d3c50/fast] Error 2 make[1]: Leaving directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Source file was: #include using __gnu_cxx::__exchange_and_add; int main(){ volatile int x=0; return __exchange_and_add(&x,1);} Performing C++ SOURCE FILE Test BOOSTER_HAVE_FREEBSD_ATOMIC failed with the following output: Change Dir: /home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_1f869/fast" make[1]: Entering directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_1f869.dir/build.make CMakeFiles/cmTC_1f869.dir/build make[2]: Entering directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_1f869.dir/src.cxx.o /home/peko/autobuild/instance-1/output/host/bin/arm-none-linux-gnueabi-g++ --sysroot=/home/peko/autobuild/instance-1/output/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -std=c++11 -Wall -Wextra -DBOOSTER_HAVE_FREEBSD_ATOMIC -DNDEBUG -o CMakeFiles/cmTC_1f869.dir/src.cxx.o -c /home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp/src.cxx /home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp/src.cxx:2:29: fatal error: machine/atomic.h: No such file or directory #include ^ compilation terminated. CMakeFiles/cmTC_1f869.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_1f869.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_1f869.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_1f869/fast' failed make[1]: *** [cmTC_1f869/fast] Error 2 make[1]: Leaving directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Source file was: #include #include int main() { volatile unsigned v=0; return atomic_cmpset_int(&v,1,0); } Performing C++ SOURCE FILE Test BOOSTER_HAVE_SOLARIS_ATOMIC failed with the following output: Change Dir: /home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_29ff8/fast" make[1]: Entering directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_29ff8.dir/build.make CMakeFiles/cmTC_29ff8.dir/build make[2]: Entering directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_29ff8.dir/src.cxx.o /home/peko/autobuild/instance-1/output/host/bin/arm-none-linux-gnueabi-g++ --sysroot=/home/peko/autobuild/instance-1/output/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -std=c++11 -Wall -Wextra -DBOOSTER_HAVE_SOLARIS_ATOMIC -DNDEBUG -o CMakeFiles/cmTC_29ff8.dir/src.cxx.o -c /home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp/src.cxx /home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp/src.cxx:1:20: fatal error: atomic.h: No such file or directory #include ^ compilation terminated. CMakeFiles/cmTC_29ff8.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_29ff8.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_29ff8.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_29ff8/fast' failed make[1]: *** [cmTC_29ff8/fast] Error 2 make[1]: Leaving directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Source file was: #include int main() { volatile unsigned v=0; return atomic_add_int_nv(&v,1); } Performing C++ SOURCE FILE Test BOOSTER_HAVE_MAC_OS_X_ATOMIC failed with the following output: Change Dir: /home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_5936e/fast" make[1]: Entering directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_5936e.dir/build.make CMakeFiles/cmTC_5936e.dir/build make[2]: Entering directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_5936e.dir/src.cxx.o /home/peko/autobuild/instance-1/output/host/bin/arm-none-linux-gnueabi-g++ --sysroot=/home/peko/autobuild/instance-1/output/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -std=c++11 -Wall -Wextra -DBOOSTER_HAVE_MAC_OS_X_ATOMIC -DNDEBUG -o CMakeFiles/cmTC_5936e.dir/src.cxx.o -c /home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp/src.cxx /home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp/src.cxx:1:30: fatal error: libkern/OSAtomic.h: No such file or directory #include ^ compilation terminated. CMakeFiles/cmTC_5936e.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_5936e.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_5936e.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_5936e/fast' failed make[1]: *** [cmTC_5936e/fast] Error 2 make[1]: Leaving directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Source file was: #include int main() { int32_t v=0; return OSAtomicAdd32(1,&v); } Determining if the function _atoi64 exists failed with the following output: Change Dir: /home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_d2cec/fast" make[1]: Entering directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_d2cec.dir/build.make CMakeFiles/cmTC_d2cec.dir/build make[2]: Entering directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d2cec.dir/CheckFunctionExists.c.o /home/peko/autobuild/instance-1/output/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/peko/autobuild/instance-1/output/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCHECK_FUNCTION_EXISTS=_atoi64 -DNDEBUG -o CMakeFiles/cmTC_d2cec.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c Linking C executable cmTC_d2cec /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d2cec.dir/link.txt --verbose=1 /home/peko/autobuild/instance-1/output/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/peko/autobuild/instance-1/output/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCHECK_FUNCTION_EXISTS=_atoi64 -DNDEBUG CMakeFiles/cmTC_d2cec.dir/CheckFunctionExists.c.o -o cmTC_d2cec -rdynamic CMakeFiles/cmTC_d2cec.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `_atoi64' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_d2cec.dir/build.make:97: recipe for target 'cmTC_d2cec' failed make[2]: *** [cmTC_d2cec] Error 1 make[2]: Leaving directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_d2cec/fast' failed make[1]: *** [cmTC_d2cec/fast] Error 2 make[1]: Leaving directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Determining if the function _stat exists failed with the following output: Change Dir: /home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_28597/fast" make[1]: Entering directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_28597.dir/build.make CMakeFiles/cmTC_28597.dir/build make[2]: Entering directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_28597.dir/CheckFunctionExists.c.o /home/peko/autobuild/instance-1/output/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/peko/autobuild/instance-1/output/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCHECK_FUNCTION_EXISTS=_stat -DNDEBUG -o CMakeFiles/cmTC_28597.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c Linking C executable cmTC_28597 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_28597.dir/link.txt --verbose=1 /home/peko/autobuild/instance-1/output/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/peko/autobuild/instance-1/output/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCHECK_FUNCTION_EXISTS=_stat -DNDEBUG CMakeFiles/cmTC_28597.dir/CheckFunctionExists.c.o -o cmTC_28597 -rdynamic CMakeFiles/cmTC_28597.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `_stat' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_28597.dir/build.make:97: recipe for target 'cmTC_28597' failed make[2]: *** [cmTC_28597] Error 1 make[2]: Leaving directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_28597/fast' failed make[1]: *** [cmTC_28597/fast] Error 2 make[1]: Leaving directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Performing C++ SOURCE FILE Test CPPCMS_HAVE_GCC_TYPEOF failed with the following output: Change Dir: /home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_c9641/fast" make[1]: Entering directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_c9641.dir/build.make CMakeFiles/cmTC_c9641.dir/build make[2]: Entering directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_c9641.dir/src.cxx.o /home/peko/autobuild/instance-1/output/host/bin/arm-none-linux-gnueabi-g++ --sysroot=/home/peko/autobuild/instance-1/output/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -std=c++11 -Wall -Wextra -DCPPCMS_HAVE_GCC_TYPEOF -DNDEBUG -o CMakeFiles/cmTC_c9641.dir/src.cxx.o -c /home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp/src.cxx /home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp/src.cxx:2:47: error: 'typeof' was not declared in this scope int main(){std::list l; typeof(l.begin()) p=l.begin();} ^ /home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp/src.cxx:2:49: error: expected ';' before 'p' int main(){std::list l; typeof(l.begin()) p=l.begin();} ^ CMakeFiles/cmTC_c9641.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_c9641.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_c9641.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_c9641/fast' failed make[1]: *** [cmTC_c9641/fast] Error 2 make[1]: Leaving directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Source file was: #include int main(){std::list l; typeof(l.begin()) p=l.begin();} Determining if the function dlopen exists failed with the following output: Change Dir: /home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_53f90/fast" make[1]: Entering directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_53f90.dir/build.make CMakeFiles/cmTC_53f90.dir/build make[2]: Entering directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_53f90.dir/CheckFunctionExists.c.o /home/peko/autobuild/instance-1/output/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/peko/autobuild/instance-1/output/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCHECK_FUNCTION_EXISTS=dlopen -DNDEBUG -o CMakeFiles/cmTC_53f90.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c Linking C executable cmTC_53f90 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_53f90.dir/link.txt --verbose=1 /home/peko/autobuild/instance-1/output/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/peko/autobuild/instance-1/output/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCHECK_FUNCTION_EXISTS=dlopen -DNDEBUG CMakeFiles/cmTC_53f90.dir/CheckFunctionExists.c.o -o cmTC_53f90 -rdynamic CMakeFiles/cmTC_53f90.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `dlopen' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_53f90.dir/build.make:97: recipe for target 'cmTC_53f90' failed make[2]: *** [cmTC_53f90] Error 1 make[2]: Leaving directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_53f90/fast' failed make[1]: *** [cmTC_53f90/fast] Error 2 make[1]: Leaving directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Determining if the function pthread_mutexattr_setpshared exists failed with the following output: Change Dir: /home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_7f2f6/fast" make[1]: Entering directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_7f2f6.dir/build.make CMakeFiles/cmTC_7f2f6.dir/build make[2]: Entering directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_7f2f6.dir/CheckFunctionExists.c.o /home/peko/autobuild/instance-1/output/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/peko/autobuild/instance-1/output/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCHECK_FUNCTION_EXISTS=pthread_mutexattr_setpshared -DNDEBUG -o CMakeFiles/cmTC_7f2f6.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c Linking C executable cmTC_7f2f6 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7f2f6.dir/link.txt --verbose=1 /home/peko/autobuild/instance-1/output/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/peko/autobuild/instance-1/output/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCHECK_FUNCTION_EXISTS=pthread_mutexattr_setpshared -DNDEBUG CMakeFiles/cmTC_7f2f6.dir/CheckFunctionExists.c.o -o cmTC_7f2f6 -rdynamic CMakeFiles/cmTC_7f2f6.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `pthread_mutexattr_setpshared' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_7f2f6.dir/build.make:97: recipe for target 'cmTC_7f2f6' failed make[2]: *** [cmTC_7f2f6] Error 1 make[2]: Leaving directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_7f2f6/fast' failed make[1]: *** [cmTC_7f2f6/fast] Error 2 make[1]: Leaving directory '/home/peko/autobuild/instance-1/output/build/cppcms-1.0.5/CMakeFiles/CMakeTmp'