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_847bb/fast" /usr/bin/gmake -f CMakeFiles/cmTC_847bb.dir/build.make CMakeFiles/cmTC_847bb.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_847bb.dir/CheckFunctionExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -I/usr/lib64/python2.7/site-packages/numpy/core/include -DNDEBUG -DNDEBUG -O2 -pipe -march=native -Wall -DCHECK_FUNCTION_EXISTS=sin -o CMakeFiles/cmTC_847bb.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_847bb /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_847bb.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -DCHECK_FUNCTION_EXISTS=sin -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_847bb.dir/CheckFunctionExists.c.o -o cmTC_847bb -rdynamic CMakeFiles/cmTC_847bb.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_847bb.dir/build.make:98: cmTC_847bb] 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_847bb/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_6974b/fast" /usr/bin/gmake -f CMakeFiles/cmTC_6974b.dir/build.make CMakeFiles/cmTC_6974b.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_6974b.dir/src.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -I/usr/lib64/python2.7/site-packages/numpy/core/include -DNDEBUG -DNDEBUG -O2 -pipe -march=native -DMGL_HAVE_RVAL -o CMakeFiles/cmTC_6974b.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_6974b.dir/build.make:66: CMakeFiles/cmTC_6974b.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_6974b/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_450ff/fast" /usr/bin/gmake -f CMakeFiles/cmTC_450ff.dir/build.make CMakeFiles/cmTC_450ff.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_450ff.dir/CheckSymbolExists.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -I/usr/include/qt4 -I/usr/lib64/python2.7/site-packages/numpy/core/include -DNDEBUG -DNDEBUG -O2 -pipe -march=native -fopenmp -fvisibility=hidden -fvisibility-inlines-hidden -pthread -fvisibility=hidden -fvisibility-inlines-hidden -o CMakeFiles/cmTC_450ff.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_450ff.dir/build.make:66: CMakeFiles/cmTC_450ff.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_450ff/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_b2148/fast" /usr/bin/gmake -f CMakeFiles/cmTC_b2148.dir/build.make CMakeFiles/cmTC_b2148.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_b2148.dir/CheckSymbolExists.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -I/usr/include/qt4 -I/usr/lib64/python2.7/site-packages/numpy/core/include -DNDEBUG -DNDEBUG -O2 -pipe -march=native -fopenmp -fvisibility=hidden -fvisibility-inlines-hidden -pthread -fvisibility=hidden -fvisibility-inlines-hidden -o CMakeFiles/cmTC_b2148.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_b2148.dir/build.make:66: CMakeFiles/cmTC_b2148.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_b2148/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_0eab7/fast" /usr/bin/gmake -f CMakeFiles/cmTC_0eab7.dir/build.make CMakeFiles/cmTC_0eab7.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_0eab7.dir/CheckSymbolExists.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -I/usr/include/qt4 -I/usr/lib64/python2.7/site-packages/numpy/core/include -DNDEBUG -DNDEBUG -O2 -pipe -march=native -fopenmp -fvisibility=hidden -fvisibility-inlines-hidden -pthread -fvisibility=hidden -fvisibility-inlines-hidden -o CMakeFiles/cmTC_0eab7.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_0eab7.dir/build.make:66: CMakeFiles/cmTC_0eab7.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_0eab7/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 }