tukusejssirs

CMakeError.log

Jun 7th, 2019
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.68 KB | None | 0 0
  1. Determining if the pthread_create exist failed with the following output:
  2. Change Dir: /home/ts/remmina_devel/Remmina/build/CMakeFiles/CMakeTmp
  3.  
  4. Run Build Command:/usr/bin/gmake "cmTryCompileExec2302340053/fast"
  5. /usr/bin/gmake -f CMakeFiles/cmTryCompileExec2302340053.dir/build.make CMakeFiles/cmTryCompileExec2302340053.dir/build
  6. gmake[1]: Entering directory `/home/ts/remmina_devel/Remmina/build/CMakeFiles/CMakeTmp'
  7. /usr/bin/cmake -E cmake_progress_report /home/ts/remmina_devel/Remmina/build/CMakeFiles/CMakeTmp/CMakeFiles 1
  8. Building C object CMakeFiles/cmTryCompileExec2302340053.dir/CheckSymbolExists.c.o
  9. /usr/bin/cc   -fPIC -Wall -msse2 -Wunused-result -Wunused-but-set-variable -Wdeprecated-declarations -Wimplicit-function-declaration -Wredundant-decls -g    -o CMakeFiles/cmTryCompileExec2302340053.dir/CheckSymbolExists.c.o   -c /home/ts/remmina_devel/Remmina/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
  10. Linking C executable cmTryCompileExec2302340053
  11. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2302340053.dir/link.txt --verbose=1
  12. /usr/bin/cc   -fPIC -Wall -msse2 -Wunused-result -Wunused-but-set-variable -Wdeprecated-declarations -Wimplicit-function-declaration -Wredundant-decls -g     CMakeFiles/cmTryCompileExec2302340053.dir/CheckSymbolExists.c.o  -o cmTryCompileExec2302340053 -rdynamic
  13. CMakeFiles/cmTryCompileExec2302340053.dir/CheckSymbolExists.c.o: In function `main':
  14. /home/ts/remmina_devel/Remmina/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8: undefined reference to `pthread_create'
  15. collect2: error: ld returned 1 exit status
  16. gmake[1]: *** [cmTryCompileExec2302340053] Error 1
  17. gmake[1]: Leaving directory `/home/ts/remmina_devel/Remmina/build/CMakeFiles/CMakeTmp'
  18. gmake: *** [cmTryCompileExec2302340053/fast] Error 2
  19.  
  20. File /home/ts/remmina_devel/Remmina/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
  21. /* */
  22. #include <pthread.h>
  23.  
  24. int main(int argc, char** argv)
  25. {
  26.   (void)argv;
  27. #ifndef pthread_create
  28.   return ((int*)(&pthread_create))[argc];
  29. #else
  30.   (void)argc;
  31.   return 0;
  32. #endif
  33. }
  34.  
  35. Determining if the function pthread_create exists in the pthreads failed with the following output:
  36. Change Dir: /home/ts/remmina_devel/Remmina/build/CMakeFiles/CMakeTmp
  37.  
  38. Run Build Command:/usr/bin/gmake "cmTryCompileExec3427239828/fast"
  39. /usr/bin/gmake -f CMakeFiles/cmTryCompileExec3427239828.dir/build.make CMakeFiles/cmTryCompileExec3427239828.dir/build
  40. gmake[1]: Entering directory `/home/ts/remmina_devel/Remmina/build/CMakeFiles/CMakeTmp'
  41. /usr/bin/cmake -E cmake_progress_report /home/ts/remmina_devel/Remmina/build/CMakeFiles/CMakeTmp/CMakeFiles 1
  42. Building C object CMakeFiles/cmTryCompileExec3427239828.dir/CheckFunctionExists.c.o
  43. /usr/bin/cc   -fPIC -Wall -msse2 -Wunused-result -Wunused-but-set-variable -Wdeprecated-declarations -Wimplicit-function-declaration -Wredundant-decls -g -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTryCompileExec3427239828.dir/CheckFunctionExists.c.o   -c /usr/share/cmake/Modules/CheckFunctionExists.c
  44. Linking C executable cmTryCompileExec3427239828
  45. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3427239828.dir/link.txt --verbose=1
  46. /usr/bin/cc   -fPIC -Wall -msse2 -Wunused-result -Wunused-but-set-variable -Wdeprecated-declarations -Wimplicit-function-declaration -Wredundant-decls -g -DCHECK_FUNCTION_EXISTS=pthread_create    CMakeFiles/cmTryCompileExec3427239828.dir/CheckFunctionExists.c.o  -o cmTryCompileExec3427239828 -rdynamic -lpthreads
  47. /usr/bin/ld: cannot find -lpthreads
  48. collect2: error: ld returned 1 exit status
  49. gmake[1]: *** [cmTryCompileExec3427239828] Error 1
  50. gmake[1]: Leaving directory `/home/ts/remmina_devel/Remmina/build/CMakeFiles/CMakeTmp'
  51. gmake: *** [cmTryCompileExec3427239828/fast] Error 2
Advertisement
Add Comment
Please, Sign In to add comment