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_74d7a/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_74d7a.dir/build.make CMakeFiles/cmTC_74d7a.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_74d7a.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_74d7a.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_74d7a.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_74d7a.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_74d7a.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_74d7a/fast' failed make[1]: *** [cmTC_74d7a/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_b9974/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_b9974.dir/build.make CMakeFiles/cmTC_b9974.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b9974.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_b9974.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_b9974.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_b9974.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_b9974.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_b9974/fast' failed make[1]: *** [cmTC_b9974/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_25e72/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_25e72.dir/build.make CMakeFiles/cmTC_25e72.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_25e72.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_25e72.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_25e72.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_25e72.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_25e72.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_25e72/fast' failed make[1]: *** [cmTC_25e72/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_529de/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_529de.dir/build.make CMakeFiles/cmTC_529de.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_529de.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_529de.dir/CheckFunctionExists.c.o -c /home/buildroot/build/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_529de /home/buildroot/build/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_529de.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_529de.dir/CheckFunctionExists.c.o -o cmTC_529de -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_529de.dir/build.make:97: recipe for target 'cmTC_529de' failed make[2]: *** [cmTC_529de] 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_529de/fast' failed make[1]: *** [cmTC_529de/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_99ae5/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_99ae5.dir/build.make CMakeFiles/cmTC_99ae5.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_99ae5.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_99ae5.dir/CheckFunctionExists.c.o -c /home/buildroot/build/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_99ae5 /home/buildroot/build/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_99ae5.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_99ae5.dir/CheckFunctionExists.c.o -o cmTC_99ae5 /home/buildroot/build/instance-0/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/lib/libz.a CMakeFiles/cmTC_99ae5.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_99ae5.dir/build.make:98: recipe for target 'cmTC_99ae5' failed make[2]: *** [cmTC_99ae5] 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_99ae5/fast' failed make[1]: *** [cmTC_99ae5/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp'