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_78bb7/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_78bb7.dir/build.make CMakeFiles/cmTC_78bb7.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_78bb7.dir/CheckSymbolExists.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/aarch64-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/aarch64-buildroot-linux-gnu/sysroot -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -o CMakeFiles/cmTC_78bb7.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_78bb7 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_78bb7.dir/link.txt --verbose=1 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/aarch64-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/aarch64-buildroot-linux-gnu/sysroot -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -rdynamic CMakeFiles/cmTC_78bb7.dir/CheckSymbolExists.c.o -o cmTC_78bb7 CMakeFiles/cmTC_78bb7.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text+0x14): undefined reference to `pthread_create' CheckSymbolExists.c:(.text+0x18): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status gmake[2]: *** [cmTC_78bb7] 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_78bb7/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_80cde/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_80cde.dir/build.make CMakeFiles/cmTC_80cde.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_80cde.dir/CheckForPthreads.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/aarch64-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/aarch64-buildroot-linux-gnu/sysroot -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -o CMakeFiles/cmTC_80cde.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_80cde /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_80cde.dir/link.txt --verbose=1 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/aarch64-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/aarch64-buildroot-linux-gnu/sysroot -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -rdynamic CMakeFiles/cmTC_80cde.dir/CheckForPthreads.c.o -o cmTC_80cde -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_b69f4/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_b69f4.dir/build.make CMakeFiles/cmTC_b69f4.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_b69f4.dir/src.cxx.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/aarch64-linux-gnu-g++ --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/aarch64-buildroot-linux-gnu/sysroot -fno-exceptions -fno-check-new -fno-common -D_DEFAULT_SOURCE -DICONV_SECOND_ARGUMENT_IS_CONST -DNDEBUG -o CMakeFiles/cmTC_b69f4.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: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/iconv.h:42:54: 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_b69f4.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_b69f4/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_a1ca3/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_a1ca3.dir/build.make CMakeFiles/cmTC_a1ca3.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_a1ca3.dir/CheckFunctionExists.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/aarch64-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/aarch64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=fseek64 -DNDEBUG -o CMakeFiles/cmTC_a1ca3.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_a1ca3 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a1ca3.dir/link.txt --verbose=1 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/aarch64-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/aarch64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=fseek64 -DNDEBUG -rdynamic CMakeFiles/cmTC_a1ca3.dir/CheckFunctionExists.c.o -o cmTC_a1ca3 CMakeFiles/cmTC_a1ca3.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x10): undefined reference to `fseek64' collect2: error: ld returned 1 exit status gmake[2]: *** [cmTC_a1ca3] 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_a1ca3/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_d9b37/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_d9b37.dir/build.make CMakeFiles/cmTC_d9b37.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_d9b37.dir/CheckFunctionExists.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/aarch64-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/aarch64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=ftell64 -DNDEBUG -o CMakeFiles/cmTC_d9b37.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_d9b37 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d9b37.dir/link.txt --verbose=1 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/aarch64-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/aarch64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=ftell64 -DNDEBUG -rdynamic CMakeFiles/cmTC_d9b37.dir/CheckFunctionExists.c.o -o cmTC_d9b37 CMakeFiles/cmTC_d9b37.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x10): undefined reference to `ftell64' collect2: error: ld returned 1 exit status gmake[2]: *** [cmTC_d9b37] 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_d9b37/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_e52f8/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_e52f8.dir/build.make CMakeFiles/cmTC_e52f8.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_e52f8.dir/CheckFunctionExists.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/aarch64-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/aarch64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcpy_s -DNDEBUG -o CMakeFiles/cmTC_e52f8.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_e52f8 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e52f8.dir/link.txt --verbose=1 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/aarch64-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/aarch64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcpy_s -DNDEBUG -rdynamic CMakeFiles/cmTC_e52f8.dir/CheckFunctionExists.c.o -o cmTC_e52f8 CMakeFiles/cmTC_e52f8.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x10): undefined reference to `strcpy_s' collect2: error: ld returned 1 exit status gmake[2]: *** [cmTC_e52f8] 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_e52f8/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_27cba/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_27cba.dir/build.make CMakeFiles/cmTC_27cba.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_27cba.dir/CheckFunctionExists.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/aarch64-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/aarch64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcat_s -DNDEBUG -o CMakeFiles/cmTC_27cba.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_27cba /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_27cba.dir/link.txt --verbose=1 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/aarch64-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/aarch64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcat_s -DNDEBUG -rdynamic CMakeFiles/cmTC_27cba.dir/CheckFunctionExists.c.o -o cmTC_27cba CMakeFiles/cmTC_27cba.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x10): undefined reference to `strcat_s' collect2: error: ld returned 1 exit status gmake[2]: *** [cmTC_27cba] 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_27cba/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_76709/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_76709.dir/build.make CMakeFiles/cmTC_76709.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_76709.dir/src.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/aarch64-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/aarch64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DHAVE_NDIR_H -DNDEBUG -o CMakeFiles/cmTC_76709.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_76709.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_76709/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_9db57/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_9db57.dir/build.make CMakeFiles/cmTC_9db57.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_9db57.dir/src.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/aarch64-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/aarch64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DHAVE_SYS_NDIR_H -DNDEBUG -o CMakeFiles/cmTC_9db57.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_9db57.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_9db57/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; }