Determining if the function getpeereid exists failed with the following output: Change Dir: /home/mark/buildroot-test/instance-0/output/build/sysrepo-0.7.8/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_27cd7/fast" make[1]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/sysrepo-0.7.8/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_27cd7.dir/build.make CMakeFiles/cmTC_27cd7.dir/build make[2]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/sysrepo-0.7.8/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_27cd7.dir/CheckFunctionExists.c.o /home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-gcc --sysroot=/home/mark/buildroot-test/instance-0/output/host/riscv32-buildroot-linux-gnu/sysroot -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Wall -Wpedantic -std=gnu11 -Wno-language-extension-token -Wno-strict-aliasing -DCHECK_FUNCTION_EXISTS=getpeereid -o CMakeFiles/cmTC_27cd7.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.12/Modules/CheckFunctionExists.c Linking C executable cmTC_27cd7 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_27cd7.dir/link.txt --verbose=1 /home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-gcc --sysroot=/home/mark/buildroot-test/instance-0/output/host/riscv32-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Wall -Wpedantic -std=gnu11 -Wno-language-extension-token -Wno-strict-aliasing -DCHECK_FUNCTION_EXISTS=getpeereid CMakeFiles/cmTC_27cd7.dir/CheckFunctionExists.c.o -o cmTC_27cd7 -lpthread /home/mark/buildroot-test/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_27cd7.dir/CheckFunctionExists.c.o: in function `main': /usr/share/cmake-3.12/Modules/CheckFunctionExists.c:17: undefined reference to `getpeereid' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_27cd7.dir/build.make:87: cmTC_27cd7] Error 1 make[2]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/sysrepo-0.7.8/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_27cd7/fast] Error 2 make[1]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/sysrepo-0.7.8/CMakeFiles/CMakeTmp' Determining if the function getpeerucred exists failed with the following output: Change Dir: /home/mark/buildroot-test/instance-0/output/build/sysrepo-0.7.8/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_5be98/fast" make[1]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/sysrepo-0.7.8/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_5be98.dir/build.make CMakeFiles/cmTC_5be98.dir/build make[2]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/sysrepo-0.7.8/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5be98.dir/CheckFunctionExists.c.o /home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-gcc --sysroot=/home/mark/buildroot-test/instance-0/output/host/riscv32-buildroot-linux-gnu/sysroot -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Wall -Wpedantic -std=gnu11 -Wno-language-extension-token -Wno-strict-aliasing -DCHECK_FUNCTION_EXISTS=getpeerucred -o CMakeFiles/cmTC_5be98.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.12/Modules/CheckFunctionExists.c Linking C executable cmTC_5be98 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5be98.dir/link.txt --verbose=1 /home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-gcc --sysroot=/home/mark/buildroot-test/instance-0/output/host/riscv32-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Wall -Wpedantic -std=gnu11 -Wno-language-extension-token -Wno-strict-aliasing -DCHECK_FUNCTION_EXISTS=getpeerucred CMakeFiles/cmTC_5be98.dir/CheckFunctionExists.c.o -o cmTC_5be98 -lpthread /home/mark/buildroot-test/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv32-buildroot-linux-gnu/7.4.0/../../../../riscv32-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_5be98.dir/CheckFunctionExists.c.o: in function `main': /usr/share/cmake-3.12/Modules/CheckFunctionExists.c:17: undefined reference to `getpeerucred' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_5be98.dir/build.make:87: cmTC_5be98] Error 1 make[2]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/sysrepo-0.7.8/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_5be98/fast] Error 2 make[1]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/sysrepo-0.7.8/CMakeFiles/CMakeTmp' Determining if files ucred.h exist failed with the following output: Change Dir: /home/mark/buildroot-test/instance-0/output/build/sysrepo-0.7.8/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_74b83/fast" make[1]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/sysrepo-0.7.8/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_74b83.dir/build.make CMakeFiles/cmTC_74b83.dir/build make[2]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/sysrepo-0.7.8/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_74b83.dir/HAVE_UCRED_H.c.o /home/mark/buildroot-test/instance-0/output/host/bin/riscv32-linux-gcc --sysroot=/home/mark/buildroot-test/instance-0/output/host/riscv32-buildroot-linux-gnu/sysroot -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Wall -Wpedantic -std=gnu11 -Wno-language-extension-token -Wno-strict-aliasing -o CMakeFiles/cmTC_74b83.dir/HAVE_UCRED_H.c.o -c /home/mark/buildroot-test/instance-0/output/build/sysrepo-0.7.8/CMakeFiles/CheckIncludeFiles/HAVE_UCRED_H.c /home/mark/buildroot-test/instance-0/output/build/sysrepo-0.7.8/CMakeFiles/CheckIncludeFiles/HAVE_UCRED_H.c:2:10: fatal error: ucred.h: No such file or directory #include ^~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_74b83.dir/build.make:66: CMakeFiles/cmTC_74b83.dir/HAVE_UCRED_H.c.o] Error 1 make[2]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/sysrepo-0.7.8/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_74b83/fast] Error 2 make[1]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/sysrepo-0.7.8/CMakeFiles/CMakeTmp' Source: /* */ #include int main(void){return 0;}