Performing C++ SOURCE FILE Test ICONV_SECOND_ARGUMENT_IS_CONST failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_b4812/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_b4812.dir/build.make CMakeFiles/cmTC_b4812.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_b4812.dir/src.cxx.o /home/buildroot/autobuild/instance-0/output/host/bin/powerpc-linux-g++ --sysroot=/home/buildroot/autobuild/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_b4812.dir/src.cxx.o -c /home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx /home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /home/buildroot/autobuild/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/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx:2:0: /home/buildroot/autobuild/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_b4812.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_b4812.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_b4812.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_b4812/fast' failed make[1]: *** [cmTC_b4812/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/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/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_19d67/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_19d67.dir/build.make CMakeFiles/cmTC_19d67.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_19d67.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/autobuild/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_19d67.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_19d67 /home/buildroot/autobuild/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_19d67.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=fseek64 -DNDEBUG -rdynamic CMakeFiles/cmTC_19d67.dir/CheckFunctionExists.c.o -o cmTC_19d67 CMakeFiles/cmTC_19d67.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x1c): undefined reference to `fseek64' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_19d67.dir/build.make:97: recipe for target 'cmTC_19d67' failed make[2]: *** [cmTC_19d67] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_19d67/fast' failed make[1]: *** [cmTC_19d67/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Determining if the fseeko exist failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_8338b/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_8338b.dir/build.make CMakeFiles/cmTC_8338b.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8338b.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -o CMakeFiles/cmTC_8338b.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/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/autobuild/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_8338b.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_8338b.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_8338b.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_8338b/fast' failed make[1]: *** [cmTC_8338b/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/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/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_0fd9a/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_0fd9a.dir/build.make CMakeFiles/cmTC_0fd9a.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0fd9a.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/autobuild/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_0fd9a.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_0fd9a /home/buildroot/autobuild/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0fd9a.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=ftell64 -DNDEBUG -rdynamic CMakeFiles/cmTC_0fd9a.dir/CheckFunctionExists.c.o -o cmTC_0fd9a CMakeFiles/cmTC_0fd9a.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x1c): undefined reference to `ftell64' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_0fd9a.dir/build.make:97: recipe for target 'cmTC_0fd9a' failed make[2]: *** [cmTC_0fd9a] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_0fd9a/fast' failed make[1]: *** [cmTC_0fd9a/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/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/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_75937/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_75937.dir/build.make CMakeFiles/cmTC_75937.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_75937.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/autobuild/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_75937.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_75937 /home/buildroot/autobuild/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_75937.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcpy_s -DNDEBUG -rdynamic CMakeFiles/cmTC_75937.dir/CheckFunctionExists.c.o -o cmTC_75937 CMakeFiles/cmTC_75937.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_75937.dir/build.make:97: recipe for target 'cmTC_75937' failed make[2]: *** [cmTC_75937] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_75937/fast' failed make[1]: *** [cmTC_75937/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/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/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_27985/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_27985.dir/build.make CMakeFiles/cmTC_27985.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_27985.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/autobuild/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_27985.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_27985 /home/buildroot/autobuild/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_27985.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcat_s -DNDEBUG -rdynamic CMakeFiles/cmTC_27985.dir/CheckFunctionExists.c.o -o cmTC_27985 CMakeFiles/cmTC_27985.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_27985.dir/build.make:97: recipe for target 'cmTC_27985' failed make[2]: *** [cmTC_27985] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_27985/fast' failed make[1]: *** [cmTC_27985/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/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/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_487f7/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_487f7.dir/build.make CMakeFiles/cmTC_487f7.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_487f7.dir/src.c.o /home/buildroot/autobuild/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/autobuild/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_487f7.dir/src.c.o -c /home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.c /home/buildroot/autobuild/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_487f7.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_487f7.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_487f7.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_487f7/fast' failed make[1]: *** [cmTC_487f7/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/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/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_72f07/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_72f07.dir/build.make CMakeFiles/cmTC_72f07.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_72f07.dir/src.c.o /home/buildroot/autobuild/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/autobuild/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_72f07.dir/src.c.o -c /home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.c /home/buildroot/autobuild/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_72f07.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_72f07.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_72f07.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_72f07/fast' failed make[1]: *** [cmTC_72f07/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/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; }