Advertisement
vlig

CMakeError.log

Jan 23rd, 2020
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.20 KB | None | 0 0
  1. Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
  2. Change Dir: /mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp
  3.  
  4. Run Build Command(s):/bin/make cmTC_406de/fast && /bin/make -f CMakeFiles/cmTC_406de.dir/build.make CMakeFiles/cmTC_406de.dir/build
  5. make[1]: Entering directory '/mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp'
  6. Building C object CMakeFiles/cmTC_406de.dir/src.c.o
  7. /usr/lib/ccache/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_406de.dir/src.c.o -c /mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp/src.c
  8. Linking C executable cmTC_406de
  9. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_406de.dir/link.txt --verbose=1
  10. /usr/lib/ccache/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DCMAKE_HAVE_LIBC_PTHREAD -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -rdynamic CMakeFiles/cmTC_406de.dir/src.c.o -o cmTC_406de
  11. /bin/ld: CMakeFiles/cmTC_406de.dir/src.c.o: in function `main':
  12. src.c:(.text.startup+0x24): undefined reference to `pthread_create'
  13. /bin/ld: src.c:(.text.startup+0x2e): undefined reference to `pthread_detach'
  14. /bin/ld: src.c:(.text.startup+0x3a): undefined reference to `pthread_join'
  15. collect2: error: ld returned 1 exit status
  16. make[1]: *** [CMakeFiles/cmTC_406de.dir/build.make:87: cmTC_406de] Error 1
  17. make[1]: Leaving directory '/mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp'
  18. make: *** [Makefile:121: cmTC_406de/fast] Error 2
  19.  
  20.  
  21. Source file was:
  22. #include <pthread.h>
  23.  
  24. void* test_func(void* data)
  25. {
  26. return data;
  27. }
  28.  
  29. int main(void)
  30. {
  31. pthread_t thread;
  32. pthread_create(&thread, NULL, test_func, NULL);
  33. pthread_detach(thread);
  34. pthread_join(thread, NULL);
  35. pthread_atfork(NULL, NULL, NULL);
  36. pthread_exit(NULL);
  37.  
  38. return 0;
  39. }
  40.  
  41. Determining if the function pthread_create exists in the pthreads failed with the following output:
  42. Change Dir: /mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp
  43.  
  44. Run Build Command(s):/bin/make cmTC_a8091/fast && /bin/make -f CMakeFiles/cmTC_a8091.dir/build.make CMakeFiles/cmTC_a8091.dir/build
  45. make[1]: Entering directory '/mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp'
  46. Building C object CMakeFiles/cmTC_a8091.dir/CheckFunctionExists.c.o
  47. /usr/lib/ccache/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_a8091.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c
  48. Linking C executable cmTC_a8091
  49. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a8091.dir/link.txt --verbose=1
  50. /usr/lib/ccache/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -rdynamic CMakeFiles/cmTC_a8091.dir/CheckFunctionExists.c.o -o cmTC_a8091 -lpthreads
  51. /bin/ld: cannot find -lpthreads
  52. collect2: error: ld returned 1 exit status
  53. make[1]: *** [CMakeFiles/cmTC_a8091.dir/build.make:87: cmTC_a8091] Error 1
  54. make[1]: Leaving directory '/mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp'
  55. make: *** [Makefile:121: cmTC_a8091/fast] Error 2
  56.  
  57.  
  58.  
  59. Determining if the include file io.h exists failed with the following output:
  60. Change Dir: /mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp
  61.  
  62. Run Build Command(s):/bin/make cmTC_27939/fast && /bin/make -f CMakeFiles/cmTC_27939.dir/build.make CMakeFiles/cmTC_27939.dir/build
  63. make[1]: Entering directory '/mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp'
  64. Building C object CMakeFiles/cmTC_27939.dir/CheckIncludeFile.c.o
  65. /usr/lib/ccache/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fPIE -o CMakeFiles/cmTC_27939.dir/CheckIncludeFile.c.o -c /mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
  66. /mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: io.h: No such file or directory
  67. 1 | #include <io.h>
  68. | ^~~~~~
  69. compilation terminated.
  70. make[1]: *** [CMakeFiles/cmTC_27939.dir/build.make:66: CMakeFiles/cmTC_27939.dir/CheckIncludeFile.c.o] Error 1
  71. make[1]: Leaving directory '/mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp'
  72. make: *** [Makefile:121: cmTC_27939/fast] Error 2
  73.  
  74.  
  75.  
  76. Determining if the include file ieeefp.h exists failed with the following output:
  77. Change Dir: /mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp
  78.  
  79. Run Build Command(s):/bin/make cmTC_f764b/fast && /bin/make -f CMakeFiles/cmTC_f764b.dir/build.make CMakeFiles/cmTC_f764b.dir/build
  80. make[1]: Entering directory '/mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp'
  81. Building C object CMakeFiles/cmTC_f764b.dir/CheckIncludeFile.c.o
  82. /usr/lib/ccache/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fPIE -o CMakeFiles/cmTC_f764b.dir/CheckIncludeFile.c.o -c /mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
  83. /mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: ieeefp.h: No such file or directory
  84. 1 | #include <ieeefp.h>
  85. | ^~~~~~~~~~
  86. compilation terminated.
  87. make[1]: *** [CMakeFiles/cmTC_f764b.dir/build.make:66: CMakeFiles/cmTC_f764b.dir/CheckIncludeFile.c.o] Error 1
  88. make[1]: Leaving directory '/mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp'
  89. make: *** [Makefile:121: cmTC_f764b/fast] Error 2
  90.  
  91.  
  92.  
  93. Determining if the include file windows.h exists failed with the following output:
  94. Change Dir: /mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp
  95.  
  96. Run Build Command(s):/bin/make cmTC_0749b/fast && /bin/make -f CMakeFiles/cmTC_0749b.dir/build.make CMakeFiles/cmTC_0749b.dir/build
  97. make[1]: Entering directory '/mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp'
  98. Building C object CMakeFiles/cmTC_0749b.dir/CheckIncludeFile.c.o
  99. /usr/lib/ccache/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fPIE -o CMakeFiles/cmTC_0749b.dir/CheckIncludeFile.c.o -c /mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
  100. /mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: windows.h: No such file or directory
  101. 1 | #include <windows.h>
  102. | ^~~~~~~~~~~
  103. compilation terminated.
  104. make[1]: *** [CMakeFiles/cmTC_0749b.dir/build.make:66: CMakeFiles/cmTC_0749b.dir/CheckIncludeFile.c.o] Error 1
  105. make[1]: Leaving directory '/mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp'
  106. make: *** [Makefile:121: cmTC_0749b/fast] Error 2
  107.  
  108.  
  109.  
  110. Determining if the include file mach-o/dyld.h exists failed with the following output:
  111. Change Dir: /mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp
  112.  
  113. Run Build Command(s):/bin/make cmTC_fec4c/fast && /bin/make -f CMakeFiles/cmTC_fec4c.dir/build.make CMakeFiles/cmTC_fec4c.dir/build
  114. make[1]: Entering directory '/mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp'
  115. Building C object CMakeFiles/cmTC_fec4c.dir/CheckIncludeFile.c.o
  116. /usr/lib/ccache/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fPIE -o CMakeFiles/cmTC_fec4c.dir/CheckIncludeFile.c.o -c /mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
  117. /mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: mach-o/dyld.h: No such file or directory
  118. 1 | #include <mach-o/dyld.h>
  119. | ^~~~~~~~~~~~~~~
  120. compilation terminated.
  121. make[1]: *** [CMakeFiles/cmTC_fec4c.dir/build.make:66: CMakeFiles/cmTC_fec4c.dir/CheckIncludeFile.c.o] Error 1
  122. make[1]: Leaving directory '/mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp'
  123. make: *** [Makefile:121: cmTC_fec4c/fast] Error 2
  124.  
  125.  
  126.  
  127. Determining if the function shl_load exists in the dld failed with the following output:
  128. Change Dir: /mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp
  129.  
  130. Run Build Command(s):/bin/make cmTC_4af68/fast && /bin/make -f CMakeFiles/cmTC_4af68.dir/build.make CMakeFiles/cmTC_4af68.dir/build
  131. make[1]: Entering directory '/mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp'
  132. Building C object CMakeFiles/cmTC_4af68.dir/CheckFunctionExists.c.o
  133. /usr/lib/ccache/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DCHECK_FUNCTION_EXISTS=shl_load -fPIE -o CMakeFiles/cmTC_4af68.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c
  134. Linking C executable cmTC_4af68
  135. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4af68.dir/link.txt --verbose=1
  136. /usr/lib/ccache/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DCHECK_FUNCTION_EXISTS=shl_load -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -rdynamic CMakeFiles/cmTC_4af68.dir/CheckFunctionExists.c.o -o cmTC_4af68 -ldld
  137. /bin/ld: cannot find -ldld
  138. collect2: error: ld returned 1 exit status
  139. make[1]: *** [CMakeFiles/cmTC_4af68.dir/build.make:87: cmTC_4af68] Error 1
  140. make[1]: Leaving directory '/mnt/linux2/home/vlas/yay-builddir/coin/src/build/CMakeFiles/CMakeTmp'
  141. make: *** [Makefile:121: cmTC_4af68/fast] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement