Performing C++ SOURCE FILE Test ICONV_SECOND_ARGUMENT_IS_CONST failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_18a75/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_18a75.dir/build.make CMakeFiles/cmTC_18a75.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_18a75.dir/src.cxx.o /home/buildroot/autobuild/run/instance-3/output/host/bin/powerpc-linux-g++ --sysroot=/home/buildroot/autobuild/run/instance-3/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_18a75.dir/src.cxx.o -c /home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx /home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /home/buildroot/autobuild/run/instance-3/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/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx:2:0: /home/buildroot/autobuild/run/instance-3/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); ^ make[2]: *** [CMakeFiles/cmTC_18a75.dir/src.cxx.o] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_18a75/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/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/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_bcc1f/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_bcc1f.dir/build.make CMakeFiles/cmTC_bcc1f.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_bcc1f.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-3/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/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_bcc1f.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-3/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_bcc1f /home/buildroot/autobuild/run/instance-3/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bcc1f.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-3/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output/host/powerpc-buildroot-linux-uclibc/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=fseek64 -DNDEBUG -rdynamic CMakeFiles/cmTC_bcc1f.dir/CheckFunctionExists.c.o -o cmTC_bcc1f CMakeFiles/cmTC_bcc1f.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x1c): undefined reference to `fseek64' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_bcc1f] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_bcc1f/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Determining if the fseeko exist failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_736ac/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_736ac.dir/build.make CMakeFiles/cmTC_736ac.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_736ac.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-3/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -o CMakeFiles/cmTC_736ac.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/run/instance-3/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/run/instance-3/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 make[2]: *** [CMakeFiles/cmTC_736ac.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_736ac/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-3/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/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_f0587/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_f0587.dir/build.make CMakeFiles/cmTC_f0587.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f0587.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-3/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/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_f0587.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-3/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_f0587 /home/buildroot/autobuild/run/instance-3/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f0587.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-3/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output/host/powerpc-buildroot-linux-uclibc/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=ftell64 -DNDEBUG -rdynamic CMakeFiles/cmTC_f0587.dir/CheckFunctionExists.c.o -o cmTC_f0587 CMakeFiles/cmTC_f0587.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x1c): undefined reference to `ftell64' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_f0587] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_f0587/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/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/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_0e1e2/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_0e1e2.dir/build.make CMakeFiles/cmTC_0e1e2.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0e1e2.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-3/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/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_0e1e2.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-3/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_0e1e2 /home/buildroot/autobuild/run/instance-3/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0e1e2.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-3/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output/host/powerpc-buildroot-linux-uclibc/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcpy_s -DNDEBUG -rdynamic CMakeFiles/cmTC_0e1e2.dir/CheckFunctionExists.c.o -o cmTC_0e1e2 CMakeFiles/cmTC_0e1e2.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x1c): undefined reference to `strcpy_s' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_0e1e2] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_0e1e2/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/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/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_c3184/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_c3184.dir/build.make CMakeFiles/cmTC_c3184.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c3184.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-3/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/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_c3184.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-3/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_c3184 /home/buildroot/autobuild/run/instance-3/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c3184.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-3/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output/host/powerpc-buildroot-linux-uclibc/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcat_s -DNDEBUG -rdynamic CMakeFiles/cmTC_c3184.dir/CheckFunctionExists.c.o -o cmTC_c3184 CMakeFiles/cmTC_c3184.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x1c): undefined reference to `strcat_s' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_c3184] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_c3184/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/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/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_3d432/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_3d432.dir/build.make CMakeFiles/cmTC_3d432.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3d432.dir/src.c.o /home/buildroot/autobuild/run/instance-3/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/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_3d432.dir/src.c.o -c /home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.c /home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.c:1:10: fatal error: ndir.h: No such file or directory #include ^~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_3d432.dir/src.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_3d432/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/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/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_a6172/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a6172.dir/build.make CMakeFiles/cmTC_a6172.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a6172.dir/src.c.o /home/buildroot/autobuild/run/instance-3/output/host/bin/powerpc-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/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_a6172.dir/src.c.o -c /home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.c /home/buildroot/autobuild/run/instance-3/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. make[2]: *** [CMakeFiles/cmTC_a6172.dir/src.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_a6172/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Source file was: #include int main(int argc, char *argv[]) { DIR* d = 0; return 0; }