Determining if the function malloc_trim exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_41885/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_41885.dir/build.make CMakeFiles/cmTC_41885.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_41885.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-3/output-1/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/output-1/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DCHECK_FUNCTION_EXISTS=malloc_trim -DNDEBUG -o CMakeFiles/cmTC_41885.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-3/output-1/host/share/cmake-3.16/Modules/CheckFunctionExists.c Linking C executable cmTC_41885 /home/buildroot/autobuild/instance-3/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_41885.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-3/output-1/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/output-1/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DCHECK_FUNCTION_EXISTS=malloc_trim -DNDEBUG CMakeFiles/cmTC_41885.dir/CheckFunctionExists.c.o -o cmTC_41885 /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-musl/9.3.0/../../../../x86_64-buildroot-linux-musl/bin/ld: CMakeFiles/cmTC_41885.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x9): undefined reference to `malloc_trim' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_41885.dir/build.make:89: recipe for target 'cmTC_41885' failed make[2]: *** [cmTC_41885] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp' Makefile:124: recipe for target 'cmTC_41885/fast' failed make[1]: *** [cmTC_41885/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp' Determining if the function basename_r exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_1c456/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_1c456.dir/build.make CMakeFiles/cmTC_1c456.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1c456.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-3/output-1/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/output-1/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DCHECK_FUNCTION_EXISTS=basename_r -DNDEBUG -o CMakeFiles/cmTC_1c456.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-3/output-1/host/share/cmake-3.16/Modules/CheckFunctionExists.c Linking C executable cmTC_1c456 /home/buildroot/autobuild/instance-3/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1c456.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-3/output-1/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/output-1/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DCHECK_FUNCTION_EXISTS=basename_r -DNDEBUG CMakeFiles/cmTC_1c456.dir/CheckFunctionExists.c.o -o cmTC_1c456 /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-musl/9.3.0/../../../../x86_64-buildroot-linux-musl/bin/ld: CMakeFiles/cmTC_1c456.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x9): undefined reference to `basename_r' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_1c456.dir/build.make:89: recipe for target 'cmTC_1c456' failed make[2]: *** [cmTC_1c456] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp' Makefile:124: recipe for target 'cmTC_1c456/fast' failed make[1]: *** [cmTC_1c456/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp' Performing C++ SOURCE FILE Test HAVE_GNU_STRERROR_R failed with the following output: Change Dir: /home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_1c9a5/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_1c9a5.dir/build.make CMakeFiles/cmTC_1c9a5.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_1c9a5.dir/src.cxx.o /home/buildroot/autobuild/instance-3/output-1/host/bin/x86_64-linux-g++ --sysroot=/home/buildroot/autobuild/instance-3/output-1/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DHAVE_GNU_STRERROR_R -DNDEBUG -o CMakeFiles/cmTC_1c9a5.dir/src.cxx.o -c /home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp/src.cxx /home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp/src.cxx:11:59: error: invalid types 'int[int]' for array subscript 11 | check(strerror_r(EACCES, buffer, sizeof(buffer))[0]); | ^ CMakeFiles/cmTC_1c9a5.dir/build.make:68: recipe for target 'CMakeFiles/cmTC_1c9a5.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_1c9a5.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp' Makefile:124: recipe for target 'cmTC_1c9a5/fast' failed make[1]: *** [cmTC_1c9a5/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp' Source file was: #include #include void check(char c) {} int main() { char buffer[1024]; /* This will not compile if strerror_r does not return a char* */ check(strerror_r(EACCES, buffer, sizeof(buffer))[0]); return 0; } Determining if the function getrpcent exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_27c38/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_27c38.dir/build.make CMakeFiles/cmTC_27c38.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_27c38.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-3/output-1/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/output-1/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DCHECK_FUNCTION_EXISTS=getrpcent -DNDEBUG -o CMakeFiles/cmTC_27c38.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-3/output-1/host/share/cmake-3.16/Modules/CheckFunctionExists.c Linking C executable cmTC_27c38 /home/buildroot/autobuild/instance-3/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_27c38.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-3/output-1/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/output-1/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DCHECK_FUNCTION_EXISTS=getrpcent -DNDEBUG CMakeFiles/cmTC_27c38.dir/CheckFunctionExists.c.o -o cmTC_27c38 /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-musl/9.3.0/../../../../x86_64-buildroot-linux-musl/bin/ld: CMakeFiles/cmTC_27c38.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x9): undefined reference to `getrpcent' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_27c38.dir/build.make:89: recipe for target 'cmTC_27c38' failed make[2]: *** [cmTC_27c38] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp' Makefile:124: recipe for target 'cmTC_27c38/fast' failed make[1]: *** [cmTC_27c38/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp'