Determining if the pthread_create exist failed with the following output: Change Dir: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_a0c6a/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_a0c6a.dir/build.make CMakeFiles/cmTC_a0c6a.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a0c6a.dir/CheckSymbolExists.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/riscv32-linux-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/riscv32-buildroot-linux-gnu/sysroot -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -o CMakeFiles/cmTC_a0c6a.dir/CheckSymbolExists.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_a0c6a /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a0c6a.dir/link.txt --verbose=1 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/riscv32-linux-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/riscv32-buildroot-linux-gnu/sysroot -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -rdynamic CMakeFiles/cmTC_a0c6a.dir/CheckSymbolExists.c.o -o cmTC_a0c6a CMakeFiles/cmTC_a0c6a.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text+0x1c): undefined reference to `pthread_create' CheckSymbolExists.c:(.text+0x20): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status gmake[2]: *** [cmTC_a0c6a] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_a0c6a/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' File /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef pthread_create return ((int*)(&pthread_create))[argc]; #else (void)argc; return 0; #endif } Determining if compiler accepts -pthread returned PLEASE_FILL_OUT-FAILED_TO_RUN instead of 2. The compiler had the following output: Change Dir: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_6af8b/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_6af8b.dir/build.make CMakeFiles/cmTC_6af8b.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6af8b.dir/CheckForPthreads.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/riscv32-linux-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/riscv32-buildroot-linux-gnu/sysroot -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -o CMakeFiles/cmTC_6af8b.dir/CheckForPthreads.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/share/cmake-3.8/Modules/CheckForPthreads.c Linking C executable cmTC_6af8b /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6af8b.dir/link.txt --verbose=1 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/riscv32-linux-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/riscv32-buildroot-linux-gnu/sysroot -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -rdynamic CMakeFiles/cmTC_6af8b.dir/CheckForPthreads.c.o -o cmTC_6af8b -pthread gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Performing C++ SOURCE FILE Test ICONV_SECOND_ARGUMENT_IS_CONST failed with the following output: Change Dir: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_85bfa/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_85bfa.dir/build.make CMakeFiles/cmTC_85bfa.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_85bfa.dir/src.cxx.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/riscv32-linux-g++ --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/riscv32-buildroot-linux-gnu/sysroot -fno-exceptions -fno-check-new -fno-common -D_DEFAULT_SOURCE -DICONV_SECOND_ARGUMENT_IS_CONST -DNDEBUG -o CMakeFiles/cmTC_85bfa.dir/src.cxx.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx:9:17: error: invalid conversion from 'const char**' to 'char**' [-fpermissive] iconv(conv, &in, &ilen, &out, &olen); ^~~ In file included from /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx:2:0: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/iconv.h:42:15: note: initializing argument 2 of 'size_t iconv(iconv_t, char**, size_t*, char**, size_t*)' extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, ^~~~~ gmake[2]: *** [CMakeFiles/cmTC_85bfa.dir/src.cxx.o] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_85bfa/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Source file was: #include int main(){ iconv_t conv = 0; const char* in = 0; size_t ilen = 0; char* out = 0; size_t olen = 0; iconv(conv, &in, &ilen, &out, &olen); return 0; } Determining if the function fseek64 exists failed with the following output: Change Dir: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_e9332/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_e9332.dir/build.make CMakeFiles/cmTC_e9332.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e9332.dir/CheckFunctionExists.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/riscv32-linux-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/riscv32-buildroot-linux-gnu/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=fseek64 -DNDEBUG -o CMakeFiles/cmTC_e9332.dir/CheckFunctionExists.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_e9332 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e9332.dir/link.txt --verbose=1 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/riscv32-linux-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/riscv32-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=fseek64 -DNDEBUG -rdynamic CMakeFiles/cmTC_e9332.dir/CheckFunctionExists.c.o -o cmTC_e9332 CMakeFiles/cmTC_e9332.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x18): undefined reference to `fseek64' collect2: error: ld returned 1 exit status gmake[2]: *** [cmTC_e9332] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_e9332/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Determining if the function ftell64 exists failed with the following output: Change Dir: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_19e5b/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_19e5b.dir/build.make CMakeFiles/cmTC_19e5b.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_19e5b.dir/CheckFunctionExists.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/riscv32-linux-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/riscv32-buildroot-linux-gnu/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=ftell64 -DNDEBUG -o CMakeFiles/cmTC_19e5b.dir/CheckFunctionExists.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_19e5b /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_19e5b.dir/link.txt --verbose=1 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/riscv32-linux-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/riscv32-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=ftell64 -DNDEBUG -rdynamic CMakeFiles/cmTC_19e5b.dir/CheckFunctionExists.c.o -o cmTC_19e5b CMakeFiles/cmTC_19e5b.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x18): undefined reference to `ftell64' collect2: error: ld returned 1 exit status gmake[2]: *** [cmTC_19e5b] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_19e5b/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Determining if the function strcpy_s exists failed with the following output: Change Dir: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_031c8/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_031c8.dir/build.make CMakeFiles/cmTC_031c8.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_031c8.dir/CheckFunctionExists.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/riscv32-linux-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/riscv32-buildroot-linux-gnu/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcpy_s -DNDEBUG -o CMakeFiles/cmTC_031c8.dir/CheckFunctionExists.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_031c8 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_031c8.dir/link.txt --verbose=1 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/riscv32-linux-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/riscv32-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcpy_s -DNDEBUG -rdynamic CMakeFiles/cmTC_031c8.dir/CheckFunctionExists.c.o -o cmTC_031c8 CMakeFiles/cmTC_031c8.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x18): undefined reference to `strcpy_s' collect2: error: ld returned 1 exit status gmake[2]: *** [cmTC_031c8] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_031c8/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Determining if the function strcat_s exists failed with the following output: Change Dir: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_39b99/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_39b99.dir/build.make CMakeFiles/cmTC_39b99.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_39b99.dir/CheckFunctionExists.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/riscv32-linux-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/riscv32-buildroot-linux-gnu/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcat_s -DNDEBUG -o CMakeFiles/cmTC_39b99.dir/CheckFunctionExists.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_39b99 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_39b99.dir/link.txt --verbose=1 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/riscv32-linux-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/riscv32-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcat_s -DNDEBUG -rdynamic CMakeFiles/cmTC_39b99.dir/CheckFunctionExists.c.o -o cmTC_39b99 CMakeFiles/cmTC_39b99.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x18): undefined reference to `strcat_s' collect2: error: ld returned 1 exit status gmake[2]: *** [cmTC_39b99] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_39b99/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test HAVE_NDIR_H failed with the following output: Change Dir: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_2904c/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_2904c.dir/build.make CMakeFiles/cmTC_2904c.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2904c.dir/src.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/riscv32-linux-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/riscv32-buildroot-linux-gnu/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DHAVE_NDIR_H -DNDEBUG -o CMakeFiles/cmTC_2904c.dir/src.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.c:1:10: fatal error: ndir.h: No such file or directory #include ^~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_2904c.dir/src.c.o] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_2904c/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Source file was: #include int main(int argc, char *argv[]) { DIR* d = 0; return 0; } Performing C SOURCE FILE Test HAVE_SYS_NDIR_H failed with the following output: Change Dir: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_8547a/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_8547a.dir/build.make CMakeFiles/cmTC_8547a.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8547a.dir/src.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/riscv32-linux-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/riscv32-buildroot-linux-gnu/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DHAVE_SYS_NDIR_H -DNDEBUG -o CMakeFiles/cmTC_8547a.dir/src.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.c:1:10: fatal error: sys/ndir.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_8547a.dir/src.c.o] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_8547a/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Source file was: #include int main(int argc, char *argv[]) { DIR* d = 0; return 0; }