Determining if the Q_WS_WIN exist failed with the following output: Change Dir: /var/tmp/portage/media-video/kaffeine-1.2.2-r1/work/kaffeine-1.2.2_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/ninja" "cmTC_d31f1" [1/2] Building C object CMakeFiles/cmTC_d31f1.dir/CheckSymbolExists.c.o FAILED: /usr/bin/x86_64-pc-linux-gnu-gcc -DQT_NO_DEBUG -DNDEBUG -march=native -O2 -pipe -I/usr/include/qt4 -o CMakeFiles/cmTC_d31f1.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c CheckSymbolExists.c: In function ‘main’: CheckSymbolExists.c:8:19: error: ‘Q_WS_WIN’ undeclared (first use in this function) return ((int*)(&Q_WS_WIN))[argc]; ^ CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. File /var/tmp/portage/media-video/kaffeine-1.2.2-r1/work/kaffeine-1.2.2_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/media-video/kaffeine-1.2.2-r1/work/kaffeine-1.2.2_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/ninja" "cmTC_7d9f9" [1/2] Building C object CMakeFiles/cmTC_7d9f9.dir/CheckSymbolExists.c.o FAILED: /usr/bin/x86_64-pc-linux-gnu-gcc -DQT_NO_DEBUG -DNDEBUG -march=native -O2 -pipe -I/usr/include/qt4 -o CMakeFiles/cmTC_7d9f9.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c CheckSymbolExists.c: In function ‘main’: CheckSymbolExists.c:8:19: error: ‘Q_WS_QWS’ undeclared (first use in this function) return ((int*)(&Q_WS_QWS))[argc]; ^ CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. File /var/tmp/portage/media-video/kaffeine-1.2.2-r1/work/kaffeine-1.2.2_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/media-video/kaffeine-1.2.2-r1/work/kaffeine-1.2.2_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/ninja" "cmTC_4c167" [1/2] Building C object CMakeFiles/cmTC_4c167.dir/CheckSymbolExists.c.o FAILED: /usr/bin/x86_64-pc-linux-gnu-gcc -DQT_NO_DEBUG -DNDEBUG -march=native -O2 -pipe -I/usr/include/qt4 -o CMakeFiles/cmTC_4c167.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c CheckSymbolExists.c: In function ‘main’: CheckSymbolExists.c:8:19: error: ‘Q_WS_MAC’ undeclared (first use in this function) return ((int*)(&Q_WS_MAC))[argc]; ^ CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. File /var/tmp/portage/media-video/kaffeine-1.2.2-r1/work/kaffeine-1.2.2_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 } Determining if the pthread_create exist failed with the following output: Change Dir: /var/tmp/portage/media-video/kaffeine-1.2.2-r1/work/kaffeine-1.2.2_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/ninja" "cmTC_1453b" [1/2] Building C object CMakeFiles/cmTC_1453b.dir/CheckSymbolExists.c.o [2/2] Linking C executable cmTC_1453b FAILED: : && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_1453b.dir/CheckSymbolExists.c.o -o cmTC_1453b -rdynamic && : CMakeFiles/cmTC_1453b.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text.startup+0x6): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. File /var/tmp/portage/media-video/kaffeine-1.2.2-r1/work/kaffeine-1.2.2_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/media-video/kaffeine-1.2.2-r1/work/kaffeine-1.2.2_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/ninja" "cmTC_17d13" [1/2] Building C object CMakeFiles/cmTC_17d13.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_17d13 FAILED: : && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_17d13.dir/CheckFunctionExists.c.o -o cmTC_17d13 -rdynamic -lpthreads && : /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.