Advertisement
Guest User

cmakeerror.log

a guest
Mar 18th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.42 KB | None | 0 0
  1. Determining if the pthread_create exist failed with the following output:
  2. Change Dir: /home/osmc/hyperion/build/CMakeFiles/CMakeTmp
  3.  
  4. Run Build Command:"/usr/bin/make" "cmTryCompileExec2699633270/fast"
  5. /usr/bin/make -f CMakeFiles/cmTryCompileExec2699633270.dir/build.make CMakeFiles/cmTryCompileExec2699633270.dir/build
  6. make[1]: Entering directory '/home/osmc/hyperion/build/CMakeFiles/CMakeTmp'
  7. /usr/bin/cmake -E cmake_progress_report /home/osmc/hyperion/build/CMakeFiles/CMakeTmp/CMakeFiles 1
  8. Building C object CMakeFiles/cmTryCompileExec2699633270.dir/CheckSymbolExists.c.o
  9. /usr/bin/cc -o CMakeFiles/cmTryCompileExec2699633270.dir/CheckSymbolExists.c.o -c /home/osmc/hyperion/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
  10. Linking C executable cmTryCompileExec2699633270
  11. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2699633270.dir/link.txt --verbose=1
  12. /usr/bin/cc CMakeFiles/cmTryCompileExec2699633270.dir/CheckSymbolExists.c.o -o cmTryCompileExec2699633270 -rdynamic
  13. CMakeFiles/cmTryCompileExec2699633270.dir/CheckSymbolExists.c.o: In function `main':
  14. CheckSymbolExists.c:(.text+0xe): undefined reference to `pthread_create'
  15. CheckSymbolExists.c:(.text+0x12): undefined reference to `pthread_create'
  16. collect2: error: ld returned 1 exit status
  17. CMakeFiles/cmTryCompileExec2699633270.dir/build.make:88: recipe for target 'cmTryCompileExec2699633270' failed
  18. make[1]: Leaving directory '/home/osmc/hyperion/build/CMakeFiles/CMakeTmp'
  19. make[1]: *** [cmTryCompileExec2699633270] Error 1
  20. Makefile:118: recipe for target 'cmTryCompileExec2699633270/fast' failed
  21. make: *** [cmTryCompileExec2699633270/fast] Error 2
  22.  
  23. File /home/osmc/hyperion/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
  24. /* */
  25. #include <pthread.h>
  26.  
  27. int main(int argc, char** argv)
  28. {
  29. (void)argv;
  30. #ifndef pthread_create
  31. return ((int*)(&pthread_create))[argc];
  32. #else
  33. (void)argc;
  34. return 0;
  35. #endif
  36. }
  37.  
  38. Determining if the function pthread_create exists in the pthreads failed with the following output:
  39. Change Dir: /home/osmc/hyperion/build/CMakeFiles/CMakeTmp
  40.  
  41. Run Build Command:"/usr/bin/make" "cmTryCompileExec1979239185/fast"
  42. /usr/bin/make -f CMakeFiles/cmTryCompileExec1979239185.dir/build.make CMakeFiles/cmTryCompileExec1979239185.dir/build
  43. make[1]: Entering directory '/home/osmc/hyperion/build/CMakeFiles/CMakeTmp'
  44. /usr/bin/cmake -E cmake_progress_report /home/osmc/hyperion/build/CMakeFiles/CMakeTmp/CMakeFiles 1
  45. Building C object CMakeFiles/cmTryCompileExec1979239185.dir/CheckFunctionExists.c.o
  46. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec1979239185.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.0/Modules/CheckFunctionExists.c
  47. Linking C executable cmTryCompileExec1979239185
  48. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1979239185.dir/link.txt --verbose=1
  49. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec1979239185.dir/CheckFunctionExists.c.o -o cmTryCompileExec1979239185 -rdynamic -lpthreads
  50. /usr/bin/ld: cannot find -lpthreads
  51. collect2: error: ld returned 1 exit status
  52. CMakeFiles/cmTryCompileExec1979239185.dir/build.make:88: recipe for target 'cmTryCompileExec1979239185' failed
  53. make[1]: Leaving directory '/home/osmc/hyperion/build/CMakeFiles/CMakeTmp'
  54. make[1]: *** [cmTryCompileExec1979239185] Error 1
  55. Makefile:118: recipe for target 'cmTryCompileExec1979239185/fast' failed
  56. make: *** [cmTryCompileExec1979239185/fast] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement