cryptonote-universal-pool
cryptonote-universal-pool copied to clipboard
Error running npm update
Hi so I have tried numerous versions of node. Node v5.0.0 seemed to have no problem however upon running init.js there were a bunch of errors talking about a recon error. I have now tried v6.2.0 and got similar errors to other node versions. (node:25510) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
[email protected] install /home/pieter/cryptonote-universal-pool/node_modules/bignum node-pre-gyp install --fallback-to-build
[bignum] Success: "/home/pieter/cryptonote-universal-pool/node_modules/bignum/binding/bignum.node" is i nstalled via remote
[email protected] install /home/pieter/cryptonote-universal-pool/node_modules/cryptonote-util node-gyp rebuild
make: Entering directory '/home/pieter/cryptonote-universal-pool/node_modules/cryptonote-util/build'
CXX(target) Release/obj.target/cryptonote/src/main.o
../src/main.cc: In function ‘v8::Handlev8::Value except(const char*)’:
../src/main.cc:21:44: error: ‘New’ is not a member of ‘v8::String’
return ThrowException(Exception::Error(String::New(msg)));
^
../src/main.cc:21:61: error: ‘ThrowException’ was not declared in this scope
return ThrowException(Exception::Error(String::New(msg)));
^
../src/main.cc: At global scope:
../src/main.cc:80:34: error: ‘Arguments’ does not name a type
Handle<Value> convert_blob(const Arguments& args) {
^
In file included from /home/pieter/.node-gyp/6.2.0/include/node/node.h:42:0,
from ../src/main.cc:2:
/home/pieter/.node-gyp/6.2.0/include/node/v8.h: In function ‘v8::Handlev8::Value convert_blob(const i nt&)’:
/home/pieter/.node-gyp/6.2.0/include/node/v8.h:904:13: error: ‘v8::HandleScope::HandleScope()’ is prote cted
V8_INLINE HandleScope() {}
^
../src/main.cc:81:17: error: within this context
HandleScope scope;
^
../src/main.cc:83:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const i nt’
if (args.Length() < 1)
^
../src/main.cc:86:34: error: invalid types ‘const int[int]’ for array subscript
Local<Object> target = args[0]->ToObject();
^
../src/main.cc:111:11: error: expected primary-expression before ‘’ token
Buffer buff = Buffer::New(output.data(), output.size());
^
../src/main.cc:111:13: error: ‘buff’ was not declared in this scope
Buffer* buff = Buffer::New(output.data(), output.size());
^
../src/main.cc:111:60: error: no matching function for call to ‘New(const char*, std::cxx11::basic_st ringmake
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/bu ild.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Linux 4.4.0-89-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node- gyp.js" "rebuild"
gyp ERR! cwd /home/pieter/cryptonote-universal-pool/node_modules/cryptonote-util
gyp ERR! node -v v6.2.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
[email protected] /home/pieter/cryptonote-universal-pool
├─┬ [email protected]
│ └── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ └─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ └─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ └─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ └─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ └── [email protected]
├── [email protected]
├─┬ [email protected] (git://github.com/fancoder/node-multi-hashing.git#ec00b7429b668b3366d80a8fa85e 9c22b4792d70)
│ └── [email protected]
└─┬ [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
npm ERR! Linux 4.4.0-89-generic npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! node v6.2.0 npm ERR! npm v3.8.9 npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the cryptonote-util package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs cryptonote-util
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls cryptonote-util
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /home/pieter/cryptonote-universal-pool/npm-debug.log
Sorry I know it is a very long post but I was thinking more info is better. Thanks in advance
Please note the following lines saying "npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the cryptonote-util package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs cryptonote-util npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls cryptonote-util npm ERR! There is likely additional logging output above.
And yes I know this isn't the proper log file
Experiencing the same issue.
[intense@server1 pool]$ npm update
> [email protected] install /home/intense/pool/node_modules/cryptonote-util
> node-gyp rebuild
make: Entering directory `/home/intense/pool/node_modules/cryptonote-util/build'
CXX(target) Release/obj.target/cryptonote/src/main.o
In file included from ../src/contrib/epee/include/serialization/keyvalue_serialization.h:31,
from ../src/cryptonote_core/cryptonote_basic.h:20,
from ../src/main.cc:8:
../src/contrib/epee/include/misc_log_ex.h:32:18: warning: atomic: No such file or directory
In file included from /home/intense/.node-gyp/6.11.2/include/node/node.h:42,
from ../src/main.cc:2:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:345: error: expected unqualified-id before ‘using’
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In constructor ‘v8::MaybeLocal<T>::MaybeLocal()’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:362: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In member function ‘bool v8::MaybeLocal<T>::IsEmpty() const’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:369: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In member function ‘bool v8::MaybeLocal<T>::ToLocal(v8::Local<S>*) const’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:373: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In member function ‘bool v8::WeakCallbackInfo<T>::IsFirstPass() const’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:441: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: At global scope:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:481: error: expected unqualified-id before ‘using’
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In constructor ‘v8::Global<T>::Global()’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:820: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In constructor ‘v8::Global<T>::Global(v8::Global<T>&&)’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:845: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In member function ‘v8::Global<T>& v8::Global<T>::operator=(v8::Global<S>&&)’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:857: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: At global scope:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:882: error: expected unqualified-id before ‘using’
/home/intense/.node-gyp/6.11.2/include/node/v8.h:1119: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h:1125: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In member function ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:3279: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: At global scope:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:4499: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h:4515: error: ‘nullptr’ was not declared in this scope
/home/intense/.node-gyp/6.11.2/include/node/v8.h: In member function ‘v8::Local<T> v8::MaybeLocal<T>::ToLocalChecked()’:
/home/intense/.node-gyp/6.11.2/include/node/v8.h:7539: error: ‘nullptr’ was not declared in this scope
In file included from ../src/cryptonote_core/cryptonote_basic.h:16,
from ../src/main.cc:8:
../src/serialization/binary_archive.h: At global scope:
../src/serialization/binary_archive.h:18: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
../src/serialization/binary_archive.h:169: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
In file included from ../src/contrib/epee/include/misc_log_ex.h:54,
from ../src/contrib/epee/include/serialization/keyvalue_serialization.h:31,
from ../src/cryptonote_core/cryptonote_basic.h:20,
from ../src/main.cc:8:
../src/contrib/epee/include/string_tools.h:184: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
../src/contrib/epee/include/string_tools.h:185: warning: unknown option after ‘#pragma GCC diagnostic’ kind
../src/contrib/epee/include/string_tools.h: In function ‘bool epee::string_tools::get_xtype_from_string(XType&, const std::string&)’:
../src/contrib/epee/include/string_tools.h:191: error: expected initializer before ‘:’ token
../src/contrib/epee/include/string_tools.h:196: error: expected primary-expression before ‘}’ token
../src/contrib/epee/include/string_tools.h:196: error: expected ‘;’ before ‘}’ token
../src/contrib/epee/include/string_tools.h:196: error: expected primary-expression before ‘}’ token
../src/contrib/epee/include/string_tools.h:196: error: expected ‘)’ before ‘}’ token
../src/contrib/epee/include/string_tools.h:196: error: expected primary-expression before ‘}’ token
../src/contrib/epee/include/string_tools.h:196: error: expected ‘;’ before ‘}’ token
../src/contrib/epee/include/string_tools.h: At global scope:
../src/contrib/epee/include/string_tools.h:215: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
In file included from ../src/contrib/epee/include/misc_log_ex.h:55,
from ../src/contrib/epee/include/serialization/keyvalue_serialization.h:31,
from ../src/cryptonote_core/cryptonote_basic.h:20,
from ../src/main.cc:8:
../src/contrib/epee/include/time_helper.h: In function ‘std::string epee::misc_utils::get_time_str(const time_t&)’:
../src/contrib/epee/include/time_helper.h:62: error: #pragma GCC diagnostic not allowed inside functions
../src/contrib/epee/include/time_helper.h:65: error: #pragma GCC diagnostic not allowed inside functions
../src/contrib/epee/include/time_helper.h: In function ‘std::string epee::misc_utils::get_time_str_v2(const time_t&)’:
../src/contrib/epee/include/time_helper.h:84: error: #pragma GCC diagnostic not allowed inside functions
../src/contrib/epee/include/time_helper.h:87: error: #pragma GCC diagnostic not allowed inside functions
../src/contrib/epee/include/time_helper.h: In function ‘std::string epee::misc_utils::get_internet_time_str(const time_t&)’:
../src/contrib/epee/include/time_helper.h:112: error: #pragma GCC diagnostic not allowed inside functions
../src/contrib/epee/include/time_helper.h:115: error: #pragma GCC diagnostic not allowed inside functions
../src/contrib/epee/include/time_helper.h: In function ‘std::string epee::misc_utils::get_time_interval_string(const time_t&)’:
../src/contrib/epee/include/time_helper.h:124: error: #pragma GCC diagnostic not allowed inside functions
../src/contrib/epee/include/time_helper.h:133: error: #pragma GCC diagnostic not allowed inside functions
In file included from ../src/contrib/epee/include/serialization/keyvalue_serialization.h:31,
from ../src/cryptonote_core/cryptonote_basic.h:20,
from ../src/main.cc:8:
../src/contrib/epee/include/misc_log_ex.h: In function ‘bool epee::log_space::is_stdout_a_tty()’:
../src/contrib/epee/include/misc_log_ex.h:205: error: expected initializer before ‘<’ token
../src/contrib/epee/include/misc_log_ex.h:206: error: expected initializer before ‘<’ token
../src/contrib/epee/include/misc_log_ex.h:208: error: ‘initialized’ was not declared in this scope
../src/contrib/epee/include/misc_log_ex.h:208: error: ‘memory_order_acquire’ is not a member of ‘std’
../src/contrib/epee/include/misc_log_ex.h:213: error: ‘is_a_tty’ was not declared in this scope
../src/contrib/epee/include/misc_log_ex.h:213: error: ‘memory_order_relaxed’ is not a member of ‘std’
../src/contrib/epee/include/misc_log_ex.h:215: error: ‘memory_order_release’ is not a member of ‘std’
../src/contrib/epee/include/misc_log_ex.h:218: error: ‘is_a_tty’ was not declared in this scope
../src/contrib/epee/include/misc_log_ex.h:218: error: ‘memory_order_relaxed’ is not a member of ‘std’
In file included from ../src/contrib/epee/include/serialization/keyvalue_serialization.h:31,
from ../src/cryptonote_core/cryptonote_basic.h:20,
from ../src/main.cc:8:
../src/contrib/epee/include/misc_log_ex.h: At global scope:
../src/contrib/epee/include/misc_log_ex.h:980: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
../src/contrib/epee/include/misc_log_ex.h:981: warning: unknown option after ‘#pragma GCC diagnostic’ kind
../src/contrib/epee/include/misc_log_ex.h:989: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
In file included from ../src/contrib/epee/include/serialization/keyvalue_serialization.h:33,
from ../src/cryptonote_core/cryptonote_basic.h:20,
from ../src/main.cc:8:
../src/contrib/epee/include/serialization/keyvalue_serialization_overloads.h: In function ‘bool epee::serialization::serialize_stl_container_t_obj(const stl_container&, t_storage&, typename t_storage::hsection, const char*)’:
../src/contrib/epee/include/serialization/keyvalue_serialization_overloads.h:167: error: ‘nullptr’ was not declared in this scope
../src/contrib/epee/include/serialization/keyvalue_serialization_overloads.h: In function ‘bool epee::serialization::unserialize_stl_container_t_obj(stl_container&, t_storage&, typename t_storage::hsection, const char*)’:
../src/contrib/epee/include/serialization/keyvalue_serialization_overloads.h:186: error: ‘nullptr’ was not declared in this scope
In file included from ../src/main.cc:8:
../src/cryptonote_core/cryptonote_basic.h: In static member function ‘static size_t cryptonote::transaction::get_signature_size(const cryptonote::txin_v&)’:
../src/cryptonote_core/cryptonote_basic.h:312: error: no matching function for call to ‘apply_visitor(cryptonote::transaction::get_signature_size(const cryptonote::txin_v&)::txin_signature_size_visitor, const boost::variant<cryptonote::txin_gen, cryptonote::txin_to_script, cryptonote::txin_to_scripthash, cryptonote::txin_to_key, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>&)’
../src/cryptonote_core/cryptonote_basic.h: In static member function ‘static size_t cryptonote::bb_transaction::get_signature_size(const cryptonote::txin_v&)’:
../src/cryptonote_core/cryptonote_basic.h:349: error: no matching function for call to ‘apply_visitor(cryptonote::bb_transaction::get_signature_size(const cryptonote::txin_v&)::txin_signature_size_visitor, const boost::variant<cryptonote::txin_gen, cryptonote::txin_to_script, cryptonote::txin_to_scripthash, cryptonote::txin_to_key, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>&)’
In file included from ../src/main.cc:8:
../src/cryptonote_core/cryptonote_basic.h: At global scope:
../src/cryptonote_core/cryptonote_basic.h:544: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_core/cryptonote_basic.h:544: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_core/cryptonote_basic.h:544: error: ‘nullptr’ was not declared in this scope
In file included from ../src/cryptonote_core/cryptonote_format_utils.h:6,
from ../src/main.cc:9:
../src/cryptonote_protocol/cryptonote_protocol_defs.h:25: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:25: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:25: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:45: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:45: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:45: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:64: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:64: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:64: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:81: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:81: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:81: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:99: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:99: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:99: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:114: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:114: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:114: error: ‘nullptr’ was not declared in this scope
In file included from ../src/cryptonote_core/cryptonote_format_utils.h:6,
from ../src/main.cc:9:
../src/cryptonote_protocol/cryptonote_protocol_defs.h:128: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:128: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:128: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:144: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:144: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_protocol/cryptonote_protocol_defs.h:144: error: ‘nullptr’ was not declared in this scope
In file included from ../src/cryptonote_core/cryptonote_format_utils.h:9,
from ../src/main.cc:9:
../src/cryptonote_core/account.h:20: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_core/account.h:20: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_core/account.h:20: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_core/account.h:51: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_core/account.h:51: error: ‘nullptr’ was not declared in this scope
../src/cryptonote_core/account.h:51: error: ‘nullptr’ was not declared in this scope
In file included from ../src/main.cc:9:
../src/cryptonote_core/cryptonote_format_utils.h: In function ‘bool cryptonote::find_tx_extra_field_by_type(const std::vector<boost::variant<cryptonote::tx_extra_padding, cryptonote::tx_extra_pub_key, cryptonote::tx_extra_nonce, cryptonote::tx_extra_merge_mining_tag, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>, std::allocator<boost::variant<cryptonote::tx_extra_padding, cryptonote::tx_extra_pub_key, cryptonote::tx_extra_nonce, cryptonote::tx_extra_merge_mining_tag, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> > >&, T&)’:
../src/cryptonote_core/cryptonote_format_utils.h:50: error: expected primary-expression before ‘[’ token
../src/cryptonote_core/cryptonote_format_utils.h:50: error: expected primary-expression before ‘]’ token
../src/cryptonote_core/cryptonote_format_utils.h:50: error: expected primary-expression before ‘const’
../src/cryptonote_core/cryptonote_format_utils.h:50: error: unable to deduce ‘auto’ from ‘std::find_if(tx_extra_fields->std::vector<_Tp, _Alloc>::begin [with _Tp = boost::variant<cryptonote::tx_extra_padding, cryptonote::tx_extra_pub_key, cryptonote::tx_extra_nonce, cryptonote::tx_extra_merge_mining_tag, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>, _Alloc = std::allocator<boost::variant<cryptonote::tx_extra_padding, cryptonote::tx_extra_pub_key, cryptonote::tx_extra_nonce, cryptonote::tx_extra_merge_mining_tag, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> >](), tx_extra_fields->std::vector<_Tp, _Alloc>::end [with _Tp = boost::variant<cryptonote::tx_extra_padding, cryptonote::tx_extra_pub_key, cryptonote::tx_extra_nonce, cryptonote::tx_extra_merge_mining_tag, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>, _Alloc = std::allocator<boost::variant<cryptonote::tx_extra_padding, cryptonote::tx_extra_pub_key, cryptonote::tx_extra_nonce, cryptonote::tx_extra_merge_mining_tag, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> >](), <expression error>)’
../src/main.cc: At global scope:
../src/main.cc:20: error: expected constructor, destructor, or type conversion before ‘<’ token
../src/main.cc:80: error: expected constructor, destructor, or type conversion before ‘<’ token
../src/main.cc:51: warning: ‘bool mergeBlocks(const cryptonote::block&, cryptonote::block&, const std::vector<crypto::hash, std::allocator<crypto::hash> >&)’ defined but not used
../src/main.cc:68: warning: ‘bool construct_parent_block(const cryptonote::block&, cryptonote::block&)’ defined but not used
make: *** [Release/obj.target/cryptonote/src/main.o] Error 1
make: Leaving directory `/home/intense/pool/node_modules/cryptonote-util/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 2.6.32-696.3.2.el6.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/intense/pool/node_modules/cryptonote-util
gyp ERR! node -v v6.11.2
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
[email protected] /home/intense/pool
└── [email protected] (git://github.com/fancoder/node-multi-hashing.git#ec00b7429b668b3366d80a8fa85e9c22b4792d70)
npm ERR! Linux 2.6.32-696.3.2.el6.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "update"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the cryptonote-util package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs cryptonote-util
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls cryptonote-util
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/intense/pool/npm-debug.log
Referenced log file: https://pastebin.com/M5raQfQe
same issues here
having the same compile error
Try this to solve the problem (helped me, because it was my issue to)
For Linux install:
npm 0.25.10, redis4.0.8,libboost-all-dev, libssl-dev
New working Nodejs: First remove NodeJS that you already installed: $sudo ap-get remove npm nodejs -y Then download and unzip NodeJS v0.10.25 $wget https://nodejs.org/dist/v0.10.25/node-v0.10.25.tar.gz && tar xvzf node-v0.10.25.tar.gz Compile and Install NodeJS and NPM from the source: $cd node-v0.10.25 $make $sudo make install Make sure to remove node_modules directory: $cd /home/user/pool $sudo rm -r node_modules run npm update: $npm update