Determining if the function basename_r exists failed with the following output: Change Dir: /tmp/instance-1/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_43140/fast && make[1]: Entering directory '/tmp/instance-1/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_43140.dir/build.make CMakeFiles/cmTC_43140.dir/build make[2]: Entering directory '/tmp/instance-1/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_43140.dir/CheckFunctionExists.c.o /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc --sysroot=/tmp/instance-1/output-1/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DCHECK_FUNCTION_EXISTS=basename_r -DNDEBUG -o CMakeFiles/cmTC_43140.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c Linking C executable cmTC_43140 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_43140.dir/link.txt --verbose=1 /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc --sysroot=/tmp/instance-1/output-1/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DCHECK_FUNCTION_EXISTS=basename_r -DNDEBUG CMakeFiles/cmTC_43140.dir/CheckFunctionExists.c.o -o cmTC_43140 /tmp/instance-1/output-1/host/lib/gcc/powerpc-buildroot-linux-uclibc/10.3.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: CMakeFiles/cmTC_43140.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x28): undefined reference to `basename_r' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_43140.dir/build.make:87: cmTC_43140] Error 1 make[2]: Leaving directory '/tmp/instance-1/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_43140/fast] Error 2 make[1]: Leaving directory '/tmp/instance-1/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp' Determining if the function getrpcent exists failed with the following output: Change Dir: /tmp/instance-1/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_34205/fast && make[1]: Entering directory '/tmp/instance-1/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_34205.dir/build.make CMakeFiles/cmTC_34205.dir/build make[2]: Entering directory '/tmp/instance-1/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_34205.dir/CheckFunctionExists.c.o /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc --sysroot=/tmp/instance-1/output-1/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DCHECK_FUNCTION_EXISTS=getrpcent -DNDEBUG -o CMakeFiles/cmTC_34205.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c Linking C executable cmTC_34205 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_34205.dir/link.txt --verbose=1 /tmp/instance-1/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc --sysroot=/tmp/instance-1/output-1/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DCHECK_FUNCTION_EXISTS=getrpcent -DNDEBUG CMakeFiles/cmTC_34205.dir/CheckFunctionExists.c.o -o cmTC_34205 /tmp/instance-1/output-1/host/lib/gcc/powerpc-buildroot-linux-uclibc/10.3.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: CMakeFiles/cmTC_34205.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x28): undefined reference to `getrpcent' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_34205.dir/build.make:87: cmTC_34205] Error 1 make[2]: Leaving directory '/tmp/instance-1/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_34205/fast] Error 2 make[1]: Leaving directory '/tmp/instance-1/output-1/build/snort3-3.1.6.0/CMakeFiles/CMakeTmp'