Advertisement
Guest User

Untitled

a guest
Dec 9th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.44 KB | None | 0 0
  1. Determining if the pthread_create exist failed with the following output:
  2. Change Dir: /home/flash/repos/gr-osmosdr/build/CMakeFiles/CMakeTmp
  3.  
  4. Run Build Command:"/usr/bin/make" "cmTC_06c5d/fast"
  5. /usr/bin/make -f CMakeFiles/cmTC_06c5d.dir/build.make CMakeFiles/cmTC_06c5d.dir/build
  6. make[1]: Entering directory '/home/flash/repos/gr-osmosdr/build/CMakeFiles/CMakeTmp'
  7. Building C object CMakeFiles/cmTC_06c5d.dir/CheckSymbolExists.c.o
  8. /usr/bin/cc -o CMakeFiles/cmTC_06c5d.dir/CheckSymbolExists.c.o -c /home/flash/repos/gr-osmosdr/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
  9. Linking C executable cmTC_06c5d
  10. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_06c5d.dir/link.txt --verbose=1
  11. /usr/bin/cc CMakeFiles/cmTC_06c5d.dir/CheckSymbolExists.c.o -o cmTC_06c5d
  12. CMakeFiles/cmTC_06c5d.dir/CheckSymbolExists.c.o: In function `main':
  13. CheckSymbolExists.c:(.text+0x1b): undefined reference to `pthread_create'
  14. collect2: error: ld returned 1 exit status
  15. CMakeFiles/cmTC_06c5d.dir/build.make:97: recipe for target 'cmTC_06c5d' failed
  16. make[1]: *** [cmTC_06c5d] Error 1
  17. make[1]: Leaving directory '/home/flash/repos/gr-osmosdr/build/CMakeFiles/CMakeTmp'
  18. Makefile:126: recipe for target 'cmTC_06c5d/fast' failed
  19. make: *** [cmTC_06c5d/fast] Error 2
  20.  
  21. File /home/flash/repos/gr-osmosdr/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
  22. /* */
  23. #include <pthread.h>
  24.  
  25. int main(int argc, char** argv)
  26. {
  27. (void)argv;
  28. #ifndef pthread_create
  29. return ((int*)(&pthread_create))[argc];
  30. #else
  31. (void)argc;
  32. return 0;
  33. #endif
  34. }
  35.  
  36. Determining if the function pthread_create exists in the pthreads failed with the following output:
  37. Change Dir: /home/flash/repos/gr-osmosdr/build/CMakeFiles/CMakeTmp
  38.  
  39. Run Build Command:"/usr/bin/make" "cmTC_57668/fast"
  40. /usr/bin/make -f CMakeFiles/cmTC_57668.dir/build.make CMakeFiles/cmTC_57668.dir/build
  41. make[1]: Entering directory '/home/flash/repos/gr-osmosdr/build/CMakeFiles/CMakeTmp'
  42. Building C object CMakeFiles/cmTC_57668.dir/CheckFunctionExists.c.o
  43. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_57668.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
  44. Linking C executable cmTC_57668
  45. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_57668.dir/link.txt --verbose=1
  46. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_57668.dir/CheckFunctionExists.c.o -o cmTC_57668 -lpthreads
  47. /usr/bin/ld: cannot find -lpthreads
  48. collect2: error: ld returned 1 exit status
  49. CMakeFiles/cmTC_57668.dir/build.make:97: recipe for target 'cmTC_57668' failed
  50. make[1]: *** [cmTC_57668] Error 1
  51. make[1]: Leaving directory '/home/flash/repos/gr-osmosdr/build/CMakeFiles/CMakeTmp'
  52. Makefile:126: recipe for target 'cmTC_57668/fast' failed
  53. make: *** [cmTC_57668/fast] Error 2
  54.  
  55.  
  56. Performing C++ SOURCE FILE Test HAVE_MACH_ABSOLUTE_TIME failed with the following output:
  57. Change Dir: /home/flash/repos/gr-osmosdr/build/CMakeFiles/CMakeTmp
  58.  
  59. Run Build Command:"/usr/bin/make" "cmTC_26b96/fast"
  60. /usr/bin/make -f CMakeFiles/cmTC_26b96.dir/build.make CMakeFiles/cmTC_26b96.dir/build
  61. make[1]: Entering directory '/home/flash/repos/gr-osmosdr/build/CMakeFiles/CMakeTmp'
  62. Building CXX object CMakeFiles/cmTC_26b96.dir/src.cxx.o
  63. /usr/bin/c++ -DHAVE_MACH_ABSOLUTE_TIME -std=gnu++11 -o CMakeFiles/cmTC_26b96.dir/src.cxx.o -c /home/flash/repos/gr-osmosdr/build/CMakeFiles/CMakeTmp/src.cxx
  64. /home/flash/repos/gr-osmosdr/build/CMakeFiles/CMakeTmp/src.cxx:2:14: fatal error: mach/mach_time.h: No such file or directory
  65. #include <mach/mach_time.h>
  66. ^~~~~~~~~~~~~~~~~~
  67. compilation terminated.
  68. CMakeFiles/cmTC_26b96.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_26b96.dir/src.cxx.o' failed
  69. make[1]: *** [CMakeFiles/cmTC_26b96.dir/src.cxx.o] Error 1
  70. make[1]: Leaving directory '/home/flash/repos/gr-osmosdr/build/CMakeFiles/CMakeTmp'
  71. Makefile:126: recipe for target 'cmTC_26b96/fast' failed
  72. make: *** [cmTC_26b96/fast] Error 2
  73.  
  74. Source file was:
  75.  
  76. #include <mach/mach_time.h>
  77. int main(){
  78. mach_timebase_info_data_t info;
  79. mach_timebase_info(&info);
  80. mach_absolute_time();
  81. return 0;
  82. }
  83.  
  84. Performing C++ SOURCE FILE Test HAVE_QUERY_PERFORMANCE_COUNTER failed with the following output:
  85. Change Dir: /home/flash/repos/gr-osmosdr/build/CMakeFiles/CMakeTmp
  86.  
  87. Run Build Command:"/usr/bin/make" "cmTC_c63b2/fast"
  88. /usr/bin/make -f CMakeFiles/cmTC_c63b2.dir/build.make CMakeFiles/cmTC_c63b2.dir/build
  89. make[1]: Entering directory '/home/flash/repos/gr-osmosdr/build/CMakeFiles/CMakeTmp'
  90. Building CXX object CMakeFiles/cmTC_c63b2.dir/src.cxx.o
  91. /usr/bin/c++ -DHAVE_QUERY_PERFORMANCE_COUNTER -std=gnu++11 -o CMakeFiles/cmTC_c63b2.dir/src.cxx.o -c /home/flash/repos/gr-osmosdr/build/CMakeFiles/CMakeTmp/src.cxx
  92. /home/flash/repos/gr-osmosdr/build/CMakeFiles/CMakeTmp/src.cxx:2:14: fatal error: Windows.h: No such file or directory
  93. #include <Windows.h>
  94. ^~~~~~~~~~~
  95. compilation terminated.
  96. CMakeFiles/cmTC_c63b2.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_c63b2.dir/src.cxx.o' failed
  97. make[1]: *** [CMakeFiles/cmTC_c63b2.dir/src.cxx.o] Error 1
  98. make[1]: Leaving directory '/home/flash/repos/gr-osmosdr/build/CMakeFiles/CMakeTmp'
  99. Makefile:126: recipe for target 'cmTC_c63b2/fast' failed
  100. make: *** [cmTC_c63b2/fast] Error 2
  101.  
  102. Source file was:
  103.  
  104. #include <Windows.h>
  105. int main(){
  106. LARGE_INTEGER value;
  107. QueryPerformanceCounter(&value);
  108. QueryPerformanceFrequency(&value);
  109. return 0;
  110. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement