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;windows.h exist failed with the following output: Change Dir: /home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_029c9/fast && gmake[1]: Entering directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_029c9.dir/build.make CMakeFiles/cmTC_029c9.dir/build gmake[2]: Entering directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_029c9.dir/HAVE_WINDOWS_H.c.o /home/buildroot/instance-0/output-1/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/instance-0/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-dwarf2-cfi-asm -Wl,-elf2flt=-r -static -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_029c9.dir/HAVE_WINDOWS_H.c.o -c /home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CheckIncludeFiles/HAVE_WINDOWS_H.c /home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CheckIncludeFiles/HAVE_WINDOWS_H.c:17:10: fatal error: windows.h: No such file or directory 17 | #include | ^~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_029c9.dir/build.make:78: CMakeFiles/cmTC_029c9.dir/HAVE_WINDOWS_H.c.o] Error 1 gmake[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_029c9/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/instance-0/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 #include int main(void){return 0;} Determining if the function fork exists failed with the following output: Change Dir: /home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_0cc26/fast && gmake[1]: Entering directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_0cc26.dir/build.make CMakeFiles/cmTC_0cc26.dir/build gmake[2]: Entering directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0cc26.dir/CheckFunctionExists.c.o /home/buildroot/instance-0/output-1/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/instance-0/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-dwarf2-cfi-asm -Wl,-elf2flt=-r -static -DCHECK_FUNCTION_EXISTS=fork -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_0cc26.dir/CheckFunctionExists.c.o -c /home/buildroot/instance-0/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c : warning: conflicting types for built-in function 'fork'; expected 'int(void)' [-Wbuiltin-declaration-mismatch] /home/buildroot/instance-0/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro 'CHECK_FUNCTION_EXISTS' 7 | CHECK_FUNCTION_EXISTS(void); | ^~~~~~~~~~~~~~~~~~~~~ Linking C executable cmTC_0cc26 /home/buildroot/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0cc26.dir/link.txt --verbose=1 /home/buildroot/instance-0/output-1/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/instance-0/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-dwarf2-cfi-asm -Wl,-elf2flt=-r -static -DCHECK_FUNCTION_EXISTS=fork -DNDEBUG -Wl,-elf2flt=-r -static CMakeFiles/cmTC_0cc26.dir/CheckFunctionExists.c.o -o cmTC_0cc26 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/m68k-buildroot-uclinux-uclibc/bin/ld.real: CMakeFiles/cmTC_0cc26.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x2): undefined reference to `fork' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_0cc26.dir/build.make:99: cmTC_0cc26] Error 1 gmake[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_0cc26/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Determining if the function _getpid exists failed with the following output: Change Dir: /home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_d3bda/fast && gmake[1]: Entering directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_d3bda.dir/build.make CMakeFiles/cmTC_d3bda.dir/build gmake[2]: Entering directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d3bda.dir/CheckFunctionExists.c.o /home/buildroot/instance-0/output-1/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/instance-0/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-dwarf2-cfi-asm -Wl,-elf2flt=-r -static -DCHECK_FUNCTION_EXISTS=_getpid -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_d3bda.dir/CheckFunctionExists.c.o -c /home/buildroot/instance-0/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_d3bda /home/buildroot/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d3bda.dir/link.txt --verbose=1 /home/buildroot/instance-0/output-1/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/instance-0/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-dwarf2-cfi-asm -Wl,-elf2flt=-r -static -DCHECK_FUNCTION_EXISTS=_getpid -DNDEBUG -Wl,-elf2flt=-r -static CMakeFiles/cmTC_d3bda.dir/CheckFunctionExists.c.o -o cmTC_d3bda /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/m68k-buildroot-uclinux-uclibc/bin/ld.real: CMakeFiles/cmTC_d3bda.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x2): undefined reference to `_getpid' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_d3bda.dir/build.make:99: cmTC_d3bda] Error 1 gmake[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_d3bda/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Determining if the function _strdup exists failed with the following output: Change Dir: /home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_66edc/fast && gmake[1]: Entering directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_66edc.dir/build.make CMakeFiles/cmTC_66edc.dir/build gmake[2]: Entering directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_66edc.dir/CheckFunctionExists.c.o /home/buildroot/instance-0/output-1/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/instance-0/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-dwarf2-cfi-asm -Wl,-elf2flt=-r -static -DCHECK_FUNCTION_EXISTS=_strdup -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_66edc.dir/CheckFunctionExists.c.o -c /home/buildroot/instance-0/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_66edc /home/buildroot/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_66edc.dir/link.txt --verbose=1 /home/buildroot/instance-0/output-1/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/instance-0/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-dwarf2-cfi-asm -Wl,-elf2flt=-r -static -DCHECK_FUNCTION_EXISTS=_strdup -DNDEBUG -Wl,-elf2flt=-r -static CMakeFiles/cmTC_66edc.dir/CheckFunctionExists.c.o -o cmTC_66edc /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/m68k-buildroot-uclinux-uclibc/bin/ld.real: CMakeFiles/cmTC_66edc.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x2): undefined reference to `_strdup' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_66edc.dir/build.make:99: cmTC_66edc] Error 1 gmake[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_66edc/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/instance-0/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/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_ccf5a/fast && gmake[1]: Entering directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_ccf5a.dir/build.make CMakeFiles/cmTC_ccf5a.dir/build gmake[2]: Entering directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ccf5a.dir/src.c.o /home/buildroot/instance-0/output-1/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/instance-0/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -DHAVE_STRUCT_ITIMERSPEC_IT_VALUE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-dwarf2-cfi-asm -Wl,-elf2flt=-r -static -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_ccf5a.dir/src.c.o -c /home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp/src.c /home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp/src.c: In function 'main': /home/buildroot/instance-0/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_ccf5a.dir/build.make:78: CMakeFiles/cmTC_ccf5a.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_ccf5a/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/instance-0/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/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_86e5b/fast && gmake[1]: Entering directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_86e5b.dir/build.make CMakeFiles/cmTC_86e5b.dir/build gmake[2]: Entering directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_86e5b.dir/__INT64.c.o /home/buildroot/instance-0/output-1/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/instance-0/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-dwarf2-cfi-asm -Wl,-elf2flt=-r -static -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_86e5b.dir/__INT64.c.o -c /home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/__INT64.c /home/buildroot/instance-0/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/instance-0/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_86e5b.dir/build.make:78: CMakeFiles/cmTC_86e5b.dir/__INT64.c.o] Error 1 gmake[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_86e5b/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /home/buildroot/instance-0/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/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_2380d/fast && gmake[1]: Entering directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_2380d.dir/build.make CMakeFiles/cmTC_2380d.dir/build gmake[2]: Entering directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2380d.dir/UNSIGNED___INT64.c.o /home/buildroot/instance-0/output-1/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/instance-0/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-dwarf2-cfi-asm -Wl,-elf2flt=-r -static -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_2380d.dir/UNSIGNED___INT64.c.o -c /home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c /home/buildroot/instance-0/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/instance-0/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/instance-0/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/instance-0/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/instance-0/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/instance-0/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/instance-0/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/instance-0/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/instance-0/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/instance-0/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_2380d.dir/build.make:78: CMakeFiles/cmTC_2380d.dir/UNSIGNED___INT64.c.o] Error 1 gmake[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_2380d/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /home/buildroot/instance-0/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/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_5ba35/fast && gmake[1]: Entering directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_5ba35.dir/build.make CMakeFiles/cmTC_5ba35.dir/build gmake[2]: Entering directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5ba35.dir/CheckFunctionExists.c.o /home/buildroot/instance-0/output-1/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/instance-0/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-dwarf2-cfi-asm -Wl,-elf2flt=-r -static -DCHECK_FUNCTION_EXISTS=subunit_test_start -DNDEBUG -std=gnu99 -o CMakeFiles/cmTC_5ba35.dir/CheckFunctionExists.c.o -c /home/buildroot/instance-0/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_5ba35 /home/buildroot/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5ba35.dir/link.txt --verbose=1 /home/buildroot/instance-0/output-1/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/instance-0/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fno-dwarf2-cfi-asm -Wl,-elf2flt=-r -static -DCHECK_FUNCTION_EXISTS=subunit_test_start -DNDEBUG -Wl,-elf2flt=-r -static CMakeFiles/cmTC_5ba35.dir/CheckFunctionExists.c.o -o cmTC_5ba35 -lsubunit /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/m68k-buildroot-uclinux-uclibc/bin/ld.real: cannot find -lsubunit collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_5ba35.dir/build.make:99: cmTC_5ba35] Error 1 gmake[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_5ba35/fast] Error 2 gmake[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/check-0.15.2/CMakeFiles/CMakeTmp'