Performing C++ SOURCE FILE Test ICONV_SECOND_ARGUMENT_IS_CONST failed with the following output: Change Dir: /home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_96c1b/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_96c1b.dir/build.make CMakeFiles/cmTC_96c1b.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_96c1b.dir/src.cxx.o /home/buildroot/build/instance-0/output/host/bin/powerpc-linux-g++ --sysroot=/home/buildroot/build/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -fno-exceptions -fno-check-new -fno-common -D_DEFAULT_SOURCE -DICONV_SECOND_ARGUMENT_IS_CONST -DNDEBUG -o CMakeFiles/cmTC_96c1b.dir/src.cxx.o -c /home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx /home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /home/buildroot/build/instance-0/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 /home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx:2:0: /home/buildroot/build/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot/usr/include/iconv.h:82:15: note: initializing argument 2 of 'size_t libiconv(libiconv_t, char**, size_t*, char**, size_t*)' extern size_t iconv (iconv_t cd, char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); ^ CMakeFiles/cmTC_96c1b.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_96c1b.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_96c1b.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_96c1b/fast' failed make[1]: *** [cmTC_96c1b/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/instance-0/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: /home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_94d90/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_94d90.dir/build.make CMakeFiles/cmTC_94d90.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_94d90.dir/CheckFunctionExists.c.o /home/buildroot/build/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=fseek64 -DNDEBUG -o CMakeFiles/cmTC_94d90.dir/CheckFunctionExists.c.o -c /home/buildroot/build/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_94d90 /home/buildroot/build/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_94d90.dir/link.txt --verbose=1 /home/buildroot/build/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=fseek64 -DNDEBUG -static -rdynamic CMakeFiles/cmTC_94d90.dir/CheckFunctionExists.c.o -o cmTC_94d90 CMakeFiles/cmTC_94d90.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x1c): undefined reference to `fseek64' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_94d90.dir/build.make:97: recipe for target 'cmTC_94d90' failed make[2]: *** [cmTC_94d90] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_94d90/fast' failed make[1]: *** [cmTC_94d90/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Determining if the fseeko exist failed with the following output: Change Dir: /home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_c32a0/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_c32a0.dir/build.make CMakeFiles/cmTC_c32a0.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c32a0.dir/CheckSymbolExists.c.o /home/buildroot/build/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -o CMakeFiles/cmTC_c32a0.dir/CheckSymbolExists.c.o -c /home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'fseeko' undeclared (first use in this function); did you mean 'fseek'? return ((int*)(&fseeko))[argc]; ^~~~~~ fseek /home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTC_c32a0.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_c32a0.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_c32a0.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_c32a0/fast' failed make[1]: *** [cmTC_c32a0/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' File /home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef fseeko return ((int*)(&fseeko))[argc]; #else (void)argc; return 0; #endif } Determining if the function ftell64 exists failed with the following output: Change Dir: /home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_30963/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_30963.dir/build.make CMakeFiles/cmTC_30963.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_30963.dir/CheckFunctionExists.c.o /home/buildroot/build/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=ftell64 -DNDEBUG -o CMakeFiles/cmTC_30963.dir/CheckFunctionExists.c.o -c /home/buildroot/build/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_30963 /home/buildroot/build/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_30963.dir/link.txt --verbose=1 /home/buildroot/build/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=ftell64 -DNDEBUG -static -rdynamic CMakeFiles/cmTC_30963.dir/CheckFunctionExists.c.o -o cmTC_30963 CMakeFiles/cmTC_30963.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x1c): undefined reference to `ftell64' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_30963.dir/build.make:97: recipe for target 'cmTC_30963' failed make[2]: *** [cmTC_30963] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_30963/fast' failed make[1]: *** [cmTC_30963/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Determining if the function strcpy_s exists failed with the following output: Change Dir: /home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_77622/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_77622.dir/build.make CMakeFiles/cmTC_77622.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_77622.dir/CheckFunctionExists.c.o /home/buildroot/build/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcpy_s -DNDEBUG -o CMakeFiles/cmTC_77622.dir/CheckFunctionExists.c.o -c /home/buildroot/build/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_77622 /home/buildroot/build/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_77622.dir/link.txt --verbose=1 /home/buildroot/build/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcpy_s -DNDEBUG -static -rdynamic CMakeFiles/cmTC_77622.dir/CheckFunctionExists.c.o -o cmTC_77622 CMakeFiles/cmTC_77622.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x1c): undefined reference to `strcpy_s' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_77622.dir/build.make:97: recipe for target 'cmTC_77622' failed make[2]: *** [cmTC_77622] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_77622/fast' failed make[1]: *** [cmTC_77622/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Determining if the function strcat_s exists failed with the following output: Change Dir: /home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_c53b9/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_c53b9.dir/build.make CMakeFiles/cmTC_c53b9.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c53b9.dir/CheckFunctionExists.c.o /home/buildroot/build/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcat_s -DNDEBUG -o CMakeFiles/cmTC_c53b9.dir/CheckFunctionExists.c.o -c /home/buildroot/build/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_c53b9 /home/buildroot/build/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c53b9.dir/link.txt --verbose=1 /home/buildroot/build/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcat_s -DNDEBUG -static -rdynamic CMakeFiles/cmTC_c53b9.dir/CheckFunctionExists.c.o -o cmTC_c53b9 CMakeFiles/cmTC_c53b9.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x1c): undefined reference to `strcat_s' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_c53b9.dir/build.make:97: recipe for target 'cmTC_c53b9' failed make[2]: *** [cmTC_c53b9] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_c53b9/fast' failed make[1]: *** [cmTC_c53b9/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test HAVE_NDIR_H failed with the following output: Change Dir: /home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_bfa3d/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_bfa3d.dir/build.make CMakeFiles/cmTC_bfa3d.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_bfa3d.dir/src.c.o /home/buildroot/build/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DHAVE_NDIR_H -DNDEBUG -o CMakeFiles/cmTC_bfa3d.dir/src.c.o -c /home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.c /home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.c:1:10: fatal error: ndir.h: No such file or directory #include ^~~~~~~~ compilation terminated. CMakeFiles/cmTC_bfa3d.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_bfa3d.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_bfa3d.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_bfa3d/fast' failed make[1]: *** [cmTC_bfa3d/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/instance-0/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: /home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_fbe67/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_fbe67.dir/build.make CMakeFiles/cmTC_fbe67.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_fbe67.dir/src.c.o /home/buildroot/build/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DHAVE_SYS_NDIR_H -DNDEBUG -o CMakeFiles/cmTC_fbe67.dir/src.c.o -c /home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.c /home/buildroot/build/instance-0/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. CMakeFiles/cmTC_fbe67.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_fbe67.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_fbe67.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_fbe67/fast' failed make[1]: *** [cmTC_fbe67/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Source file was: #include int main(int argc, char *argv[]) { DIR* d = 0; return 0; }