Performing C++ SOURCE FILE Test ICONV_SECOND_ARGUMENT_IS_CONST failed with the following output: Change Dir: /home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_ee60f/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_ee60f.dir/build.make CMakeFiles/cmTC_ee60f.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_ee60f.dir/src.cxx.o /home/buildroot/autobuild/instance-2/output/host/bin/m68k-linux-g++ --sysroot=/home/buildroot/autobuild/instance-2/output/host/m68k-buildroot-uclinux-uclibc/sysroot -fno-exceptions -fno-check-new -fno-common -D_DEFAULT_SOURCE -DICONV_SECOND_ARGUMENT_IS_CONST -DNDEBUG -o CMakeFiles/cmTC_ee60f.dir/src.cxx.o -c /home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx /home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /home/buildroot/autobuild/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 /home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx:2:0: /home/buildroot/autobuild/instance-2/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/iconv.h:20:1: note: initializing argument 2 of 'size_t iconv(iconv_t, char**, size_t*, char**, size_t*)' iconv(iconv_t cd, char **inbuf, size_t *inbytesleft, ^~~~~ CMakeFiles/cmTC_ee60f.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_ee60f.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_ee60f.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_ee60f/fast' failed make[1]: *** [cmTC_ee60f/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/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 files dlfcn.h exist failed with the following output: Change Dir: /home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_a51af/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a51af.dir/build.make CMakeFiles/cmTC_a51af.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a51af.dir/CheckIncludeFiles.c.o /home/buildroot/autobuild/instance-2/output/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/autobuild/instance-2/output/host/m68k-buildroot-uclinux-uclibc/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -o CMakeFiles/cmTC_a51af.dir/CheckIncludeFiles.c.o -c /home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/CheckIncludeFiles.c /home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/CheckIncludeFiles.c:2:10: fatal error: dlfcn.h: No such file or directory #include ^~~~~~~~~ compilation terminated. CMakeFiles/cmTC_a51af.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_a51af.dir/CheckIncludeFiles.c.o' failed make[2]: *** [CMakeFiles/cmTC_a51af.dir/CheckIncludeFiles.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_a51af/fast' failed make[1]: *** [cmTC_a51af/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Source: /* */ #include int main(void){return 0;} Determining if the function fseek64 exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_55624/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_55624.dir/build.make CMakeFiles/cmTC_55624.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_55624.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-2/output/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/autobuild/instance-2/output/host/m68k-buildroot-uclinux-uclibc/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=fseek64 -DNDEBUG -o CMakeFiles/cmTC_55624.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-2/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_55624 /home/buildroot/autobuild/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_55624.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-2/output/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/autobuild/instance-2/output/host/m68k-buildroot-uclinux-uclibc/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=fseek64 -DNDEBUG -Wl,-elf2flt -static -rdynamic CMakeFiles/cmTC_55624.dir/CheckFunctionExists.c.o -o cmTC_55624 CMakeFiles/cmTC_55624.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x6): undefined reference to `fseek64' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_55624.dir/build.make:97: recipe for target 'cmTC_55624' failed make[2]: *** [cmTC_55624] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_55624/fast' failed make[1]: *** [cmTC_55624/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Determining if the fseeko exist failed with the following output: Change Dir: /home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_46a7c/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_46a7c.dir/build.make CMakeFiles/cmTC_46a7c.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_46a7c.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/instance-2/output/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/autobuild/instance-2/output/host/m68k-buildroot-uclinux-uclibc/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -o CMakeFiles/cmTC_46a7c.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/instance-2/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-2/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_46a7c.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_46a7c.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_46a7c.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_46a7c/fast' failed make[1]: *** [cmTC_46a7c/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/instance-2/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-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_f846e/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_f846e.dir/build.make CMakeFiles/cmTC_f846e.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f846e.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-2/output/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/autobuild/instance-2/output/host/m68k-buildroot-uclinux-uclibc/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=ftell64 -DNDEBUG -o CMakeFiles/cmTC_f846e.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-2/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_f846e /home/buildroot/autobuild/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f846e.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-2/output/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/autobuild/instance-2/output/host/m68k-buildroot-uclinux-uclibc/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=ftell64 -DNDEBUG -Wl,-elf2flt -static -rdynamic CMakeFiles/cmTC_f846e.dir/CheckFunctionExists.c.o -o cmTC_f846e CMakeFiles/cmTC_f846e.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x6): undefined reference to `ftell64' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_f846e.dir/build.make:97: recipe for target 'cmTC_f846e' failed make[2]: *** [cmTC_f846e] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_f846e/fast' failed make[1]: *** [cmTC_f846e/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/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-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_76587/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_76587.dir/build.make CMakeFiles/cmTC_76587.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_76587.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-2/output/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/autobuild/instance-2/output/host/m68k-buildroot-uclinux-uclibc/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcpy_s -DNDEBUG -o CMakeFiles/cmTC_76587.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-2/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_76587 /home/buildroot/autobuild/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_76587.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-2/output/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/autobuild/instance-2/output/host/m68k-buildroot-uclinux-uclibc/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcpy_s -DNDEBUG -Wl,-elf2flt -static -rdynamic CMakeFiles/cmTC_76587.dir/CheckFunctionExists.c.o -o cmTC_76587 CMakeFiles/cmTC_76587.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x6): undefined reference to `strcpy_s' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_76587.dir/build.make:97: recipe for target 'cmTC_76587' failed make[2]: *** [cmTC_76587] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_76587/fast' failed make[1]: *** [cmTC_76587/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/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-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_91495/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_91495.dir/build.make CMakeFiles/cmTC_91495.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_91495.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-2/output/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/autobuild/instance-2/output/host/m68k-buildroot-uclinux-uclibc/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcat_s -DNDEBUG -o CMakeFiles/cmTC_91495.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-2/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_91495 /home/buildroot/autobuild/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_91495.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-2/output/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/autobuild/instance-2/output/host/m68k-buildroot-uclinux-uclibc/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcat_s -DNDEBUG -Wl,-elf2flt -static -rdynamic CMakeFiles/cmTC_91495.dir/CheckFunctionExists.c.o -o cmTC_91495 CMakeFiles/cmTC_91495.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x6): undefined reference to `strcat_s' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_91495.dir/build.make:97: recipe for target 'cmTC_91495' failed make[2]: *** [cmTC_91495] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_91495/fast' failed make[1]: *** [cmTC_91495/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/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: /home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_99bab/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_99bab.dir/build.make CMakeFiles/cmTC_99bab.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_99bab.dir/src.c.o /home/buildroot/autobuild/instance-2/output/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/autobuild/instance-2/output/host/m68k-buildroot-uclinux-uclibc/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DHAVE_NDIR_H -DNDEBUG -o CMakeFiles/cmTC_99bab.dir/src.c.o -c /home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.c /home/buildroot/autobuild/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. CMakeFiles/cmTC_99bab.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_99bab.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_99bab.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_99bab/fast' failed make[1]: *** [cmTC_99bab/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/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: /home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_9c277/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_9c277.dir/build.make CMakeFiles/cmTC_9c277.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_9c277.dir/src.c.o /home/buildroot/autobuild/instance-2/output/host/bin/m68k-linux-gcc --sysroot=/home/buildroot/autobuild/instance-2/output/host/m68k-buildroot-uclinux-uclibc/sysroot -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -D_DEFAULT_SOURCE -DHAVE_SYS_NDIR_H -DNDEBUG -o CMakeFiles/cmTC_9c277.dir/src.c.o -c /home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.c /home/buildroot/autobuild/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. CMakeFiles/cmTC_9c277.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_9c277.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_9c277.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_9c277/fast' failed make[1]: *** [cmTC_9c277/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/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; }