Performing C++ SOURCE FILE Test BOOSTER_HAVE_GCC_BITS_EXCHANGE_AND_ADD failed with the following output: Change Dir: /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_545d9/fast && gmake[1]: Entering directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_545d9.dir/build.make CMakeFiles/cmTC_545d9.dir/build gmake[2]: Entering directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_545d9.dir/src.cxx.o /home/br-user/work/instance-0/output-1/host/bin/arm-linux-g++ --sysroot=/home/br-user/work/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -DBOOSTER_HAVE_GCC_BITS_EXCHANGE_AND_ADD -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Wall -Wextra -DNDEBUG -o CMakeFiles/cmTC_545d9.dir/src.cxx.o -c /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp/src.cxx /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp/src.cxx:1:10: fatal error: bits/atomicity.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_545d9.dir/build.make:78: CMakeFiles/cmTC_545d9.dir/src.cxx.o] Error 1 gmake[2]: Leaving directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_545d9/fast] Error 2 gmake[1]: Leaving directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/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/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_48028/fast && gmake[1]: Entering directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_48028.dir/build.make CMakeFiles/cmTC_48028.dir/build gmake[2]: Entering directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_48028.dir/src.cxx.o /home/br-user/work/instance-0/output-1/host/bin/arm-linux-g++ --sysroot=/home/br-user/work/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -DBOOSTER_HAVE_FREEBSD_ATOMIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Wall -Wextra -DNDEBUG -o CMakeFiles/cmTC_48028.dir/src.cxx.o -c /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp/src.cxx /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp/src.cxx:2:18: fatal error: machine/atomic.h: No such file or directory 2 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_48028.dir/build.make:78: CMakeFiles/cmTC_48028.dir/src.cxx.o] Error 1 gmake[2]: Leaving directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_48028/fast] Error 2 gmake[1]: Leaving directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/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_UNWIND_BACKTRACE failed with the following output: Change Dir: /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_8f27b/fast && gmake[1]: Entering directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_8f27b.dir/build.make CMakeFiles/cmTC_8f27b.dir/build gmake[2]: Entering directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_8f27b.dir/src.cxx.o /home/br-user/work/instance-0/output-1/host/bin/arm-linux-g++ --sysroot=/home/br-user/work/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -DBOOSTER_HAVE_UNWIND_BACKTRACE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Wall -Wextra -DNDEBUG -o CMakeFiles/cmTC_8f27b.dir/src.cxx.o -c /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTC_8f27b /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8f27b.dir/link.txt --verbose=1 /home/br-user/work/instance-0/output-1/host/bin/arm-linux-g++ --sysroot=/home/br-user/work/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Wall -Wextra -DNDEBUG CMakeFiles/cmTC_8f27b.dir/src.cxx.o -o cmTC_8f27b /home/br-user/work/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-gnueabihf/11.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: CMakeFiles/cmTC_8f27b.dir/src.cxx.o: in function `main': src.cxx:(.text.startup+0x14): undefined reference to `_Unwind_GetIP' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_8f27b.dir/build.make:99: cmTC_8f27b] Error 1 gmake[2]: Leaving directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_8f27b/fast] Error 2 gmake[1]: Leaving directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' Source file was: #include #include #include #include #include #include #include #ifdef __GNUC__ #include #endif extern "C" { extern void* _Unwind_GetIP (void *); extern int _Unwind_Backtrace(int (*)(void *,void *),void *); } int main() { _Unwind_Backtrace(0,0); _Unwind_GetIP(0); } Performing C++ SOURCE FILE Test BOOSTER_HAVE_UNWIND_BACKTRACE_BUILTIN failed with the following output: Change Dir: /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_4fe82/fast && gmake[1]: Entering directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_4fe82.dir/build.make CMakeFiles/cmTC_4fe82.dir/build gmake[2]: Entering directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_4fe82.dir/src.cxx.o /home/br-user/work/instance-0/output-1/host/bin/arm-linux-g++ --sysroot=/home/br-user/work/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -DBOOSTER_HAVE_UNWIND_BACKTRACE_BUILTIN -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Wall -Wextra -DNDEBUG -o CMakeFiles/cmTC_4fe82.dir/src.cxx.o -c /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp/src.cxx /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp/src.cxx:16:62: error: '_Unwind_Context' was not declared in this scope 16 | int main() { _Unwind_Backtrace(0,0); _Unwind_GetIP((_Unwind_Context *)0); } | ^~~~~~~~~~~~~~~ /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp/src.cxx:16:79: error: expected primary-expression before ')' token 16 | int main() { _Unwind_Backtrace(0,0); _Unwind_GetIP((_Unwind_Context *)0); } | ^ /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp/src.cxx:16:47: error: '_Unwind_GetIP' was not declared in this scope 16 | int main() { _Unwind_Backtrace(0,0); _Unwind_GetIP((_Unwind_Context *)0); } | ^~~~~~~~~~~~~ gmake[2]: *** [CMakeFiles/cmTC_4fe82.dir/build.make:78: CMakeFiles/cmTC_4fe82.dir/src.cxx.o] Error 1 gmake[2]: Leaving directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_4fe82/fast] Error 2 gmake[1]: Leaving directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' Source file was: #include #include #include #include #include #include #include #ifdef __GNUC__ #include #endif extern "C" { extern int _Unwind_Backtrace(int (*)(void *,void *),void *); } int main() { _Unwind_Backtrace(0,0); _Unwind_GetIP((_Unwind_Context *)0); } Performing C++ SOURCE FILE Test BOOSTER_HAVE_SOLARIS_ATOMIC failed with the following output: Change Dir: /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_4e22f/fast && gmake[1]: Entering directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_4e22f.dir/build.make CMakeFiles/cmTC_4e22f.dir/build gmake[2]: Entering directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_4e22f.dir/src.cxx.o /home/br-user/work/instance-0/output-1/host/bin/arm-linux-g++ --sysroot=/home/br-user/work/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -DBOOSTER_HAVE_SOLARIS_ATOMIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Wall -Wextra -DNDEBUG -o CMakeFiles/cmTC_4e22f.dir/src.cxx.o -c /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp/src.cxx /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp/src.cxx:1:10: fatal error: atomic.h: No such file or directory 1 | #include | ^~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_4e22f.dir/build.make:78: CMakeFiles/cmTC_4e22f.dir/src.cxx.o] Error 1 gmake[2]: Leaving directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_4e22f/fast] Error 2 gmake[1]: Leaving directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/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/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_89d8b/fast && gmake[1]: Entering directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_89d8b.dir/build.make CMakeFiles/cmTC_89d8b.dir/build gmake[2]: Entering directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_89d8b.dir/src.cxx.o /home/br-user/work/instance-0/output-1/host/bin/arm-linux-g++ --sysroot=/home/br-user/work/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -DBOOSTER_HAVE_MAC_OS_X_ATOMIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Wall -Wextra -DNDEBUG -o CMakeFiles/cmTC_89d8b.dir/src.cxx.o -c /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp/src.cxx /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp/src.cxx:1:10: fatal error: libkern/OSAtomic.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_89d8b.dir/build.make:78: CMakeFiles/cmTC_89d8b.dir/src.cxx.o] Error 1 gmake[2]: Leaving directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_89d8b/fast] Error 2 gmake[1]: Leaving directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' Source file was: #include int main() { int32_t v=0; return OSAtomicAdd32(1,&v); } Performing C++ SOURCE FILE Test HAVE_WINDOWS6_API failed with the following output: Change Dir: /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_53930/fast && gmake[1]: Entering directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_53930.dir/build.make CMakeFiles/cmTC_53930.dir/build gmake[2]: Entering directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_53930.dir/src.cxx.o /home/br-user/work/instance-0/output-1/host/bin/arm-linux-g++ --sysroot=/home/br-user/work/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -DHAVE_WINDOWS6_API -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Wall -Wextra -DNDEBUG -o CMakeFiles/cmTC_53930.dir/src.cxx.o -c /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp/src.cxx /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp/src.cxx:5:26: fatal error: windows.h: No such file or directory 5 | #include | ^~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_53930.dir/build.make:78: CMakeFiles/cmTC_53930.dir/src.cxx.o] Error 1 gmake[2]: Leaving directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_53930/fast] Error 2 gmake[1]: Leaving directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' Source file was: #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x600 #endif #include int main(){ SRWLOCK l; InitializeSRWLock(&l); } Determining if the function _atoi64 exists failed with the following output: Change Dir: /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_76007/fast && gmake[1]: Entering directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_76007.dir/build.make CMakeFiles/cmTC_76007.dir/build gmake[2]: Entering directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_76007.dir/CheckFunctionExists.c.o /home/br-user/work/instance-0/output-1/host/bin/arm-linux-gcc --sysroot=/home/br-user/work/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Wall -Wextra -DCHECK_FUNCTION_EXISTS=_atoi64 -DNDEBUG -o CMakeFiles/cmTC_76007.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_76007 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_76007.dir/link.txt --verbose=1 /home/br-user/work/instance-0/output-1/host/bin/arm-linux-gcc --sysroot=/home/br-user/work/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Wall -Wextra -DCHECK_FUNCTION_EXISTS=_atoi64 -DNDEBUG CMakeFiles/cmTC_76007.dir/CheckFunctionExists.c.o -o cmTC_76007 /home/br-user/work/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-gnueabihf/11.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: CMakeFiles/cmTC_76007.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `_atoi64' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_76007.dir/build.make:99: cmTC_76007] Error 1 gmake[2]: Leaving directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_76007/fast] Error 2 gmake[1]: Leaving directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' Determining if the function _stat exists failed with the following output: Change Dir: /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_08022/fast && gmake[1]: Entering directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_08022.dir/build.make CMakeFiles/cmTC_08022.dir/build gmake[2]: Entering directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_08022.dir/CheckFunctionExists.c.o /home/br-user/work/instance-0/output-1/host/bin/arm-linux-gcc --sysroot=/home/br-user/work/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Wall -Wextra -DCHECK_FUNCTION_EXISTS=_stat -DNDEBUG -o CMakeFiles/cmTC_08022.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_08022 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_08022.dir/link.txt --verbose=1 /home/br-user/work/instance-0/output-1/host/bin/arm-linux-gcc --sysroot=/home/br-user/work/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Wall -Wextra -DCHECK_FUNCTION_EXISTS=_stat -DNDEBUG CMakeFiles/cmTC_08022.dir/CheckFunctionExists.c.o -o cmTC_08022 /home/br-user/work/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-gnueabihf/11.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: CMakeFiles/cmTC_08022.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `_stat' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_08022.dir/build.make:99: cmTC_08022] Error 1 gmake[2]: Leaving directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_08022/fast] Error 2 gmake[1]: Leaving directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' Performing C++ SOURCE FILE Test CPPCMS_HAVE_FSEEKI64 failed with the following output: Change Dir: /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_5b478/fast && gmake[1]: Entering directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_5b478.dir/build.make CMakeFiles/cmTC_5b478.dir/build gmake[2]: Entering directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_5b478.dir/src.cxx.o /home/br-user/work/instance-0/output-1/host/bin/arm-linux-g++ --sysroot=/home/br-user/work/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -DCPPCMS_HAVE_FSEEKI64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Wall -Wextra -DNDEBUG -o CMakeFiles/cmTC_5b478.dir/src.cxx.o -c /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp/src.cxx /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp/src.cxx:3:11: error: '_fseeki64' was not declared in this scope; did you mean 'fseeko64'? 3 | { _fseeki64(0,0,0); } | ^~~~~~~~~ | fseeko64 gmake[2]: *** [CMakeFiles/cmTC_5b478.dir/build.make:78: CMakeFiles/cmTC_5b478.dir/src.cxx.o] Error 1 gmake[2]: Leaving directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_5b478/fast] Error 2 gmake[1]: Leaving directory '/home/br-user/work/instance-0/output-1/build/cppcms-1.2.1/CMakeFiles/CMakeTmp' Source file was: #include int main() { _fseeki64(0,0,0); }