Determining if the PHYSFS_getPrefDir exist failed with the following output: Change Dir: /home/peko/autobuild/instance-0/output/build/supertux-0.6.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_0227c/fast" make[1]: Entering directory '/home/peko/autobuild/instance-0/output/build/supertux-0.6.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_0227c.dir/build.make CMakeFiles/cmTC_0227c.dir/build make[2]: Entering directory '/home/peko/autobuild/instance-0/output/build/supertux-0.6.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0227c.dir/CheckSymbolExists.c.o /home/peko/autobuild/instance-0/output/host/bin/mips64el-linux-gcc --sysroot=/home/peko/autobuild/instance-0/output/host/mips64el-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_0227c.dir/CheckSymbolExists.c.o -c /home/peko/autobuild/instance-0/output/build/supertux-0.6.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_0227c /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0227c.dir/link.txt --verbose=1 /home/peko/autobuild/instance-0/output/host/bin/mips64el-linux-gcc --sysroot=/home/peko/autobuild/instance-0/output/host/mips64el-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG CMakeFiles/cmTC_0227c.dir/CheckSymbolExists.c.o -o cmTC_0227c -rdynamic CMakeFiles/cmTC_0227c.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text.startup+0xc): undefined reference to `PHYSFS_getPrefDir' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_0227c.dir/build.make:97: recipe for target 'cmTC_0227c' failed make[2]: *** [cmTC_0227c] Error 1 make[2]: Leaving directory '/home/peko/autobuild/instance-0/output/build/supertux-0.6.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_0227c/fast' failed make[1]: *** [cmTC_0227c/fast] Error 2 make[1]: Leaving directory '/home/peko/autobuild/instance-0/output/build/supertux-0.6.0/CMakeFiles/CMakeTmp' File /home/peko/autobuild/instance-0/output/build/supertux-0.6.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef PHYSFS_getPrefDir return ((int*)(&PHYSFS_getPrefDir))[argc]; #else (void)argc; return 0; #endif } Performing C++ SOURCE FILE Test HAVE_ICONV_CONST failed with the following output: Change Dir: /home/peko/autobuild/instance-0/output/build/supertux-0.6.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_bb66d/fast" make[1]: Entering directory '/home/peko/autobuild/instance-0/output/build/supertux-0.6.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_bb66d.dir/build.make CMakeFiles/cmTC_bb66d.dir/build make[2]: Entering directory '/home/peko/autobuild/instance-0/output/build/supertux-0.6.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_bb66d.dir/src.cxx.o /home/peko/autobuild/instance-0/output/host/bin/mips64el-linux-g++ --sysroot=/home/peko/autobuild/instance-0/output/host/mips64el-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DHAVE_ICONV_CONST -DNDEBUG -o CMakeFiles/cmTC_bb66d.dir/src.cxx.o -c /home/peko/autobuild/instance-0/output/build/supertux-0.6.0/CMakeFiles/CMakeTmp/src.cxx /home/peko/autobuild/instance-0/output/build/supertux-0.6.0/CMakeFiles/CMakeTmp/src.cxx:4:98: error: ambiguating new declaration of '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 /home/peko/autobuild/instance-0/output/build/supertux-0.6.0/CMakeFiles/CMakeTmp/src.cxx:2:0: /home/peko/autobuild/instance-0/output/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/iconv.h:20:1: note: old declaration 'size_t iconv(iconv_t, char**, size_t*, char**, size_t*)' iconv(iconv_t cd, char **inbuf, size_t *inbytesleft, ^ CMakeFiles/cmTC_bb66d.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_bb66d.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_bb66d.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/peko/autobuild/instance-0/output/build/supertux-0.6.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_bb66d/fast' failed make[1]: *** [cmTC_bb66d/fast] Error 2 make[1]: Leaving directory '/home/peko/autobuild/instance-0/output/build/supertux-0.6.0/CMakeFiles/CMakeTmp' 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; }