Performing C SOURCE FILE Test test_arch_x64 failed with the following output: Change Dir: /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_6c205/fast && gmake[1]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_6c205.dir/build.make CMakeFiles/cmTC_6c205.dir/build gmake[2]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6c205.dir/src.c.o /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -Dtest_arch_x64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_6c205.dir/src.c.o -c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:5:3: error: #error wrongarch 5 | #error wrongarch | ^~~~~ gmake[2]: *** [CMakeFiles/cmTC_6c205.dir/build.make:78: CMakeFiles/cmTC_6c205.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_6c205/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #if defined(__x86_64__) || defined(_M_X64) int main() { return 0; } #else #error wrongarch #endif Performing C SOURCE FILE Test test_arch_power failed with the following output: Change Dir: /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_a6808/fast && gmake[1]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_a6808.dir/build.make CMakeFiles/cmTC_a6808.dir/build gmake[2]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a6808.dir/src.c.o /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -Dtest_arch_power -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_a6808.dir/src.c.o -c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:5:3: error: #error wrongarch 5 | #error wrongarch | ^~~~~ gmake[2]: *** [CMakeFiles/cmTC_a6808.dir/build.make:78: CMakeFiles/cmTC_a6808.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_a6808/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #if defined(__powerpc64__) || defined(_M_PPC) int main() { return 0; } #else #error wrongarch #endif Determining if the function pcap_get_pfring_id exists failed with the following output: Change Dir: /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_7acf9/fast && gmake[1]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_7acf9.dir/build.make CMakeFiles/cmTC_7acf9.dir/build gmake[2]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_7acf9.dir/CheckFunctionExists.c.o /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -DCHECK_FUNCTION_EXISTS=pcap_get_pfring_id -DNDEBUG -o CMakeFiles/cmTC_7acf9.dir/CheckFunctionExists.c.o -c /tmp/instance-13/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_7acf9 /tmp/instance-13/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7acf9.dir/link.txt --verbose=1 /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -DCHECK_FUNCTION_EXISTS=pcap_get_pfring_id -DNDEBUG CMakeFiles/cmTC_7acf9.dir/CheckFunctionExists.c.o -o cmTC_7acf9 /tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libpcap.so /tmp/instance-13/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin/ld: CMakeFiles/cmTC_7acf9.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text+0x14): undefined reference to `pcap_get_pfring_id' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_7acf9.dir/build.make:100: cmTC_7acf9] Error 1 gmake[2]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_7acf9/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test ns_initparse_works_none failed with the following output: Change Dir: /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_5766d/fast && gmake[1]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_5766d.dir/build.make CMakeFiles/cmTC_5766d.dir/build gmake[2]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5766d.dir/src.c.o /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -Dns_initparse_works_none -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_5766d.dir/src.c.o -c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_5766d /tmp/instance-13/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5766d.dir/link.txt --verbose=1 /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -DNDEBUG CMakeFiles/cmTC_5766d.dir/src.c.o -o cmTC_5766d /tmp/instance-13/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin/ld: CMakeFiles/cmTC_5766d.dir/src.c.o: in function `main': src.c:(.text+0x14): undefined reference to `ns_initparse' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_5766d.dir/build.make:99: cmTC_5766d] Error 1 gmake[2]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_5766d/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include int main() { ns_initparse(0, 0, 0); return 0; } Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_22370/fast && gmake[1]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_22370.dir/build.make CMakeFiles/cmTC_22370.dir/build gmake[2]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_22370.dir/src.c.o /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -DCMAKE_HAVE_LIBC_PTHREAD -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_22370.dir/src.c.o -c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_22370 /tmp/instance-13/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_22370.dir/link.txt --verbose=1 /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -DNDEBUG CMakeFiles/cmTC_22370.dir/src.c.o -o cmTC_22370 /tmp/instance-13/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin/ld: CMakeFiles/cmTC_22370.dir/src.c.o: in function `main': src.c:(.text+0x20): undefined reference to `pthread_create' /tmp/instance-13/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin/ld: src.c:(.text+0x28): undefined reference to `pthread_detach' /tmp/instance-13/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin/ld: src.c:(.text+0x30): undefined reference to `pthread_cancel' /tmp/instance-13/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin/ld: src.c:(.text+0x3c): undefined reference to `pthread_join' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_22370.dir/build.make:99: cmTC_22370] Error 1 gmake[2]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_22370/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include static void* test_func(void* data) { return data; } int main(void) { pthread_t thread; pthread_create(&thread, NULL, test_func, NULL); pthread_detach(thread); pthread_cancel(thread); pthread_join(thread, NULL); pthread_atfork(NULL, NULL, NULL); pthread_exit(NULL); return 0; } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_81e65/fast && gmake[1]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_81e65.dir/build.make CMakeFiles/cmTC_81e65.dir/build gmake[2]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_81e65.dir/CheckFunctionExists.c.o /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -o CMakeFiles/cmTC_81e65.dir/CheckFunctionExists.c.o -c /tmp/instance-13/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_81e65 /tmp/instance-13/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_81e65.dir/link.txt --verbose=1 /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG CMakeFiles/cmTC_81e65.dir/CheckFunctionExists.c.o -o cmTC_81e65 -lpthreads /tmp/instance-13/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_81e65.dir/build.make:99: cmTC_81e65] Error 1 gmake[2]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_81e65/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Performing C++ SOURCE FILE Test cxx17_already_works failed with the following output: Change Dir: /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_700ea/fast && gmake[1]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_700ea.dir/build.make CMakeFiles/cmTC_700ea.dir/build gmake[2]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_700ea.dir/src.cxx.o /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-g++ --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -Dcxx17_already_works -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -Wno-register -Werror=vla -DNDEBUG -o CMakeFiles/cmTC_700ea.dir/src.cxx.o -c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:2:24: error: 'optional' is not a member of 'std' 2 | int main() { std::optional a; } | ^~~~~~~~ /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:2:24: note: 'std::optional' is only available from C++17 onwards /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:2:33: error: expected primary-expression before 'int' 2 | int main() { std::optional a; } | ^~~ gmake[2]: *** [CMakeFiles/cmTC_700ea.dir/build.make:78: CMakeFiles/cmTC_700ea.dir/src.cxx.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_700ea/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include int main() { std::optional a; } Determining if files emmintrin.h exist failed with the following output: Change Dir: /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_d014d/fast && gmake[1]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_d014d.dir/build.make CMakeFiles/cmTC_d014d.dir/build gmake[2]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d014d.dir/BROKER_USE_SSE2.c.o /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -msse2 -DNDEBUG -o CMakeFiles/cmTC_d014d.dir/BROKER_USE_SSE2.c.o -c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/BROKER_USE_SSE2.c aarch64-none-linux-gnu-gcc: error: unrecognized command-line option '-msse2' gmake[2]: *** [CMakeFiles/cmTC_d014d.dir/build.make:78: CMakeFiles/cmTC_d014d.dir/BROKER_USE_SSE2.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_d014d/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source: /* */ #include int main(void){return 0;} Determining if the htonll exist failed with the following output: Change Dir: /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_16d01/fast && gmake[1]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_16d01.dir/build.make CMakeFiles/cmTC_16d01.dir/build gmake[2]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_16d01.dir/CheckSymbolExists.c.o /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_16d01.dir/CheckSymbolExists.c.o -c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'htonll' undeclared (first use in this function); did you mean 'htonl'? 8 | return ((int*)(&htonll))[argc]; | ^~~~~~ | htonl /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in gmake[2]: *** [CMakeFiles/cmTC_16d01.dir/build.make:78: CMakeFiles/cmTC_16d01.dir/CheckSymbolExists.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_16d01/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' File /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef htonll return ((int*)(&htonll))[argc]; #else (void)argc; return 0; #endif } Determining if files sys/ethernet.h exist failed with the following output: Change Dir: /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_b8907/fast && gmake[1]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_b8907.dir/build.make CMakeFiles/cmTC_b8907.dir/build gmake[2]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b8907.dir/HAVE_SYS_ETHERNET_H.c.o /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_b8907.dir/HAVE_SYS_ETHERNET_H.c.o -c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_ETHERNET_H.c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_ETHERNET_H.c:2:10: fatal error: sys/ethernet.h: No such file or directory 2 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_b8907.dir/build.make:78: CMakeFiles/cmTC_b8907.dir/HAVE_SYS_ETHERNET_H.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_b8907/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source: /* */ #include int main(void){return 0;} Determining if files net/ethertypes.h exist failed with the following output: Change Dir: /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_d5f43/fast && gmake[1]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_d5f43.dir/build.make CMakeFiles/cmTC_d5f43.dir/build gmake[2]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d5f43.dir/HAVE_NET_ETHERTYPES_H.c.o /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_d5f43.dir/HAVE_NET_ETHERTYPES_H.c.o -c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_NET_ETHERTYPES_H.c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_NET_ETHERTYPES_H.c:2:10: fatal error: net/ethertypes.h: No such file or directory 2 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_d5f43.dir/build.make:78: CMakeFiles/cmTC_d5f43.dir/HAVE_NET_ETHERTYPES_H.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_d5f43/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source: /* */ #include int main(void){return 0;} Determining if files os-proto.h exist failed with the following output: Change Dir: /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_98b96/fast && gmake[1]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_98b96.dir/build.make CMakeFiles/cmTC_98b96.dir/build gmake[2]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_98b96.dir/HAVE_OS_PROTO_H.c.o /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_98b96.dir/HAVE_OS_PROTO_H.c.o -c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_OS_PROTO_H.c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_OS_PROTO_H.c:2:10: fatal error: os-proto.h: No such file or directory 2 | #include | ^~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_98b96.dir/build.make:78: CMakeFiles/cmTC_98b96.dir/HAVE_OS_PROTO_H.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_98b96/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source: /* */ #include int main(void){return 0;} Performing C SOURCE FILE Test HAVE_READLINE_HISTORY_ENTRIES failed with the following output: Change Dir: /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_09c05/fast && gmake[1]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_09c05.dir/build.make CMakeFiles/cmTC_09c05.dir/build gmake[2]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_09c05.dir/src.c.o /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -DHAVE_READLINE_HISTORY_ENTRIES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_09c05.dir/src.c.o -c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function 'main': /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:7:18: error: 'HISTORY_STATE' undeclared (first use in this function) 7 | (void)sizeof(((HISTORY_STATE *)0)->entries); | ^~~~~~~~~~~~~ /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:7:18: note: each undeclared identifier is reported only once for each function it appears in /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:7:33: error: expected expression before ')' token 7 | (void)sizeof(((HISTORY_STATE *)0)->entries); | ^ gmake[2]: *** [CMakeFiles/cmTC_09c05.dir/build.make:78: CMakeFiles/cmTC_09c05.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_09c05/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include #include int main() { (void)sizeof(((HISTORY_STATE *)0)->entries); return 0; } Performing C SOURCE FILE Test SIN_LEN failed with the following output: Change Dir: /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_fc162/fast && gmake[1]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_fc162.dir/build.make CMakeFiles/cmTC_fc162.dir/build gmake[2]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_fc162.dir/src.c.o /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -DSIN_LEN -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_fc162.dir/src.c.o -c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function 'main': /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:6:41: error: 'struct sockaddr_in' has no member named 'sin_len' 6 | (void)sizeof(((struct sockaddr_in *)0)->sin_len); | ^~ gmake[2]: *** [CMakeFiles/cmTC_fc162.dir/build.make:78: CMakeFiles/cmTC_fc162.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_fc162/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include int main() { (void)sizeof(((struct sockaddr_in *)0)->sin_len); return 0; } Determining if the IPPROTO_IPV4 exist failed with the following output: Change Dir: /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_9f08c/fast && gmake[1]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_9f08c.dir/build.make CMakeFiles/cmTC_9f08c.dir/build gmake[2]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_9f08c.dir/CheckSymbolExists.c.o /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_9f08c.dir/CheckSymbolExists.c.o -c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'IPPROTO_IPV4' undeclared (first use in this function); did you mean 'IPPROTO_IPV6'? 8 | return ((int*)(&IPPROTO_IPV4))[argc]; | ^~~~~~~~~~~~ | IPPROTO_IPV6 /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in gmake[2]: *** [CMakeFiles/cmTC_9f08c.dir/build.make:78: CMakeFiles/cmTC_9f08c.dir/CheckSymbolExists.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_9f08c/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' File /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef IPPROTO_IPV4 return ((int*)(&IPPROTO_IPV4))[argc]; #else (void)argc; return 0; #endif } Performing C SOURCE FILE Test DO_SOCK_DECL failed with the following output: Change Dir: /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_32812/fast && gmake[1]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_32812.dir/build.make CMakeFiles/cmTC_32812.dir/build gmake[2]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_32812.dir/src.c.o /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -DDO_SOCK_DECL -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_32812.dir/src.c.o -c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:5:16: error: conflicting types for 'connect' 5 | extern int connect(int, const struct sockaddr *, int); | ^~~~~~~ In file included from /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:3: /tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:126:12: note: previous declaration of 'connect' was here 126 | extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len); | ^~~~~~~ /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:6:16: error: conflicting types for 'send' 6 | extern int send(int, const void *, int, int); | ^~~~ In file included from /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:3: /tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:138:16: note: previous declaration of 'send' was here 138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | ^~~~ /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:7:16: error: conflicting types for 'recvfrom' 7 | extern int recvfrom(int, void *, int, int, struct sockaddr *, int *); | ^~~~~~~~ In file included from /tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/sys/socket.h:269, from /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:3: /tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/bits/socket2.h:66:1: note: previous definition of 'recvfrom' was here 66 | recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, | ^~~~~~~~ gmake[2]: *** [CMakeFiles/cmTC_32812.dir/build.make:78: CMakeFiles/cmTC_32812.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_32812/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include #include extern int socket(int, int, int); extern int connect(int, const struct sockaddr *, int); extern int send(int, const void *, int, int); extern int recvfrom(int, void *, int, int, struct sockaddr *, int *); int main() { return 0; } Performing C++ SOURCE FILE Test SYSLOG_INT failed with the following output: Change Dir: /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_9a60f/fast && gmake[1]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_9a60f.dir/build.make CMakeFiles/cmTC_9a60f.dir/build gmake[2]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_9a60f.dir/src.cxx.o /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-g++ --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -DSYSLOG_INT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -Wno-register -Werror=vla -DNDEBUG -o CMakeFiles/cmTC_9a60f.dir/src.cxx.o -c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:5:13: error: conflicting declaration of C function 'int openlog(const char*, int, int)' 5 | int openlog(const char* ident, int logopt, int facility); | ^~~~~~~ In file included from /tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/syslog.h:1, from /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:3: /tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/sys/syslog.h:181:13: note: previous declaration 'void openlog(const char*, int, int)' 181 | extern void openlog (const char *__ident, int __option, int __facility); | ^~~~~~~ /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:6:13: error: conflicting declaration of C function 'int syslog(int, const char*, ...)' 6 | int syslog(int priority, const char* message_fmt, ...); | ^~~~~~ In file included from /tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/sys/syslog.h:207, from /tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/syslog.h:1, from /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:3: /tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/bits/syslog.h:29:1: note: previous declaration 'void syslog(int, const char*, ...)' 29 | syslog (int __pri, const char *__fmt, ...) | ^~~~~~ /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:7:13: error: conflicting declaration of C function 'int closelog()' 7 | int closelog(); | ^~~~~~~~ In file included from /tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/syslog.h:1, from /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:3: /tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/sys/syslog.h:175:13: note: previous declaration 'void closelog()' 175 | extern void closelog (void); | ^~~~~~~~ gmake[2]: *** [CMakeFiles/cmTC_9a60f.dir/build.make:78: CMakeFiles/cmTC_9a60f.dir/src.cxx.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_9a60f/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include #include extern "C" { int openlog(const char* ident, int logopt, int facility); int syslog(int priority, const char* message_fmt, ...); int closelog(); } int main() { return 0; } Determining if files pcap-int.h exist failed with the following output: Change Dir: /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_4430e/fast && gmake[1]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_4430e.dir/build.make CMakeFiles/cmTC_4430e.dir/build gmake[2]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4430e.dir/HAVE_PCAP_INT_H.c.o /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_4430e.dir/HAVE_PCAP_INT_H.c.o -c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_PCAP_INT_H.c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CheckIncludeFiles/HAVE_PCAP_INT_H.c:2:10: fatal error: pcap-int.h: No such file or directory 2 | #include | ^~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_4430e.dir/build.make:78: CMakeFiles/cmTC_4430e.dir/HAVE_PCAP_INT_H.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_4430e/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source: /* */ #include int main(void){return 0;} Performing C SOURCE FILE Test LIBPCAP_PCAP_COMPILE_NOPCAP_HAS_ERROR_PARAMETER failed with the following output: Change Dir: /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_089e0/fast && gmake[1]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_089e0.dir/build.make CMakeFiles/cmTC_089e0.dir/build gmake[2]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_089e0.dir/src.c.o /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -DLIBPCAP_PCAP_COMPILE_NOPCAP_HAS_ERROR_PARAMETER -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -DNDEBUG -o CMakeFiles/cmTC_089e0.dir/src.c.o -c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function 'main': /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:16:5: warning: 'pcap_compile_nopcap' is deprecated: use pcap_open_dead(), pcap_compile() and pcap_close() [-Wdeprecated-declarations] 16 | (void)pcap_compile_nopcap( | ^ In file included from /tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/pcap.h:43, from /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:2: /tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/pcap/pcap.h:618:14: note: declared here 618 | PCAP_API int pcap_compile_nopcap(int, int, struct bpf_program *, | ^~~~~~~~~~~~~~~~~~~ /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:16:11: error: too many arguments to function 'pcap_compile_nopcap' 16 | (void)pcap_compile_nopcap( | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/pcap.h:43, from /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:2: /tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/pcap/pcap.h:618:14: note: declared here 618 | PCAP_API int pcap_compile_nopcap(int, int, struct bpf_program *, | ^~~~~~~~~~~~~~~~~~~ gmake[2]: *** [CMakeFiles/cmTC_089e0.dir/build.make:78: CMakeFiles/cmTC_089e0.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_089e0/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include int main () { int snaplen; int linktype; struct bpf_program fp; int optimize; bpf_u_int32 netmask; char str[10]; char error[1024]; snaplen = 50; linktype = DLT_EN10MB; optimize = 1; netmask = 0L; str[0] = 'i'; str[1] = 'p'; str[2] = '\0'; (void)pcap_compile_nopcap( snaplen, linktype, &fp, str, optimize, netmask, &error); return 0; } Determining if the function kqueue exists failed with the following output: Change Dir: /tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_8dae1/fast && gmake[1]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_8dae1.dir/build.make CMakeFiles/cmTC_8dae1.dir/build gmake[2]: Entering directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8dae1.dir/CheckFunctionExists.c.o /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -DCHECK_FUNCTION_EXISTS=kqueue -DNDEBUG -o CMakeFiles/cmTC_8dae1.dir/CheckFunctionExists.c.o -c /tmp/instance-13/output-1/host/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_8dae1 /tmp/instance-13/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8dae1.dir/link.txt --verbose=1 /tmp/instance-13/output-1/host/bin/aarch64-none-linux-gnu-gcc --sysroot=/tmp/instance-13/output-1/host/aarch64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -DCHECK_FUNCTION_EXISTS=kqueue -DNDEBUG CMakeFiles/cmTC_8dae1.dir/CheckFunctionExists.c.o -o cmTC_8dae1 /tmp/instance-13/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin/ld: CMakeFiles/cmTC_8dae1.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text+0x14): undefined reference to `kqueue' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_8dae1.dir/build.make:99: cmTC_8dae1] Error 1 gmake[2]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:127: cmTC_8dae1/fast] Error 2 gmake[1]: Leaving directory '/tmp/instance-13/output-1/build/zeek-4.1.1/buildroot-build/CMakeFiles/CMakeTmp'