Determining if the getrandom exist failed with the following output: Change Dir: /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_b3098/fast" make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_b3098.dir/build.make CMakeFiles/cmTC_b3098.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b3098.dir/CheckSymbolExists.c.o /home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/bin/m68k-linux-gcc --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/m68k-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_b3098.dir/CheckSymbolExists.c.o -c /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'getrandom' undeclared (first use in this function) return ((int*)(&getrandom))[argc]; ^~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_b3098.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_b3098.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_b3098.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_b3098/fast' failed make[1]: *** [cmTC_b3098/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' File /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef getrandom return ((int*)(&getrandom))[argc]; #else (void)argc; return 0; #endif } Determining if the arc4random_buf exist failed with the following output: Change Dir: /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_dbdee/fast" make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_dbdee.dir/build.make CMakeFiles/cmTC_dbdee.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_dbdee.dir/CheckSymbolExists.c.o /home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/bin/m68k-linux-gcc --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/m68k-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_dbdee.dir/CheckSymbolExists.c.o -c /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'arc4random_buf' undeclared (first use in this function) return ((int*)(&arc4random_buf))[argc]; ^~~~~~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_dbdee.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_dbdee.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_dbdee.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_dbdee/fast' failed make[1]: *** [cmTC_dbdee/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' File /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef arc4random_buf return ((int*)(&arc4random_buf))[argc]; #else (void)argc; return 0; #endif } Determining if the arc4random exist failed with the following output: Change Dir: /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_f1752/fast" make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_f1752.dir/build.make CMakeFiles/cmTC_f1752.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f1752.dir/CheckSymbolExists.c.o /home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/bin/m68k-linux-gcc --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/m68k-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_f1752.dir/CheckSymbolExists.c.o -c /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'arc4random' undeclared (first use in this function) return ((int*)(&arc4random))[argc]; ^~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_f1752.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_f1752.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_f1752.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_f1752/fast' failed make[1]: *** [cmTC_f1752/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' File /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef arc4random return ((int*)(&arc4random))[argc]; #else (void)argc; return 0; #endif } Determining if the function arc4random_buf exists in the bsd failed with the following output: Change Dir: /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_6cedc/fast" make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_6cedc.dir/build.make CMakeFiles/cmTC_6cedc.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6cedc.dir/CheckFunctionExists.c.o /home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/bin/m68k-linux-gcc --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/m68k-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCHECK_FUNCTION_EXISTS=arc4random_buf -DNDEBUG -o CMakeFiles/cmTC_6cedc.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c Linking C executable cmTC_6cedc /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6cedc.dir/link.txt --verbose=1 /home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/bin/m68k-linux-gcc --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/m68k-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCHECK_FUNCTION_EXISTS=arc4random_buf -DNDEBUG CMakeFiles/cmTC_6cedc.dir/CheckFunctionExists.c.o -o cmTC_6cedc -rdynamic -lbsd /home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/m68k-buildroot-linux-uclibc/sysroot/usr/lib/libbsd.so: undefined reference to `__register_atfork' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_6cedc.dir/build.make:97: recipe for target 'cmTC_6cedc' failed make[2]: *** [cmTC_6cedc] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_6cedc/fast' failed make[1]: *** [cmTC_6cedc/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Determining if the function z_get_crc_table exists failed with the following output: Change Dir: /home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_4f24d/fast" make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_4f24d.dir/build.make CMakeFiles/cmTC_4f24d.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4f24d.dir/CheckFunctionExists.c.o /home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/bin/m68k-linux-gcc --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/m68k-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCHECK_FUNCTION_EXISTS=z_get_crc_table -DNDEBUG -o CMakeFiles/cmTC_4f24d.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c Linking C executable cmTC_4f24d /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4f24d.dir/link.txt --verbose=1 /home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/bin/m68k-linux-gcc --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/m68k-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DCHECK_FUNCTION_EXISTS=z_get_crc_table -DNDEBUG CMakeFiles/cmTC_4f24d.dir/CheckFunctionExists.c.o -o cmTC_4f24d -rdynamic /home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/m68k-buildroot-linux-uclibc/sysroot/usr/lib/libz.so CMakeFiles/cmTC_4f24d.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup+0x6): undefined reference to `z_get_crc_table' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_4f24d.dir/build.make:98: recipe for target 'cmTC_4f24d' failed make[2]: *** [cmTC_4f24d] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_4f24d/fast' failed make[1]: *** [cmTC_4f24d/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-1/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp'