Determining if the getrandom exist failed with the following output: Change Dir: /home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_c1628/fast" make[1]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_c1628.dir/build.make CMakeFiles/cmTC_c1628.dir/build make[2]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c1628.dir/CheckSymbolExists.c.o /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/m68k-linux-gcc --sysroot=/home/dawncrow/buildroot-test/scripts/instance-0/output/host/m68k-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_c1628.dir/CheckSymbolExists.c.o -c /home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/dawncrow/buildroot-test/scripts/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/dawncrow/buildroot-test/scripts/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 make[2]: *** [CMakeFiles/cmTC_c1628.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_c1628/fast] Error 2 make[1]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' File /home/dawncrow/buildroot-test/scripts/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/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_893ac/fast" make[1]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_893ac.dir/build.make CMakeFiles/cmTC_893ac.dir/build make[2]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_893ac.dir/CheckSymbolExists.c.o /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/m68k-linux-gcc --sysroot=/home/dawncrow/buildroot-test/scripts/instance-0/output/host/m68k-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_893ac.dir/CheckSymbolExists.c.o -c /home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/dawncrow/buildroot-test/scripts/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/dawncrow/buildroot-test/scripts/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 make[2]: *** [CMakeFiles/cmTC_893ac.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_893ac/fast] Error 2 make[1]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' File /home/dawncrow/buildroot-test/scripts/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/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_25af9/fast" make[1]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_25af9.dir/build.make CMakeFiles/cmTC_25af9.dir/build make[2]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_25af9.dir/CheckSymbolExists.c.o /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/m68k-linux-gcc --sysroot=/home/dawncrow/buildroot-test/scripts/instance-0/output/host/m68k-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_25af9.dir/CheckSymbolExists.c.o -c /home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/dawncrow/buildroot-test/scripts/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/dawncrow/buildroot-test/scripts/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 make[2]: *** [CMakeFiles/cmTC_25af9.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_25af9/fast] Error 2 make[1]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' File /home/dawncrow/buildroot-test/scripts/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/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_fbc1c/fast" make[1]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_fbc1c.dir/build.make CMakeFiles/cmTC_fbc1c.dir/build make[2]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_fbc1c.dir/CheckFunctionExists.c.o /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/m68k-linux-gcc --sysroot=/home/dawncrow/buildroot-test/scripts/instance-0/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_fbc1c.dir/CheckFunctionExists.c.o -c /home/dawncrow/buildroot-test/scripts/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_fbc1c /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fbc1c.dir/link.txt --verbose=1 /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/m68k-linux-gcc --sysroot=/home/dawncrow/buildroot-test/scripts/instance-0/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 -rdynamic CMakeFiles/cmTC_fbc1c.dir/CheckFunctionExists.c.o -o cmTC_fbc1c -lbsd /home/dawncrow/buildroot-test/scripts/instance-0/output/host/m68k-buildroot-linux-uclibc/sysroot/usr/lib/libbsd.so: undefined reference to `__register_atfork' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_fbc1c] Error 1 make[2]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_fbc1c/fast] Error 2 make[1]: Leaving directory `/home/dawncrow/buildroot-test/scripts/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/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_81a0e/fast" make[1]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_81a0e.dir/build.make CMakeFiles/cmTC_81a0e.dir/build make[2]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_81a0e.dir/CheckFunctionExists.c.o /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/m68k-linux-gcc --sysroot=/home/dawncrow/buildroot-test/scripts/instance-0/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_81a0e.dir/CheckFunctionExists.c.o -c /home/dawncrow/buildroot-test/scripts/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_81a0e /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_81a0e.dir/link.txt --verbose=1 /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/m68k-linux-gcc --sysroot=/home/dawncrow/buildroot-test/scripts/instance-0/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 -rdynamic CMakeFiles/cmTC_81a0e.dir/CheckFunctionExists.c.o -o cmTC_81a0e /home/dawncrow/buildroot-test/scripts/instance-0/output/host/m68k-buildroot-linux-uclibc/sysroot/usr/lib/libz.so CMakeFiles/cmTC_81a0e.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 make[2]: *** [cmTC_81a0e] Error 1 make[2]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_81a0e/fast] Error 2 make[1]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/minizip-2.5.3/CMakeFiles/CMakeTmp'