Determining if the pthread_create exist failed with the following output: Change Dir: /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTryCompileExec4147720620/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec4147720620.dir/build.make CMakeFiles/cmTryCompileExec4147720620.dir/build gmake[1]: Entering directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4147720620.dir/CheckSymbolExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -std=c99 -o CMakeFiles/cmTryCompileExec4147720620.dir/CheckSymbolExists.c.o -c /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec4147720620 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4147720620.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -std=c99 -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTryCompileExec4147720620.dir/CheckSymbolExists.c.o -o cmTryCompileExec4147720620 -rdynamic CMakeFiles/cmTryCompileExec4147720620.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text.startup+0x6): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status CMakeFiles/cmTryCompileExec4147720620.dir/build.make:88: recipe for target 'cmTryCompileExec4147720620' failed gmake[1]: Leaving directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTryCompileExec4147720620] Error 1 Makefile:118: recipe for target 'cmTryCompileExec4147720620/fast' failed gmake: *** [cmTryCompileExec4147720620/fast] Error 2 File /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/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 the function pthread_create exists in the pthreads failed with the following output: Change Dir: /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTryCompileExec1847692714/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec1847692714.dir/build.make CMakeFiles/cmTryCompileExec1847692714.dir/build gmake[1]: Entering directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1847692714.dir/CheckFunctionExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -std=c99 -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec1847692714.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec1847692714 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1847692714.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -std=c99 -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTryCompileExec1847692714.dir/CheckFunctionExists.c.o -o cmTryCompileExec1847692714 -rdynamic -lpthreads /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status CMakeFiles/cmTryCompileExec1847692714.dir/build.make:88: recipe for target 'cmTryCompileExec1847692714' failed gmake[1]: Leaving directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTryCompileExec1847692714] Error 1 Makefile:118: recipe for target 'cmTryCompileExec1847692714/fast' failed gmake: *** [cmTryCompileExec1847692714/fast] Error 2 Determining if the system is big endian passed with the following output: Change Dir: /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTryCompileExec2245280219/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec2245280219.dir/build.make CMakeFiles/cmTryCompileExec2245280219.dir/build gmake[1]: Entering directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2245280219.dir/TestEndianess.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -std=c99 -o CMakeFiles/cmTryCompileExec2245280219.dir/TestEndianess.c.o -c /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/TestEndianess.c Linking C executable cmTryCompileExec2245280219 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2245280219.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -std=c99 -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTryCompileExec2245280219.dir/TestEndianess.c.o -o cmTryCompileExec2245280219 -rdynamic gmake[1]: Leaving directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' TestEndianess.c: /* A 16 bit integer is required. */ typedef unsigned short cmakeint16; /* On a little endian machine, these 16bit ints will give "THIS IS LITTLE ENDIAN." On a big endian machine the characters will be exchanged pairwise. */ const cmakeint16 info_little[] = {0x4854, 0x5349, 0x4920, 0x2053, 0x494c, 0x5454, 0x454c, 0x4520, 0x444e, 0x4149, 0x2e4e, 0x0000}; /* on a big endian machine, these 16bit ints will give "THIS IS BIG ENDIAN." On a little endian machine the characters will be exchanged pairwise. */ const cmakeint16 info_big[] = {0x5448, 0x4953, 0x2049, 0x5320, 0x4249, 0x4720, 0x454e, 0x4449, 0x414e, 0x2e2e, 0x0000}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_little[argc]; require += info_big[argc]; (void)argv; return require; } Determining if the Q_WS_WIN exist failed with the following output: Change Dir: /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTryCompileExec4112703176/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec4112703176.dir/build.make CMakeFiles/cmTryCompileExec4112703176.dir/build gmake[1]: Entering directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4112703176.dir/CheckSymbolExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -std=c99 -I/usr/include/qt4 -o CMakeFiles/cmTryCompileExec4112703176.dir/CheckSymbolExists.c.o -c /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’: /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘Q_WS_WIN’ undeclared (first use in this function) return ((int*)(&Q_WS_WIN))[argc]; ^ /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTryCompileExec4112703176.dir/build.make:57: recipe for target 'CMakeFiles/cmTryCompileExec4112703176.dir/CheckSymbolExists.c.o' failed gmake[1]: Leaving directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' gmake[1]: *** [CMakeFiles/cmTryCompileExec4112703176.dir/CheckSymbolExists.c.o] Error 1 Makefile:118: recipe for target 'cmTryCompileExec4112703176/fast' failed gmake: *** [cmTryCompileExec4112703176/fast] Error 2 File /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef Q_WS_WIN return ((int*)(&Q_WS_WIN))[argc]; #else (void)argc; return 0; #endif } Determining if the Q_WS_QWS exist failed with the following output: Change Dir: /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTryCompileExec1358561186/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec1358561186.dir/build.make CMakeFiles/cmTryCompileExec1358561186.dir/build gmake[1]: Entering directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1358561186.dir/CheckSymbolExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -std=c99 -I/usr/include/qt4 -o CMakeFiles/cmTryCompileExec1358561186.dir/CheckSymbolExists.c.o -c /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’: /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘Q_WS_QWS’ undeclared (first use in this function) return ((int*)(&Q_WS_QWS))[argc]; ^ /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTryCompileExec1358561186.dir/build.make:57: recipe for target 'CMakeFiles/cmTryCompileExec1358561186.dir/CheckSymbolExists.c.o' failed gmake[1]: *** [CMakeFiles/cmTryCompileExec1358561186.dir/CheckSymbolExists.c.o] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' Makefile:118: recipe for target 'cmTryCompileExec1358561186/fast' failed gmake: *** [cmTryCompileExec1358561186/fast] Error 2 File /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef Q_WS_QWS return ((int*)(&Q_WS_QWS))[argc]; #else (void)argc; return 0; #endif } Determining if the Q_WS_MAC exist failed with the following output: Change Dir: /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTryCompileExec1766432736/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec1766432736.dir/build.make CMakeFiles/cmTryCompileExec1766432736.dir/build gmake[1]: Entering directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1766432736.dir/CheckSymbolExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -std=c99 -I/usr/include/qt4 -o CMakeFiles/cmTryCompileExec1766432736.dir/CheckSymbolExists.c.o -c /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’: /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘Q_WS_MAC’ undeclared (first use in this function) return ((int*)(&Q_WS_MAC))[argc]; ^ /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CMakeFiles/cmTryCompileExec1766432736.dir/build.make:57: recipe for target 'CMakeFiles/cmTryCompileExec1766432736.dir/CheckSymbolExists.c.o' failed gmake[1]: Leaving directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' gmake[1]: *** [CMakeFiles/cmTryCompileExec1766432736.dir/CheckSymbolExists.c.o] Error 1 Makefile:118: recipe for target 'cmTryCompileExec1766432736/fast' failed gmake: *** [cmTryCompileExec1766432736/fast] Error 2 File /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef Q_WS_MAC return ((int*)(&Q_WS_MAC))[argc]; #else (void)argc; return 0; #endif } Performing C++ SOURCE FILE Test ICONV_SECOND_ARGUMENT_IS_CONST failed with the following output: Change Dir: /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTryCompileExec2091462414/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec2091462414.dir/build.make CMakeFiles/cmTryCompileExec2091462414.dir/build gmake[1]: Entering directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec2091462414.dir/src.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -DNDEBUG -O2 -pipe -Wnon-virtual-dtor -Woverloaded-virtual -DICONV_SECOND_ARGUMENT_IS_CONST -o CMakeFiles/cmTryCompileExec2091462414.dir/src.cxx.o -c /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/src.cxx /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’: /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/src.cxx:9:40: error: invalid conversion from ‘const char**’ to ‘char**’ [-fpermissive] iconv(conv, &in, &ilen, &out, &olen); ^ In file included from /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/src.cxx:2:0: /usr/include/iconv.h:42:15: 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, ^ CMakeFiles/cmTryCompileExec2091462414.dir/build.make:57: recipe for target 'CMakeFiles/cmTryCompileExec2091462414.dir/src.cxx.o' failed gmake[1]: Leaving directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' gmake[1]: *** [CMakeFiles/cmTryCompileExec2091462414.dir/src.cxx.o] Error 1 Makefile:118: recipe for target 'cmTryCompileExec2091462414/fast' failed gmake: *** [cmTryCompileExec2091462414/fast] Error 2 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: /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTryCompileExec3053432927/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec3053432927.dir/build.make CMakeFiles/cmTryCompileExec3053432927.dir/build gmake[1]: Entering directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3053432927.dir/CheckFunctionExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -Wall -O2 -pipe -std=c99 -DCHECK_FUNCTION_EXISTS=fseek64 -o CMakeFiles/cmTryCompileExec3053432927.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec3053432927 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3053432927.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-gcc -Wall -O2 -pipe -std=c99 -DCHECK_FUNCTION_EXISTS=fseek64 -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTryCompileExec3053432927.dir/CheckFunctionExists.c.o -o cmTryCompileExec3053432927 -rdynamic CMakeFiles/cmTryCompileExec3053432927.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup+0xe): undefined reference to `fseek64' collect2: error: ld returned 1 exit status CMakeFiles/cmTryCompileExec3053432927.dir/build.make:88: recipe for target 'cmTryCompileExec3053432927' failed gmake[1]: Leaving directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTryCompileExec3053432927] Error 1 Makefile:118: recipe for target 'cmTryCompileExec3053432927/fast' failed gmake: *** [cmTryCompileExec3053432927/fast] Error 2 Determining if the function ftell64 exists failed with the following output: Change Dir: /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTryCompileExec4002319390/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec4002319390.dir/build.make CMakeFiles/cmTryCompileExec4002319390.dir/build gmake[1]: Entering directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4002319390.dir/CheckFunctionExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -Wall -O2 -pipe -std=c99 -DCHECK_FUNCTION_EXISTS=ftell64 -o CMakeFiles/cmTryCompileExec4002319390.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec4002319390 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4002319390.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-gcc -Wall -O2 -pipe -std=c99 -DCHECK_FUNCTION_EXISTS=ftell64 -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTryCompileExec4002319390.dir/CheckFunctionExists.c.o -o cmTryCompileExec4002319390 -rdynamic CMakeFiles/cmTryCompileExec4002319390.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup+0xe): undefined reference to `ftell64' collect2: error: ld returned 1 exit status CMakeFiles/cmTryCompileExec4002319390.dir/build.make:88: recipe for target 'cmTryCompileExec4002319390' failed gmake[1]: Leaving directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTryCompileExec4002319390] Error 1 Makefile:118: recipe for target 'cmTryCompileExec4002319390/fast' failed gmake: *** [cmTryCompileExec4002319390/fast] Error 2 Determining if the function strcpy_s exists failed with the following output: Change Dir: /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTryCompileExec472677187/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec472677187.dir/build.make CMakeFiles/cmTryCompileExec472677187.dir/build gmake[1]: Entering directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec472677187.dir/CheckFunctionExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -Wall -O2 -pipe -std=c99 -DCHECK_FUNCTION_EXISTS=strcpy_s -o CMakeFiles/cmTryCompileExec472677187.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec472677187 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec472677187.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-gcc -Wall -O2 -pipe -std=c99 -DCHECK_FUNCTION_EXISTS=strcpy_s -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTryCompileExec472677187.dir/CheckFunctionExists.c.o -o cmTryCompileExec472677187 -rdynamic CMakeFiles/cmTryCompileExec472677187.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup+0xe): undefined reference to `strcpy_s' collect2: error: ld returned 1 exit status CMakeFiles/cmTryCompileExec472677187.dir/build.make:88: recipe for target 'cmTryCompileExec472677187' failed gmake[1]: Leaving directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' Makefile:118: recipe for target 'cmTryCompileExec472677187/fast' failed gmake[1]: *** [cmTryCompileExec472677187] Error 1 gmake: *** [cmTryCompileExec472677187/fast] Error 2 Determining if the function strcat_s exists failed with the following output: Change Dir: /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTryCompileExec63497802/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec63497802.dir/build.make CMakeFiles/cmTryCompileExec63497802.dir/build gmake[1]: Entering directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec63497802.dir/CheckFunctionExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -Wall -O2 -pipe -std=c99 -DCHECK_FUNCTION_EXISTS=strcat_s -o CMakeFiles/cmTryCompileExec63497802.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec63497802 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec63497802.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-gcc -Wall -O2 -pipe -std=c99 -DCHECK_FUNCTION_EXISTS=strcat_s -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTryCompileExec63497802.dir/CheckFunctionExists.c.o -o cmTryCompileExec63497802 -rdynamic CMakeFiles/cmTryCompileExec63497802.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup+0xe): undefined reference to `strcat_s' collect2: error: ld returned 1 exit status CMakeFiles/cmTryCompileExec63497802.dir/build.make:88: recipe for target 'cmTryCompileExec63497802' failed gmake[1]: Leaving directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' Makefile:118: recipe for target 'cmTryCompileExec63497802/fast' failed gmake[1]: *** [cmTryCompileExec63497802] Error 1 gmake: *** [cmTryCompileExec63497802/fast] Error 2 Performing C SOURCE FILE Test HAVE_NDIR_H failed with the following output: Change Dir: /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTryCompileExec258632955/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec258632955.dir/build.make CMakeFiles/cmTryCompileExec258632955.dir/build gmake[1]: Entering directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec258632955.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -Wall -O2 -pipe -std=c99 -DHAVE_NDIR_H -o CMakeFiles/cmTryCompileExec258632955.dir/src.c.o -c /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/src.c /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/src.c:1:18: fatal error: ndir.h: No such file or directory #include ^ compilation terminated. CMakeFiles/cmTryCompileExec258632955.dir/build.make:57: recipe for target 'CMakeFiles/cmTryCompileExec258632955.dir/src.c.o' failed gmake[1]: Leaving directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' gmake[1]: *** [CMakeFiles/cmTryCompileExec258632955.dir/src.c.o] Error 1 Makefile:118: recipe for target 'cmTryCompileExec258632955/fast' failed gmake: *** [cmTryCompileExec258632955/fast] Error 2 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: /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTryCompileExec2612860862/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec2612860862.dir/build.make CMakeFiles/cmTryCompileExec2612860862.dir/build gmake[1]: Entering directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2612860862.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -Wall -O2 -pipe -std=c99 -DHAVE_SYS_NDIR_H -o CMakeFiles/cmTryCompileExec2612860862.dir/src.c.o -c /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/src.c /var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp/src.c:1:22: fatal error: sys/ndir.h: No such file or directory #include ^ compilation terminated. CMakeFiles/cmTryCompileExec2612860862.dir/build.make:57: recipe for target 'CMakeFiles/cmTryCompileExec2612860862.dir/src.c.o' failed gmake[1]: Leaving directory '/var/tmp/portage/app-text/poppler-0.30.0/work/poppler-0.30.0_build/CMakeFiles/CMakeTmp' gmake[1]: *** [CMakeFiles/cmTryCompileExec2612860862.dir/src.c.o] Error 1 Makefile:118: recipe for target 'cmTryCompileExec2612860862/fast' failed gmake: *** [cmTryCompileExec2612860862/fast] Error 2 Source file was: #include int main(int argc, char *argv[]) { DIR* d = 0; return 0; }