Determining if the function sin exists failed with the following output: Change Dir: /var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_8c0e6/fast" /usr/bin/gmake -f CMakeFiles/cmTC_8c0e6.dir/build.make CMakeFiles/cmTC_8c0e6.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8c0e6.dir/CheckFunctionExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -DNDEBUG -march=native -O2 -pipe -DCHECK_FUNCTION_EXISTS=sin -o CMakeFiles/cmTC_8c0e6.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c :0:23: warning: conflicting types for built-in function 'sin' /usr/share/cmake/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro 'CHECK_FUNCTION_EXISTS' CHECK_FUNCTION_EXISTS(); ^ Linking C executable cmTC_8c0e6 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8c0e6.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DCHECK_FUNCTION_EXISTS=sin -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_8c0e6.dir/CheckFunctionExists.c.o -o cmTC_8c0e6 -rdynamic CMakeFiles/cmTC_8c0e6.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup+0xe): undefined reference to `sin' collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_8c0e6.dir/build.make:98: cmTC_8c0e6] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:126: cmTC_8c0e6/fast] Error 2 Performing C++ SOURCE FILE Test MGL_HAVE_RVAL failed with the following output: Change Dir: /var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_af623/fast" /usr/bin/gmake -f CMakeFiles/cmTC_af623.dir/build.make CMakeFiles/cmTC_af623.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_af623.dir/src.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -DNDEBUG -DNDEBUG -march=native -O2 -pipe -DMGL_HAVE_RVAL -o CMakeFiles/cmTC_af623.dir/src.cxx.o -c /var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp/src.cxx /var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp/src.cxx:1:34: error: expected ',' or '...' before '&&' token struct test { test() {} test(test&& a){} }; ^ /var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp/src.cxx:1:38: error: invalid constructor; you probably meant 'test (const test&)' struct test { test() {} test(test&& a){} }; ^ gmake[1]: *** [CMakeFiles/cmTC_af623.dir/build.make:66: CMakeFiles/cmTC_af623.dir/src.cxx.o] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:126: cmTC_af623/fast] Error 2 Source file was: struct test { test() {} test(test&& a){} }; int main() { test t; return 0; } Determining if the Q_WS_WIN exist failed with the following output: Change Dir: /var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_65d39/fast" /usr/bin/gmake -f CMakeFiles/cmTC_65d39.dir/build.make CMakeFiles/cmTC_65d39.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_65d39.dir/CheckSymbolExists.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -I/usr/include/qt4 -DNDEBUG -DNDEBUG -march=native -O2 -pipe -fopenmp -fvisibility=hidden -fvisibility-inlines-hidden -pthread -fvisibility=hidden -fvisibility-inlines-hidden -o CMakeFiles/cmTC_65d39.dir/CheckSymbolExists.cxx.o -c /var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function 'int main(int, char**)': /var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: 'Q_WS_WIN' was not declared in this scope return ((int*)(&Q_WS_WIN))[argc]; ^ gmake[1]: *** [CMakeFiles/cmTC_65d39.dir/build.make:66: CMakeFiles/cmTC_65d39.dir/CheckSymbolExists.cxx.o] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:126: cmTC_65d39/fast] Error 2 File /var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #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/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_d3f57/fast" /usr/bin/gmake -f CMakeFiles/cmTC_d3f57.dir/build.make CMakeFiles/cmTC_d3f57.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_d3f57.dir/CheckSymbolExists.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -I/usr/include/qt4 -DNDEBUG -DNDEBUG -march=native -O2 -pipe -fopenmp -fvisibility=hidden -fvisibility-inlines-hidden -pthread -fvisibility=hidden -fvisibility-inlines-hidden -o CMakeFiles/cmTC_d3f57.dir/CheckSymbolExists.cxx.o -c /var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function 'int main(int, char**)': /var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: 'Q_WS_QWS' was not declared in this scope return ((int*)(&Q_WS_QWS))[argc]; ^ gmake[1]: *** [CMakeFiles/cmTC_d3f57.dir/build.make:66: CMakeFiles/cmTC_d3f57.dir/CheckSymbolExists.cxx.o] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:126: cmTC_d3f57/fast] Error 2 File /var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #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/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_63353/fast" /usr/bin/gmake -f CMakeFiles/cmTC_63353.dir/build.make CMakeFiles/cmTC_63353.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_63353.dir/CheckSymbolExists.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -I/usr/include/qt4 -DNDEBUG -DNDEBUG -march=native -O2 -pipe -fopenmp -fvisibility=hidden -fvisibility-inlines-hidden -pthread -fvisibility=hidden -fvisibility-inlines-hidden -o CMakeFiles/cmTC_63353.dir/CheckSymbolExists.cxx.o -c /var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function 'int main(int, char**)': /var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: 'Q_WS_MAC' was not declared in this scope return ((int*)(&Q_WS_MAC))[argc]; ^ gmake[1]: *** [CMakeFiles/cmTC_63353.dir/build.make:66: CMakeFiles/cmTC_63353.dir/CheckSymbolExists.cxx.o] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:126: cmTC_63353/fast] Error 2 File /var/tmp/portage/sci-libs/mathgl-2.3.4/work/mathgl-2.3.4_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #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 }