Determining if the getrandom exist failed with the following output: Change Dir: /home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_b3c30/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_b3c30.dir/build.make CMakeFiles/cmTC_b3c30.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b3c30.dir/CheckSymbolExists.c.o /home/buildroot/build/instance-0/output/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -DNDEBUG -o CMakeFiles/cmTC_b3c30.dir/CheckSymbolExists.c.o -c /home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/build/instance-0/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/buildroot/build/instance-0/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_b3c30.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_b3c30.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_b3c30.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_b3c30/fast' failed make[1]: *** [cmTC_b3c30/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' File /home/buildroot/build/instance-0/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/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_45b87/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_45b87.dir/build.make CMakeFiles/cmTC_45b87.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_45b87.dir/CheckSymbolExists.c.o /home/buildroot/build/instance-0/output/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -DNDEBUG -o CMakeFiles/cmTC_45b87.dir/CheckSymbolExists.c.o -c /home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/build/instance-0/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/buildroot/build/instance-0/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_45b87.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_45b87.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_45b87.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_45b87/fast' failed make[1]: *** [cmTC_45b87/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' File /home/buildroot/build/instance-0/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/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_22b45/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_22b45.dir/build.make CMakeFiles/cmTC_22b45.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_22b45.dir/CheckSymbolExists.c.o /home/buildroot/build/instance-0/output/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -DNDEBUG -o CMakeFiles/cmTC_22b45.dir/CheckSymbolExists.c.o -c /home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/build/instance-0/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/buildroot/build/instance-0/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_22b45.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_22b45.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_22b45.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_22b45/fast' failed make[1]: *** [cmTC_22b45/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' File /home/buildroot/build/instance-0/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/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_92861/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_92861.dir/build.make CMakeFiles/cmTC_92861.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_92861.dir/CheckFunctionExists.c.o /home/buildroot/build/instance-0/output/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -DCHECK_FUNCTION_EXISTS=arc4random_buf -DNDEBUG -o CMakeFiles/cmTC_92861.dir/CheckFunctionExists.c.o -c /home/buildroot/build/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_92861 /home/buildroot/build/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_92861.dir/link.txt --verbose=1 /home/buildroot/build/instance-0/output/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -DCHECK_FUNCTION_EXISTS=arc4random_buf -DNDEBUG -Wl,-elf2flt -static -rdynamic CMakeFiles/cmTC_92861.dir/CheckFunctionExists.c.o -o cmTC_92861 -lbsd /home/buildroot/build/instance-0/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib/libbsd.a(arc4random.o): In function `_rs_init.part.1': arc4random.c:(.text+0xaa): undefined reference to `__register_atfork' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_92861.dir/build.make:97: recipe for target 'cmTC_92861' failed make[2]: *** [cmTC_92861] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_92861/fast' failed make[1]: *** [cmTC_92861/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/instance-0/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/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_7f4c4/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_7f4c4.dir/build.make CMakeFiles/cmTC_7f4c4.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_7f4c4.dir/CheckFunctionExists.c.o /home/buildroot/build/instance-0/output/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -DCHECK_FUNCTION_EXISTS=z_get_crc_table -DNDEBUG -o CMakeFiles/cmTC_7f4c4.dir/CheckFunctionExists.c.o -c /home/buildroot/build/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_7f4c4 /home/buildroot/build/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7f4c4.dir/link.txt --verbose=1 /home/buildroot/build/instance-0/output/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -DCHECK_FUNCTION_EXISTS=z_get_crc_table -DNDEBUG -Wl,-elf2flt -static -rdynamic CMakeFiles/cmTC_7f4c4.dir/CheckFunctionExists.c.o -o cmTC_7f4c4 /home/buildroot/build/instance-0/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib/libz.a CMakeFiles/cmTC_7f4c4.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_7f4c4.dir/build.make:98: recipe for target 'cmTC_7f4c4' failed make[2]: *** [cmTC_7f4c4] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_7f4c4/fast' failed make[1]: *** [cmTC_7f4c4/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp'