Determining if the system is big endian passed with the following output: Change Dir: /var/uhubuild/work/compile/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec4263695634/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec4263695634.dir/build.make CMakeFiles/cmTryCompileExec4263695634.dir/build make[1]: Entering directory `/var/uhubuild/work/compile/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/uhubuild/work/compile/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4263695634.dir/TestEndianess.c.o /usr/lib/ccache/cc -o CMakeFiles/cmTryCompileExec4263695634.dir/TestEndianess.c.o -c /var/uhubuild/work/compile/CMakeFiles/CMakeTmp/TestEndianess.c Linking C executable cmTryCompileExec4263695634 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4263695634.dir/link.txt --verbose=1 /usr/lib/ccache/cc CMakeFiles/cmTryCompileExec4263695634.dir/TestEndianess.c.o -o cmTryCompileExec4263695634 -rdynamic make[1]: Leaving directory `/var/uhubuild/work/compile/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 pthread_create exist failed with the following output: Change Dir: /var/uhubuild/work/compile/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec2331234153/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec2331234153.dir/build.make CMakeFiles/cmTryCompileExec2331234153.dir/build make[1]: Entering directory `/var/uhubuild/work/compile/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/uhubuild/work/compile/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2331234153.dir/CheckSymbolExists.c.o /usr/lib/ccache/cc -o CMakeFiles/cmTryCompileExec2331234153.dir/CheckSymbolExists.c.o -c /var/uhubuild/work/compile/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec2331234153 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2331234153.dir/link.txt --verbose=1 /usr/lib/ccache/cc CMakeFiles/cmTryCompileExec2331234153.dir/CheckSymbolExists.c.o -o cmTryCompileExec2331234153 -rdynamic CMakeFiles/cmTryCompileExec2331234153.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text+0xa): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status make[1]: Leaving directory `/var/uhubuild/work/compile/CMakeFiles/CMakeTmp' make[1]: *** [cmTryCompileExec2331234153] Error 1 make: *** [cmTryCompileExec2331234153/fast] Error 2 File /var/uhubuild/work/compile/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/uhubuild/work/compile/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec2170277262/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec2170277262.dir/build.make CMakeFiles/cmTryCompileExec2170277262.dir/build make[1]: Entering directory `/var/uhubuild/work/compile/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/uhubuild/work/compile/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2170277262.dir/CheckFunctionExists.c.o /usr/lib/ccache/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec2170277262.dir/CheckFunctionExists.c.o -c /usr/share/cmake-2.8/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec2170277262 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2170277262.dir/link.txt --verbose=1 /usr/lib/ccache/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec2170277262.dir/CheckFunctionExists.c.o -o cmTryCompileExec2170277262 -rdynamic -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status make[1]: Leaving directory `/var/uhubuild/work/compile/CMakeFiles/CMakeTmp' make[1]: *** [cmTryCompileExec2170277262] Error 1 make: *** [cmTryCompileExec2170277262/fast] Error 2 Performing C++ SOURCE FILE Test HAVE_ICONV_CONST failed with the following output: Change Dir: /var/uhubuild/work/compile/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec127020992/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec127020992.dir/build.make CMakeFiles/cmTryCompileExec127020992.dir/build make[1]: Entering directory `/var/uhubuild/work/compile/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/uhubuild/work/compile/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec127020992.dir/src.cxx.o /usr/lib/ccache/c++ -DHAVE_ICONV_CONST -o CMakeFiles/cmTryCompileExec127020992.dir/src.cxx.o -c /var/uhubuild/work/compile/CMakeFiles/CMakeTmp/src.cxx /var/uhubuild/work/compile/CMakeFiles/CMakeTmp/src.cxx:4:97: error: new declaration 'double iconv(iconv_t, char**, size_t*, char**, size_t*)' double iconv(iconv_t cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft); ^ In file included from /var/uhubuild/work/compile/CMakeFiles/CMakeTmp/src.cxx:2:0: /usr/include/iconv.h:42:15: error: ambiguates old declaration 'size_t iconv(iconv_t, char**, size_t*, char**, size_t*)' extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, ^ make[1]: *** [CMakeFiles/cmTryCompileExec127020992.dir/src.cxx.o] Error 1 make[1]: Leaving directory `/var/uhubuild/work/compile/CMakeFiles/CMakeTmp' make: *** [cmTryCompileExec127020992/fast] Error 2 Source file was: #include // this declaration will fail when there already exists a non const char** version which returns size_t double iconv(iconv_t cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft); int main() { return 0; }