Advertisement
Guest User

bitcoin make error

a guest
May 21st, 2018
476
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.96 KB | None | 0 0
  1. ~/bitcoin$ make
  2. Making all in src
  3. make[1]: Entering directory '/home/nkohen/bitcoin/src'
  4. make[2]: Entering directory '/home/nkohen/bitcoin/src'
  5. CXX crypto/libbitcoinconsensus_la-aes.lo
  6. CXX crypto/libbitcoinconsensus_la-chacha20.lo
  7. CXX crypto/libbitcoinconsensus_la-hmac_sha256.lo
  8. CXX crypto/libbitcoinconsensus_la-hmac_sha512.lo
  9. CXX crypto/libbitcoinconsensus_la-ripemd160.lo
  10. CXX crypto/libbitcoinconsensus_la-sha1.lo
  11. CXX crypto/libbitcoinconsensus_la-sha256.lo
  12. CXX crypto/libbitcoinconsensus_la-sha512.lo
  13. CXX crypto/libbitcoinconsensus_la-sha256_sse4.lo
  14. CXX libbitcoinconsensus_la-arith_uint256.lo
  15. CXX consensus/libbitcoinconsensus_la-merkle.lo
  16. CXX libbitcoinconsensus_la-hash.lo
  17. CXX primitives/libbitcoinconsensus_la-block.lo
  18. CXX primitives/libbitcoinconsensus_la-transaction.lo
  19. CXX libbitcoinconsensus_la-pubkey.lo
  20. CXX script/libbitcoinconsensus_la-bitcoinconsensus.lo
  21. CXX script/libbitcoinconsensus_la-interpreter.lo
  22. CXX script/libbitcoinconsensus_la-script.lo
  23. CXX script/libbitcoinconsensus_la-script_error.lo
  24. CXX libbitcoinconsensus_la-uint256.lo
  25. CXX libbitcoinconsensus_la-utilstrencodings.lo
  26. make[3]: Entering directory '/home/nkohen/bitcoin/src/secp256k1'
  27. gcc -I. -g -O2 -Wall -Wextra -Wno-unused-function -c src/gen_context.c -o gen_context.o
  28. gcc gen_context.o -o gen_context
  29. ./gen_context
  30. CC src/libsecp256k1_la-secp256k1.lo
  31. CCLD libsecp256k1.la
  32. libtool: warning: undefined symbols not allowed in x86_64-w64-mingw32 shared libraries; building static only
  33. /usr/bin/x86_64-w64-mingw32-ar: `u' modifier ignored since `D' is the default (see `U')
  34. make[3]: Leaving directory '/home/nkohen/bitcoin/src/secp256k1'
  35. CXXLD libbitcoinconsensus.la
  36. /usr/bin/x86_64-w64-mingw32-ar: `u' modifier ignored since `D' is the default (see `U')
  37. CXX bitcoind-bitcoind.o
  38. In file included from ./util.h:19:0,
  39. from ./init.h:11,
  40. from bitcoind.cpp:15:
  41. ./logging.h:63:14: error: ‘mutex’ in namespace ‘std’ does not name a type
  42. std::mutex m_file_mutex;
  43. ^
  44. In file included from ./util.h:20:0,
  45. from ./init.h:11,
  46. from bitcoind.cpp:15:
  47. ./sync.h:94:48: error: ‘recursive_mutex’ is not a member of ‘std’
  48. class CCriticalSection : public AnnotatedMixin<std::recursive_mutex>
  49. ^
  50. ./sync.h:94:48: error: ‘recursive_mutex’ is not a member of ‘std’
  51. ./sync.h:94:68: error: template argument 1 is invalid
  52. class CCriticalSection : public AnnotatedMixin<std::recursive_mutex>
  53. ^
  54. ./sync.h:103:24: error: ‘mutex’ is not a member of ‘std’
  55. typedef AnnotatedMixin<std::mutex> CWaitableCriticalSection;
  56. ^
  57. ./sync.h:103:24: error: ‘mutex’ is not a member of ‘std’
  58. ./sync.h:103:34: error: template argument 1 is invalid
  59. typedef AnnotatedMixin<std::mutex> CWaitableCriticalSection;
  60. ^
  61. ./sync.h:106:14: error: ‘condition_variable’ in namespace ‘std’ does not name a type
  62. typedef std::condition_variable CConditionVariable;
  63. ^
  64. ./sync.h:109:26: error: ‘mutex’ is not a member of ‘std’
  65. typedef std::unique_lock<std::mutex> WaitableLock;
  66. ^
  67. ./sync.h:109:26: error: ‘mutex’ is not a member of ‘std’
  68. ./sync.h:109:36: error: template argument 1 is invalid
  69. typedef std::unique_lock<std::mutex> WaitableLock;
  70. ^
  71. In file included from ./util.h:20:0,
  72. from ./init.h:11,
  73. from bitcoind.cpp:15:
  74. ./sync.h:197:10: error: ‘condition_variable’ in namespace ‘std’ does not name a type
  75. std::condition_variable condition;
  76. ^
  77. ./sync.h:198:10: error: ‘mutex’ in namespace ‘std’ does not name a type
  78. std::mutex mutex;
  79. ^
  80. ./sync.h: In member function ‘void CSemaphore::wait()’:
  81. ./sync.h:206:26: error: ‘mutex’ is not a member of ‘std’
  82. std::unique_lock<std::mutex> lock(mutex);
  83. ^
  84. ./sync.h:206:26: error: ‘mutex’ is not a member of ‘std’
  85. ./sync.h:206:36: error: template argument 1 is invalid
  86. std::unique_lock<std::mutex> lock(mutex);
  87. ^
  88. ./sync.h:206:43: error: ‘mutex’ was not declared in this scope
  89. std::unique_lock<std::mutex> lock(mutex);
  90. ^
  91. ./sync.h:207:9: error: ‘condition’ was not declared in this scope
  92. condition.wait(lock, [&]() { return value >= 1; });
  93. ^
  94. ./sync.h: In member function ‘bool CSemaphore::try_wait()’:
  95. ./sync.h:213:25: error: ‘mutex’ is not a member of ‘std’
  96. std::lock_guard<std::mutex> lock(mutex);
  97. ^
  98. ./sync.h:213:25: error: ‘mutex’ is not a member of ‘std’
  99. ./sync.h:213:35: error: template argument 1 is invalid
  100. std::lock_guard<std::mutex> lock(mutex);
  101. ^
  102. ./sync.h:213:42: error: ‘mutex’ was not declared in this scope
  103. std::lock_guard<std::mutex> lock(mutex);
  104. ^
  105. ./sync.h: In member function ‘void CSemaphore::post()’:
  106. ./sync.h:223:29: error: ‘mutex’ is not a member of ‘std’
  107. std::lock_guard<std::mutex> lock(mutex);
  108. ^
  109. ./sync.h:223:29: error: ‘mutex’ is not a member of ‘std’
  110. ./sync.h:223:39: error: template argument 1 is invalid
  111. std::lock_guard<std::mutex> lock(mutex);
  112. ^
  113. ./sync.h:223:46: error: ‘mutex’ was not declared in this scope
  114. std::lock_guard<std::mutex> lock(mutex);
  115. ^
  116. ./sync.h:226:9: error: ‘condition’ was not declared in this scope
  117. condition.notify_one();
  118. ^
  119. In file included from ./logging.h:15:0,
  120. from ./util.h:19,
  121. from ./init.h:11,
  122. from bitcoind.cpp:15:
  123. /usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/mutex: In instantiation of ‘void std::unique_lock<_Mutex>::lock() [with _Mutex = CCriticalSection]’:
  124. ./sync.h:128:23: required from here
  125. /usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/mutex:485:6: error: ‘std::unique_lock<CCriticalSection>::mutex_type {aka class CCriticalSection}’ has no member named ‘lock’
  126. _M_device->lock();
  127. ^
  128. /usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/mutex: In instantiation of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = CCriticalSection
  129. ’:
  130. ./sync.h:137:23: required from here
  131. /usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/mutex:499:14: error: ‘std::unique_lock<CCriticalSection>::mutex_type {aka class CCriticalSection}’ has no member named ‘try_lock’
  132. _M_owns = _M_device->try_lock();
  133. ^
  134. /usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/mutex: In instantiation of ‘void std::unique_lock<_Mutex>::unlock() [with _Mutex = CCriticalSection]’:
  135. /usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/mutex:450:10: required from ‘std::unique_lock<_Mutex>::~unique_lock() [with _Mutex = CCriticalSection]’
  136. ./sync.h:144:183: required from here
  137. /usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/mutex:541:6: error: ‘std::unique_lock<CCriticalSection>::mutex_type {aka class CCriticalSection}’ has no member named ‘unlock’
  138. _M_device->unlock();
  139. ^
  140. Makefile:8336: recipe for target 'bitcoind-bitcoind.o' failed
  141. make[2]: *** [bitcoind-bitcoind.o] Error 1
  142. make[2]: Leaving directory '/home/nkohen/bitcoin/src'
  143. Makefile:9686: recipe for target 'all-recursive' failed
  144. make[1]: *** [all-recursive] Error 1
  145. make[1]: Leaving directory '/home/nkohen/bitcoin/src'
  146. Makefile:756: recipe for target 'all-recursive' failed
  147. make: *** [all-recursive] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement