Determining if the Q_WS_WIN exist failed with the following output: Change Dir: /var/tmp/portage/kde-apps/zeroconf-ioslave-4.14.3/work/zeroconf-ioslave-4.14.3_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/ninja" "cmTC_32bef" [1/2] Building C object CMakeFiles/cmTC_32bef.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_32bef.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/kde-apps/zeroconf-ioslave-4.14.3/work/zeroconf-ioslave-4.14.3_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/kde-apps/zeroconf-ioslave-4.14.3/work/zeroconf-ioslave-4.14.3_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/ninja" "cmTC_88764" [1/2] Building C object CMakeFiles/cmTC_88764.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_88764.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/kde-apps/zeroconf-ioslave-4.14.3/work/zeroconf-ioslave-4.14.3_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/kde-apps/zeroconf-ioslave-4.14.3/work/zeroconf-ioslave-4.14.3_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/ninja" "cmTC_aaee6" [1/2] Building C object CMakeFiles/cmTC_aaee6.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_aaee6.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/kde-apps/zeroconf-ioslave-4.14.3/work/zeroconf-ioslave-4.14.3_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/kde-apps/zeroconf-ioslave-4.14.3/work/zeroconf-ioslave-4.14.3_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/ninja" "cmTC_340c7" [1/2] Building C object CMakeFiles/cmTC_340c7.dir/CheckSymbolExists.c.o [2/2] Linking C executable cmTC_340c7 FAILED: : && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_340c7.dir/CheckSymbolExists.c.o -o cmTC_340c7 -rdynamic && : CMakeFiles/cmTC_340c7.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/kde-apps/zeroconf-ioslave-4.14.3/work/zeroconf-ioslave-4.14.3_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/kde-apps/zeroconf-ioslave-4.14.3/work/zeroconf-ioslave-4.14.3_build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/ninja" "cmTC_56ea5" [1/2] Building C object CMakeFiles/cmTC_56ea5.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_56ea5 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_56ea5.dir/CheckFunctionExists.c.o -o cmTC_56ea5 -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.