https://bugs.kde.org/show_bug.cgi?id=374670
--- Comment #26 from rdragonr...@gmail.com --- I have followed the instructions in the two recent posts, the Github mock and the mySQL liblz4 ones. I attempted to use the Github google mock rather than the built-in one, but I still got this error set (It seems to deal with libpthread): Performing C++ SOURCE FILE Test COMPLEX_TAGLIB_FILENAME failed with the following output: Change Dir: /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_dc03d/fast" /usr/bin/make -f CMakeFiles/cmTC_dc03d.dir/build.make CMakeFiles/cmTC_dc03d.dir/build make[1]: Entering directory '/home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_dc03d.dir/src.cxx.o /usr/bin/c++ -I/usr/include/taglib -DCOMPLEX_TAGLIB_FILENAME -I/usr/include/taglib -o CMakeFiles/cmTC_dc03d.dir/src.cxx.o -c /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp/src.cxx /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’: /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp/src.cxx:5:38: error: cannot convert ‘const wchar_t*’ to ‘TagLib::FileName {aka const char*}’ in initialization TagLib::FileName fileName2(L"wchar"); ^ CMakeFiles/cmTC_dc03d.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_dc03d.dir/src.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_dc03d.dir/src.cxx.o] Error 1 make[1]: Leaving directory '/home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_dc03d/fast' failed make: *** [cmTC_dc03d/fast] Error 2 Source file was: #include <tfile.h> int main() { TagLib::FileName fileName1("char"); TagLib::FileName fileName2(L"wchar"); return 0; } Determining if the Q_WS_WIN exist failed with the following output: Change Dir: /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_33044/fast" /usr/bin/make -f CMakeFiles/cmTC_33044.dir/build.make CMakeFiles/cmTC_33044.dir/build make[1]: Entering directory '/home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_33044.dir/CheckSymbolExists.cxx.o /usr/bin/c++ -I/usr/include/taglib -I/usr/include/qt4 -fmessage-length=0 -Wl,--as-needed -I/usr/include/taglib -o CMakeFiles/cmTC_33044.dir/CheckSymbolExists.cxx.o -c /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’: /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_WIN’ was not declared in this scope return ((int*)(&Q_WS_WIN))[argc]; ^ CMakeFiles/cmTC_33044.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_33044.dir/CheckSymbolExists.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_33044.dir/CheckSymbolExists.cxx.o] Error 1 make[1]: Leaving directory '/home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_33044/fast' failed make: *** [cmTC_33044/fast] Error 2 File /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include <QtCore/qglobal.h> 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: /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_55009/fast" /usr/bin/make -f CMakeFiles/cmTC_55009.dir/build.make CMakeFiles/cmTC_55009.dir/build make[1]: Entering directory '/home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_55009.dir/CheckSymbolExists.cxx.o /usr/bin/c++ -I/usr/include/taglib -I/usr/include/qt4 -fmessage-length=0 -Wl,--as-needed -I/usr/include/taglib -o CMakeFiles/cmTC_55009.dir/CheckSymbolExists.cxx.o -c /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’: /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_QWS’ was not declared in this scope return ((int*)(&Q_WS_QWS))[argc]; ^ CMakeFiles/cmTC_55009.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_55009.dir/CheckSymbolExists.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_55009.dir/CheckSymbolExists.cxx.o] Error 1 make[1]: Leaving directory '/home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_55009/fast' failed make: *** [cmTC_55009/fast] Error 2 File /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include <QtCore/qglobal.h> 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: /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_eb64a/fast" /usr/bin/make -f CMakeFiles/cmTC_eb64a.dir/build.make CMakeFiles/cmTC_eb64a.dir/build make[1]: Entering directory '/home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_eb64a.dir/CheckSymbolExists.cxx.o /usr/bin/c++ -I/usr/include/taglib -I/usr/include/qt4 -fmessage-length=0 -Wl,--as-needed -I/usr/include/taglib -o CMakeFiles/cmTC_eb64a.dir/CheckSymbolExists.cxx.o -c /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’: /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_MAC’ was not declared in this scope return ((int*)(&Q_WS_MAC))[argc]; ^ CMakeFiles/cmTC_eb64a.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_eb64a.dir/CheckSymbolExists.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_eb64a.dir/CheckSymbolExists.cxx.o] Error 1 make[1]: Leaving directory '/home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_eb64a/fast' failed make: *** [cmTC_eb64a/fast] Error 2 File /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include <QtCore/qglobal.h> 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: /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_804f1/fast" /usr/bin/make -f CMakeFiles/cmTC_804f1.dir/build.make CMakeFiles/cmTC_804f1.dir/build make[1]: Entering directory '/home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_804f1.dir/CheckSymbolExists.c.o /usr/bin/cc -I/usr/include/taglib -fmessage-length=0 -I/usr/include/taglib -o CMakeFiles/cmTC_804f1.dir/CheckSymbolExists.c.o -c /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_804f1 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_804f1.dir/link.txt --verbose=1 /usr/bin/cc -fmessage-length=0 -I/usr/include/taglib CMakeFiles/cmTC_804f1.dir/CheckSymbolExists.c.o -o cmTC_804f1 -rdynamic -L/usr/lib/x86_64-linux-gnu -ltag CMakeFiles/cmTC_804f1.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_804f1.dir/build.make:97: recipe for target 'cmTC_804f1' failed make[1]: *** [cmTC_804f1] Error 1 make[1]: Leaving directory '/home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_804f1/fast' failed make: *** [cmTC_804f1/fast] Error 2 File /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <pthread.h> 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: /home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_2313b/fast" /usr/bin/make -f CMakeFiles/cmTC_2313b.dir/build.make CMakeFiles/cmTC_2313b.dir/build make[1]: Entering directory '/home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2313b.dir/CheckFunctionExists.c.o /usr/bin/cc -fmessage-length=0 -DCHECK_FUNCTION_EXISTS=pthread_create -I/usr/include/taglib -o CMakeFiles/cmTC_2313b.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c Linking C executable cmTC_2313b /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2313b.dir/link.txt --verbose=1 /usr/bin/cc -fmessage-length=0 -DCHECK_FUNCTION_EXISTS=pthread_create -I/usr/include/taglib CMakeFiles/cmTC_2313b.dir/CheckFunctionExists.c.o -o cmTC_2313b -rdynamic -lpthreads -L/usr/lib/x86_64-linux-gnu -ltag /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status CMakeFiles/cmTC_2313b.dir/build.make:97: recipe for target 'cmTC_2313b' failed make[1]: *** [cmTC_2313b] Error 1 make[1]: Leaving directory '/home/rdragonrydr/working_amarok/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_2313b/fast' failed make: *** [cmTC_2313b/fast] Error 2 -- You are receiving this mail because: You are watching all bug changes.