Guest User

CMakeError.log

a guest
Jun 20th, 2017
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 4.90 KB | None | 0 0
  1. Determining if the pthread_create exist failed with the following output:
  2. Change Dir: /home/schapman/tmp/yaourt-tmp-schapman/aur-rstudio-desktop/src/rstudio-rstudio-adca7c8/CMakeFiles/CMakeTmp
  3.  
  4. Run Build Command:"/usr/bin/make" "cmTC_7b77c/fast"
  5. /usr/bin/make -f CMakeFiles/cmTC_7b77c.dir/build.make CMakeFiles/cmTC_7b77c.dir/build
  6. make[1]: Entering directory '/home/schapman/tmp/yaourt-tmp-schapman/aur-rstudio-desktop/src/rstudio-rstudio-adca7c8/CMakeFiles/CMakeTmp'
  7. Building C object CMakeFiles/cmTC_7b77c.dir/CheckSymbolExists.c.o
  8. /usr/bin/cc   -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong    -o CMakeFiles/cmTC_7b77c.dir/CheckSymbolExists.c.o   -c /home/schapman/tmp/yaourt-tmp-schapman/aur-rstudio-desktop/src/rstudio-rstudio-adca7c8/CMakeFiles/CMakeTmp/CheckSymbolExists.c
  9. Linking C executable cmTC_7b77c
  10. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7b77c.dir/link.txt --verbose=1
  11. /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong   -Wl,-O1,--sort-common,--as-needed,-z,relro  -rdynamic CMakeFiles/cmTC_7b77c.dir/CheckSymbolExists.c.o  -o cmTC_7b77c
  12. CMakeFiles/cmTC_7b77c.dir/CheckSymbolExists.c.o: In function `main':
  13. CheckSymbolExists.c:(.text.startup+0x6): undefined reference to `pthread_create'
  14. collect2: error: ld returned 1 exit status
  15. make[1]: *** [CMakeFiles/cmTC_7b77c.dir/build.make:98: cmTC_7b77c] Error 1
  16. make[1]: Leaving directory '/home/schapman/tmp/yaourt-tmp-schapman/aur-rstudio-desktop/src/rstudio-rstudio-adca7c8/CMakeFiles/CMakeTmp'
  17. make: *** [Makefile:126: cmTC_7b77c/fast] Error 2
  18.  
  19. File /home/schapman/tmp/yaourt-tmp-schapman/aur-rstudio-desktop/src/rstudio-rstudio-adca7c8/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
  20. /* */
  21. #include <pthread.h>
  22.  
  23. int main(int argc, char** argv)
  24. {
  25.   (void)argv;
  26. #ifndef pthread_create
  27.   return ((int*)(&pthread_create))[argc];
  28. #else
  29.   (void)argc;
  30.   return 0;
  31. #endif
  32. }
  33.  
  34. Determining if the function pthread_create exists in the pthreads failed with the following output:
  35. Change Dir: /home/schapman/tmp/yaourt-tmp-schapman/aur-rstudio-desktop/src/rstudio-rstudio-adca7c8/CMakeFiles/CMakeTmp
  36.  
  37. Run Build Command:"/usr/bin/make" "cmTC_bd3ba/fast"
  38. /usr/bin/make -f CMakeFiles/cmTC_bd3ba.dir/build.make CMakeFiles/cmTC_bd3ba.dir/build
  39. make[1]: Entering directory '/home/schapman/tmp/yaourt-tmp-schapman/aur-rstudio-desktop/src/rstudio-rstudio-adca7c8/CMakeFiles/CMakeTmp'
  40. Building C object CMakeFiles/cmTC_bd3ba.dir/CheckFunctionExists.c.o
  41. /usr/bin/cc   -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTC_bd3ba.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.8/Modules/CheckFunctionExists.c
  42. Linking C executable cmTC_bd3ba
  43. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bd3ba.dir/link.txt --verbose=1
  44. /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DCHECK_FUNCTION_EXISTS=pthread_create  -Wl,-O1,--sort-common,--as-needed,-z,relro  -rdynamic CMakeFiles/cmTC_bd3ba.dir/CheckFunctionExists.c.o  -o cmTC_bd3ba -lpthreads
  45. /usr/bin/ld: cannot find -lpthreads
  46. collect2: error: ld returned 1 exit status
  47. make[1]: *** [CMakeFiles/cmTC_bd3ba.dir/build.make:98: cmTC_bd3ba] Error 1
  48. make[1]: Leaving directory '/home/schapman/tmp/yaourt-tmp-schapman/aur-rstudio-desktop/src/rstudio-rstudio-adca7c8/CMakeFiles/CMakeTmp'
  49. make: *** [Makefile:126: cmTC_bd3ba/fast] Error 2
  50.  
  51.  
  52. Determining if the function getpeereid exists failed with the following output:
  53. Change Dir: /home/schapman/tmp/yaourt-tmp-schapman/aur-rstudio-desktop/src/rstudio-rstudio-adca7c8/CMakeFiles/CMakeTmp
  54.  
  55. Run Build Command:"/usr/bin/make" "cmTC_90485/fast"
  56. /usr/bin/make -f CMakeFiles/cmTC_90485.dir/build.make CMakeFiles/cmTC_90485.dir/build
  57. make[1]: Entering directory '/home/schapman/tmp/yaourt-tmp-schapman/aur-rstudio-desktop/src/rstudio-rstudio-adca7c8/CMakeFiles/CMakeTmp'
  58. Building C object CMakeFiles/cmTC_90485.dir/CheckFunctionExists.c.o
  59. /usr/bin/cc   -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DCHECK_FUNCTION_EXISTS=getpeereid   -o CMakeFiles/cmTC_90485.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.8/Modules/CheckFunctionExists.c
  60. Linking C executable cmTC_90485
  61. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_90485.dir/link.txt --verbose=1
  62. /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DCHECK_FUNCTION_EXISTS=getpeereid  -Wl,-O1,--sort-common,--as-needed,-z,relro  -rdynamic CMakeFiles/cmTC_90485.dir/CheckFunctionExists.c.o  -o cmTC_90485
  63. CMakeFiles/cmTC_90485.dir/CheckFunctionExists.c.o: In function `main':
  64. CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `getpeereid'
  65. collect2: error: ld returned 1 exit status
  66. make[1]: *** [CMakeFiles/cmTC_90485.dir/build.make:98: cmTC_90485] Error 1
  67. make[1]: Leaving directory '/home/schapman/tmp/yaourt-tmp-schapman/aur-rstudio-desktop/src/rstudio-rstudio-adca7c8/CMakeFiles/CMakeTmp'
  68. make: *** [Makefile:126: cmTC_90485/fast] Error 2
Advertisement
Add Comment
Please, Sign In to add comment