Determining if files sys/types.h;errno.h;inttypes.h;limits.h;regex.h;signal.h;stdarg.h;stdint.h;stdlib.h;string.h;strings.h;sys/time.h;time.h;unistd.h;pthread.h exist failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_10365/fast && gmake[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_10365.dir/build.make CMakeFiles/cmTC_10365.dir/build gmake[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_10365.dir/HAVE_PTHREAD.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-uclibcgnueabi-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_10365.dir/HAVE_PTHREAD.c.o -c /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckIncludeFiles/HAVE_PTHREAD.c /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckIncludeFiles/HAVE_PTHREAD.c:16:10: fatal error: pthread.h: No such file or directory 16 | #include | ^~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_10365.dir/build.make:78: CMakeFiles/cmTC_10365.dir/HAVE_PTHREAD.c.o] Error 1 gmake[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_10365/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if files sys/types.h;errno.h;inttypes.h;limits.h;regex.h;signal.h;stdarg.h;stdint.h;stdlib.h;string.h;strings.h;sys/time.h;time.h;unistd.h;windows.h exist failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_356de/fast && gmake[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_356de.dir/build.make CMakeFiles/cmTC_356de.dir/build gmake[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_356de.dir/HAVE_WINDOWS_H.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-uclibcgnueabi-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_356de.dir/HAVE_WINDOWS_H.c.o -c /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckIncludeFiles/HAVE_WINDOWS_H.c /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckIncludeFiles/HAVE_WINDOWS_H.c:16:10: fatal error: windows.h: No such file or directory 16 | #include | ^~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_356de.dir/build.make:78: CMakeFiles/cmTC_356de.dir/HAVE_WINDOWS_H.c.o] Error 1 gmake[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_356de/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Source: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void){return 0;} Determining if the function _getpid exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_da590/fast && gmake[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_da590.dir/build.make CMakeFiles/cmTC_da590.dir/build gmake[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_da590.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-uclibcgnueabi-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -DCHECK_FUNCTION_EXISTS=_getpid -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_da590.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-1/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_da590 /home/buildroot/autobuild/instance-1/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_da590.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-uclibcgnueabi-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -DCHECK_FUNCTION_EXISTS=_getpid -DNDEBUG -static CMakeFiles/cmTC_da590.dir/CheckFunctionExists.c.o -o cmTC_da590 /home/buildroot/autobuild/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: CMakeFiles/cmTC_da590.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `_getpid' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_da590.dir/build.make:99: cmTC_da590] Error 1 gmake[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_da590/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Determining if the function _strdup exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_80518/fast && gmake[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_80518.dir/build.make CMakeFiles/cmTC_80518.dir/build gmake[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_80518.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-uclibcgnueabi-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -DCHECK_FUNCTION_EXISTS=_strdup -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_80518.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-1/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_80518 /home/buildroot/autobuild/instance-1/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_80518.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-uclibcgnueabi-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -DCHECK_FUNCTION_EXISTS=_strdup -DNDEBUG -static CMakeFiles/cmTC_80518.dir/CheckFunctionExists.c.o -o cmTC_80518 /home/buildroot/autobuild/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: CMakeFiles/cmTC_80518.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `_strdup' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_80518.dir/build.make:99: cmTC_80518] Error 1 gmake[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_80518/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test HAVE_STRUCT_ITIMERSPEC_IT_VALUE failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_56740/fast && gmake[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_56740.dir/build.make CMakeFiles/cmTC_56740.dir/build gmake[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_56740.dir/src.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-uclibcgnueabi-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot -DHAVE_STRUCT_ITIMERSPEC_IT_VALUE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_56740.dir/src.c.o -c /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp/src.c /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp/src.c: In function 'main': /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp/src.c:6:29: error: storage size of 'tmp' isn't known 6 | static struct itimerspec tmp; | ^~~ gmake[2]: *** [CMakeFiles/cmTC_56740.dir/build.make:78: CMakeFiles/cmTC_56740.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_56740/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Source file was: #include int main() { static struct itimerspec tmp; if (sizeof(tmp.it_value)) return 0; return 0; } Determining size of __int64 failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_70574/fast && gmake[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_70574.dir/build.make CMakeFiles/cmTC_70574.dir/build gmake[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_70574.dir/__INT64.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-uclibcgnueabi-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_70574.dir/__INT64.c.o -c /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/__INT64.c /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/__INT64.c:27:22: error: '__int64' undeclared here (not in a function); did you mean '__int64_t'? 27 | #define SIZE (sizeof(__int64)) | ^~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/__INT64.c:29:12: note: in expansion of macro 'SIZE' 29 | ('0' + ((SIZE / 10000)%10)), | ^~~~ gmake[2]: *** [CMakeFiles/cmTC_70574.dir/build.make:78: CMakeFiles/cmTC_70574.dir/__INT64.c.o] Error 1 gmake[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_70574/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/__INT64.c: #include #include #include #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(__int64)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of unsigned __int64 failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_22d60/fast && gmake[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_22d60.dir/build.make CMakeFiles/cmTC_22d60.dir/build gmake[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_22d60.dir/UNSIGNED___INT64.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-uclibcgnueabi-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_22d60.dir/UNSIGNED___INT64.c.o -c /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:27:31: error: expected ')' before '__int64' 27 | #define SIZE (sizeof(unsigned __int64)) | ~ ^~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:29:12: note: in expansion of macro 'SIZE' 29 | ('0' + ((SIZE / 10000)%10)), | ^~~~ /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:27:31: error: expected ')' before '__int64' 27 | #define SIZE (sizeof(unsigned __int64)) | ~ ^~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:30:12: note: in expansion of macro 'SIZE' 30 | ('0' + ((SIZE / 1000)%10)), | ^~~~ /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:27:31: error: expected ')' before '__int64' 27 | #define SIZE (sizeof(unsigned __int64)) | ~ ^~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:31:12: note: in expansion of macro 'SIZE' 31 | ('0' + ((SIZE / 100)%10)), | ^~~~ /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:27:31: error: expected ')' before '__int64' 27 | #define SIZE (sizeof(unsigned __int64)) | ~ ^~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:32:12: note: in expansion of macro 'SIZE' 32 | ('0' + ((SIZE / 10)%10)), | ^~~~ /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:27:31: error: expected ')' before '__int64' 27 | #define SIZE (sizeof(unsigned __int64)) | ~ ^~~~~~~ /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:33:12: note: in expansion of macro 'SIZE' 33 | ('0' + (SIZE % 10)), | ^~~~ gmake[2]: *** [CMakeFiles/cmTC_22d60.dir/build.make:78: CMakeFiles/cmTC_22d60.dir/UNSIGNED___INT64.c.o] Error 1 gmake[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_22d60/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c: #include #include #include #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(unsigned __int64)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining if the function subunit_test_start exists in the subunit failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_5586a/fast && gmake[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_5586a.dir/build.make CMakeFiles/cmTC_5586a.dir/build gmake[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5586a.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-uclibcgnueabi-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -DCHECK_FUNCTION_EXISTS=subunit_test_start -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_5586a.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-1/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_5586a /home/buildroot/autobuild/instance-1/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5586a.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-buildroot-linux-uclibcgnueabi-gcc --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -static -DCHECK_FUNCTION_EXISTS=subunit_test_start -DNDEBUG -static CMakeFiles/cmTC_5586a.dir/CheckFunctionExists.c.o -o cmTC_5586a -lsubunit /home/buildroot/autobuild/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: cannot find -lsubunit collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_5586a.dir/build.make:99: cmTC_5586a] Error 1 gmake[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_5586a/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp'