deepwn / deepMiner

deepMiner webminer proxy (update for cryptoNight R)
Other
551 stars 237 forks source link

Some problems with building the `node-cryptonote-pool` (about nodeJS versions) #30

Closed xiaoluzhi closed 6 years ago

xiaoluzhi commented 6 years ago

关于node-cryptonote-pool的一点小疑问 因为隔壁项目很久没有更新也没有人回复了,所以就来这边借地方问一下=。=!

在安装过程中,使用nmp update时,有个multi-hashing一直安装失败~

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_module s/node-gyp/lib/build.js:258:23) gyp ERR! stack at emitTwo (events.js:126:13) gyp ERR! stack at ChildProcess.emit (events.js:214:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_proces s.js:198:12) gyp ERR! System Linux 4.4.0-62-generic gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy p/bin/node-gyp.js" "rebuild" gyp ERR! cwd /srv/pool/node_modules/multi-hashing gyp ERR! node -v v8.9.3 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! multi-hashing@0.0.9 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the multi-hashing@0.0.9 install script. npm ERR! This is probably not a problem with npm. There is likely additional log ging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2017-12-21T23_39_48_854Z-debug.log

手动在github上将multi-hashing下下来,然后在启动时又出现这个问题

Error: Cannot find module '/srv/pool/node_modules/bignum/binding/bignum.node' at Function.Module._resolveFilename (module.js:536:15) at Function.Module._load (module.js:466:25) at Module.require (module.js:579:17) at require (internal/module.js:11:18) at Object. (/srv/pool/node_modules/bignum/index.js:4:11) at Module._compile (module.js:635:30) at Object.Module._extensions..js (module.js:646:10) at Module.load (module.js:554:32) at tryModuleLoad (module.js:497:12) at Function.Module._load (module.js:489:3)

这边看到您的演示站内是没有问题的,所以前来请教下您是否有遇到这个问题,还有就是您是否方便提供下nodejs、ubuntu的版本信息,我这边看下是不是由于版本的问题导致的 我目前的环境中nodejs为8.9.3,ubuntu为16.04 x64

evil7 commented 6 years ago

我的演示nodesjs版本和OS版本,跟你一毛一样,但是没发现问题。 正在解决国外友人们关于bypass卡巴斯基的问题。稍等。 试试从新clone他的项目,用npm update替换npm install装所有依赖。 如果还不行,再到这个下面replay吧。 目前看LOG可能是gyp的问题,或者是依赖不全造成的。

xiaoluzhi commented 6 years ago

我之前就是使用的npm update安装的依赖,我现在在尝试使用npm install

xiaoluzhi commented 6 years ago

在新的一次尝试中,依然有报错,无法继续执行

In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../../nan/nan.h:51, from ../bignum.cc:8: /root/.node-gyp/8.9.3/include/node/v8.h:9737:15: note: declared here Local Value::ToUint32() const { ^ ../bignum.cc: In static member function ‘static v8::Local BigNum::Bop(Nan::NAN_METHOD_ARGS_TYPE, int)’: ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated: Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:994:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ In file included from /root/.node-gyp/8.9.3/include/node/v8.h:26:0, from /root/.node-gyp/8.9.3/include/node/node.h:63, from ../../nan/nan.h:51, from ../bignum.cc:8: /root/.node-gyp/8.9.3/include/node/v8.h:3832:31: note: declared here Local NewInstance(int argc, Local argv[]) const) ^ /root/.node-gyp/8.9.3/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Binvertm(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated: Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:1026:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ In file included from /root/.node-gyp/8.9.3/include/node/v8.h:26:0, from /root/.node-gyp/8.9.3/include/node/node.h:63, from ../../nan/nan.h:51, from ../bignum.cc:8: /root/.node-gyp/8.9.3/include/node/v8.h:3832:31: note: declared here Local NewInstance(int argc, Local argv[]) const) ^ /root/.node-gyp/8.9.3/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bgcd(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:1061:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ In file included from /root/.node-gyp/8.9.3/include/node/v8.h:26:0, from /root/.node-gyp/8.9.3/include/node/node.h:63, from ../../nan/nan.h:51, from ../bignum.cc:8: /root/.node-gyp/8.9.3/include/node/v8.h:3832:31: note: declared here Local NewInstance(int argc, Local argv[]) const) ^ /root/.node-gyp/8.9.3/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bsetcompact(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:1085:45: warning: ‘v8::Local v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] unsigned int nCompact = info[0]->ToUint32()->Value(); ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../../nan/nan.h:51, from ../bignum.cc:8: /root/.node-gyp/8.9.3/include/node/v8.h:9737:15: note: declared here Local Value::ToUint32() const { ^ SOLINK_MODULE(target) Release/obj.target/bignum.node COPY Release/bignum.node COPY /srv/pool/node_modules/bignum/binding/bignum.node TOUCH Release/obj.target/action_after_build.stamp make: Leaving directory '/srv/pool/node_modules/bignum/build'

cryptonote-util@0.0.3 install /srv/pool/node_modules/cryptonote-util node-gyp rebuild

make: Entering directory '/srv/pool/node_modules/cryptonote-util/build' CXX(target) Release/obj.target/cryptonote/src/main.o CXX(target) Release/obj.target/cryptonote/src/cryptonote_core/cryptonote_format_utils.o ../src/cryptonote_core/cryptonote_format_utils.cpp: In function ‘bool cryptonote::check_proof_of_work(const cryptonote::block&, cryptonote::difficulty_type, crypto::hash&)’: ../src/cryptonote_core/cryptonote_format_utils.cpp:938:3: warning: no return statement in function returning non-void [-Wreturn-type] } ^ CC(target) Release/obj.target/cryptonote/src/crypto/tree-hash.o CXX(target) Release/obj.target/cryptonote/src/crypto/crypto.o CC(target) Release/obj.target/cryptonote/src/crypto/crypto-ops.o CC(target) Release/obj.target/cryptonote/src/crypto/crypto-ops-data.o CC(target) Release/obj.target/cryptonote/src/crypto/hash.o CC(target) Release/obj.target/cryptonote/src/crypto/keccak.o CXX(target) Release/obj.target/cryptonote/src/common/base58.o SOLINK_MODULE(target) Release/obj.target/cryptonote.node COPY Release/cryptonote.node make: Leaving directory '/srv/pool/node_modules/cryptonote-util/build'

multi-hashing@0.0.9 install /srv/pool/node_modules/multi-hashing node-gyp rebuild

make: Entering directory '/srv/pool/node_modules/multi-hashing/build' CXX(target) Release/obj.target/multihashing/multihashing.o ../multihashing.cc:23:22: warning: extra tokens at end of #include directive

include "sha1.h",

                  ^

../multihashing.cc: In function ‘v8::Handle except(const char)’: ../multihashing.cc:34:44: error: ‘New’ is not a member of ‘v8::String’ return ThrowException(Exception::Error(String::New(msg))); ^ ../multihashing.cc:34:61: error: ‘ThrowException’ was not declared in this scope return ThrowException(Exception::Error(String::New(msg))); ^ ../multihashing.cc: At global scope: ../multihashing.cc:37:27: error: ‘Arguments’ does not name a type Handle quark(const Arguments& args) { ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h: In function ‘v8::Handle quark(const int&)’: /root/.node-gyp/8.9.3/include/node/v8.h:874:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:38:17: error: within this context HandleScope scope; ^ ../multihashing.cc:40:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:43:34: error: invalid types ‘const int[int]’ for array subscript Local target = args[0]->ToObject(); ^ ../multihashing.cc:55:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:55:13: error: ‘buff’ was not declared in this scope Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:55:42: error: no matching function for call to ‘New(char [32], int)’ Buffer buff = Buffer::New(output, 32); ^ In file included from ../multihashing.cc:2:0: /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length) ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided /root/.node-gyp/8.9.3/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/nodebuffer.h:67:40: note: candidate expects 3 arguments, 2 provided ../multihashing.cc:56:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../multihashing.cc: At global scope: ../multihashing.cc:59:25: error: ‘Arguments’ does not name a type Handle x11(const Arguments& args) { ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h: In function ‘v8::Handle x11(const int&)’: /root/.node-gyp/8.9.3/include/node/v8.h:874:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:60:17: error: within this context HandleScope scope; ^ ../multihashing.cc:62:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:65:34: error: invalid types ‘const int[int]’ for array subscript Local target = args[0]->ToObject(); ^ ../multihashing.cc:77:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:77:13: error: ‘buff’ was not declared in this scope Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:77:42: error: no matching function for call to ‘New(char [32], int)’ Buffer buff = Buffer::New(output, 32); ^ In file included from ../multihashing.cc:2:0: /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length) ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided /root/.node-gyp/8.9.3/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/nodebuffer.h:67:40: note: candidate expects 3 arguments, 2 provided ../multihashing.cc:78:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../multihashing.cc: At global scope: ../multihashing.cc:81:28: error: ‘Arguments’ does not name a type Handle scrypt(const Arguments& args) { ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h: In function ‘v8::Handle scrypt(const int&)’: /root/.node-gyp/8.9.3/include/node/v8.h:874:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:82:16: error: within this context HandleScope scope; ^ ../multihashing.cc:84:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 3) ^ ../multihashing.cc:87:33: error: invalid types ‘const int[int]’ for array subscript Local target = args[0]->ToObject(); ^ ../multihashing.cc:92:31: error: invalid types ‘const int[int]’ for array subscript Local numn = args[1]->ToNumber(); ^ ../multihashing.cc:94:31: error: invalid types ‘const int[int]’ for array subscript Local numr = args[2]->ToNumber(); ^ ../multihashing.cc:104:10: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:104:12: error: ‘buff’ was not declared in this scope Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:104:41: error: no matching function for call to ‘New(char [32], int)’ Buffer buff = Buffer::New(output, 32); ^ In file included from ../multihashing.cc:2:0: /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length) ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided /root/.node-gyp/8.9.3/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/nodebuffer.h:67:40: note: candidate expects 3 arguments, 2 provided ../multihashing.cc:105:17: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../multihashing.cc: At global scope: ../multihashing.cc:110:29: error: ‘Arguments’ does not name a type Handle scryptn(const Arguments& args) { ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h: In function ‘v8::Handle scryptn(const int&)’: /root/.node-gyp/8.9.3/include/node/v8.h:874:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:111:16: error: within this context HandleScope scope; ^ ../multihashing.cc:113:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 2) ^ ../multihashing.cc:116:33: error: invalid types ‘const int[int]’ for array subscript Local target = args[0]->ToObject(); ^ ../multihashing.cc:121:30: error: invalid types ‘const int[int]’ for array subscript Local num = args[1]->ToNumber(); ^ ../multihashing.cc:135:10: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:135:12: error: ‘buff’ was not declared in this scope Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:135:41: error: no matching function for call to ‘New(char [32], int)’ Buffer buff = Buffer::New(output, 32); ^ In file included from ../multihashing.cc:2:0: /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length) ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided /root/.node-gyp/8.9.3/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/nodebuffer.h:67:40: note: candidate expects 3 arguments, 2 provided ../multihashing.cc:136:17: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../multihashing.cc: At global scope: ../multihashing.cc:139:32: error: ‘Arguments’ does not name a type Handle scryptjane(const Arguments& args) { ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h: In function ‘v8::Handle scryptjane(const int&)’: /root/.node-gyp/8.9.3/include/node/v8.h:874:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:140:17: error: within this context HandleScope scope; ^ ../multihashing.cc:142:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 5) ^ ../multihashing.cc:145:34: error: invalid types ‘const int[int]’ for array subscript Local target = args[0]->ToObject(); ^ ../multihashing.cc:150:31: error: invalid types ‘const int[int]’ for array subscript Local num = args[1]->ToNumber(); ^ ../multihashing.cc:153:32: error: invalid types ‘const int[int]’ for array subscript Local num2 = args[2]->ToNumber(); ^ ../multihashing.cc:156:32: error: invalid types ‘const int[int]’ for array subscript Local num3 = args[3]->ToNumber(); ^ ../multihashing.cc:159:32: error: invalid types ‘const int[int]’ for array subscript Local num4 = args[4]->ToNumber(); ^ ../multihashing.cc:169:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:169:13: error: ‘buff’ was not declared in this scope Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:169:42: error: no matching function for call to ‘New(char [32], int)’ Buffer buff = Buffer::New(output, 32); ^ In file included from ../multihashing.cc:2:0: /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length) ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided /root/.node-gyp/8.9.3/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/nodebuffer.h:67:40: note: candidate expects 3 arguments, 2 provided ../multihashing.cc:170:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../multihashing.cc: At global scope: ../multihashing.cc:173:28: error: ‘Arguments’ does not name a type Handle keccak(const Arguments& args) { ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h: In function ‘v8::Handle keccak(const int&)’: /root/.node-gyp/8.9.3/include/node/v8.h:874:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:174:17: error: within this context HandleScope scope; ^ ../multihashing.cc:176:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:179:34: error: invalid types ‘const int[int]’ for array subscript Local target = args[0]->ToObject(); ^ ../multihashing.cc:191:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:191:13: error: ‘buff’ was not declared in this scope Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:191:42: error: no matching function for call to ‘New(char [32], int)’ Buffer buff = Buffer::New(output, 32); ^ In file included from ../multihashing.cc:2:0: /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length) ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided /root/.node-gyp/8.9.3/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/nodebuffer.h:67:40: note: candidate expects 3 arguments, 2 provided ../multihashing.cc:192:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../multihashing.cc: At global scope: ../multihashing.cc:196:28: error: ‘Arguments’ does not name a type Handle bcrypt(const Arguments& args) { ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h: In function ‘v8::Handle bcrypt(const int&)’: /root/.node-gyp/8.9.3/include/node/v8.h:874:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:197:17: error: within this context HandleScope scope; ^ ../multihashing.cc:199:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:202:34: error: invalid types ‘const int[int]’ for array subscript Local target = args[0]->ToObject(); ^ ../multihashing.cc:212:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:212:13: error: ‘buff’ was not declared in this scope Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:212:42: error: no matching function for call to ‘New(char [32], int)’ Buffer buff = Buffer::New(output, 32); ^ In file included from ../multihashing.cc:2:0: /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length) ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided /root/.node-gyp/8.9.3/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/nodebuffer.h:67:40: note: candidate expects 3 arguments, 2 provided ../multihashing.cc:213:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../multihashing.cc: At global scope: ../multihashing.cc:216:27: error: ‘Arguments’ does not name a type Handle skein(const Arguments& args) { ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h: In function ‘v8::Handle skein(const int&)’: /root/.node-gyp/8.9.3/include/node/v8.h:874:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:217:17: error: within this context HandleScope scope; ^ ../multihashing.cc:219:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:222:34: error: invalid types ‘const int[int]’ for array subscript Local target = args[0]->ToObject(); ^ ../multihashing.cc:234:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:234:13: error: ‘buff’ was not declared in this scope Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:234:42: error: no matching function for call to ‘New(char [32], int)’ Buffer buff = Buffer::New(output, 32); ^ In file included from ../multihashing.cc:2:0: /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length) ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided /root/.node-gyp/8.9.3/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/nodebuffer.h:67:40: note: candidate expects 3 arguments, 2 provided ../multihashing.cc:235:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../multihashing.cc: At global scope: ../multihashing.cc:239:29: error: ‘Arguments’ does not name a type Handle groestl(const Arguments& args) { ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h: In function ‘v8::Handle groestl(const int&)’: /root/.node-gyp/8.9.3/include/node/v8.h:874:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:240:17: error: within this context HandleScope scope; ^ ../multihashing.cc:242:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:245:34: error: invalid types ‘const int[int]’ for array subscript Local target = args[0]->ToObject(); ^ ../multihashing.cc:257:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:257:13: error: ‘buff’ was not declared in this scope Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:257:42: error: no matching function for call to ‘New(char [32], int)’ Buffer buff = Buffer::New(output, 32); ^ In file included from ../multihashing.cc:2:0: /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length) ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided /root/.node-gyp/8.9.3/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/nodebuffer.h:67:40: note: candidate expects 3 arguments, 2 provided ../multihashing.cc:258:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../multihashing.cc: At global scope: ../multihashing.cc:262:35: error: ‘Arguments’ does not name a type Handle groestlmyriad(const Arguments& args) { ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h: In function ‘v8::Handle groestlmyriad(const int&)’: /root/.node-gyp/8.9.3/include/node/v8.h:874:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:263:17: error: within this context HandleScope scope; ^ ../multihashing.cc:265:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:268:34: error: invalid types ‘const int[int]’ for array subscript Local target = args[0]->ToObject(); ^ ../multihashing.cc:280:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:280:13: error: ‘buff’ was not declared in this scope Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:280:42: error: no matching function for call to ‘New(char [32], int)’ Buffer buff = Buffer::New(output, 32); ^ In file included from ../multihashing.cc:2:0: /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length) ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided /root/.node-gyp/8.9.3/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/nodebuffer.h:67:40: note: candidate expects 3 arguments, 2 provided ../multihashing.cc:281:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../multihashing.cc: At global scope: ../multihashing.cc:285:27: error: ‘Arguments’ does not name a type Handle blake(const Arguments& args) { ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h: In function ‘v8::Handle blake(const int&)’: /root/.node-gyp/8.9.3/include/node/v8.h:874:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:286:17: error: within this context HandleScope scope; ^ ../multihashing.cc:288:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:291:34: error: invalid types ‘const int[int]’ for array subscript Local target = args[0]->ToObject(); ^ ../multihashing.cc:303:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:303:13: error: ‘buff’ was not declared in this scope Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:303:42: error: no matching function for call to ‘New(char [32], int)’ Buffer buff = Buffer::New(output, 32); ^ In file included from ../multihashing.cc:2:0: /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length) ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided /root/.node-gyp/8.9.3/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/nodebuffer.h:67:40: note: candidate expects 3 arguments, 2 provided ../multihashing.cc:304:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../multihashing.cc: At global scope: ../multihashing.cc:308:27: error: ‘Arguments’ does not name a type Handle fugue(const Arguments& args) { ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h: In function ‘v8::Handle fugue(const int&)’: /root/.node-gyp/8.9.3/include/node/v8.h:874:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:309:17: error: within this context HandleScope scope; ^ ../multihashing.cc:311:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:314:34: error: invalid types ‘const int[int]’ for array subscript Local target = args[0]->ToObject(); ^ ../multihashing.cc:326:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:326:13: error: ‘buff’ was not declared in this scope Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:326:42: error: no matching function for call to ‘New(char [32], int)’ Buffer buff = Buffer::New(output, 32); ^ In file included from ../multihashing.cc:2:0: /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length) ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided /root/.node-gyp/8.9.3/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/nodebuffer.h:67:40: note: candidate expects 3 arguments, 2 provided ../multihashing.cc:327:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../multihashing.cc: At global scope: ../multihashing.cc:331:27: error: ‘Arguments’ does not name a type Handle qubit(const Arguments& args) { ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h: In function ‘v8::Handle qubit(const int&)’: /root/.node-gyp/8.9.3/include/node/v8.h:874:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:332:17: error: within this context HandleScope scope; ^ ../multihashing.cc:334:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:337:34: error: invalid types ‘const int[int]’ for array subscript Local target = args[0]->ToObject(); ^ ../multihashing.cc:349:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:349:13: error: ‘buff’ was not declared in this scope Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:349:42: error: no matching function for call to ‘New(char [32], int)’ Buffer buff = Buffer::New(output, 32); ^ In file included from ../multihashing.cc:2:0: /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length) ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided /root/.node-gyp/8.9.3/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/nodebuffer.h:67:40: note: candidate expects 3 arguments, 2 provided ../multihashing.cc:350:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../multihashing.cc: At global scope: ../multihashing.cc:354:28: error: ‘Arguments’ does not name a type Handle hefty1(const Arguments& args) { ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h: In function ‘v8::Handle hefty1(const int&)’: /root/.node-gyp/8.9.3/include/node/v8.h:874:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:355:17: error: within this context HandleScope scope; ^ ../multihashing.cc:357:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:360:34: error: invalid types ‘const int[int]’ for array subscript Local target = args[0]->ToObject(); ^ ../multihashing.cc:372:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:372:13: error: ‘buff’ was not declared in this scope Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:372:42: error: no matching function for call to ‘New(char [32], int)’ Buffer buff = Buffer::New(output, 32); ^ In file included from ../multihashing.cc:2:0: /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length) ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided /root/.node-gyp/8.9.3/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/nodebuffer.h:67:40: note: candidate expects 3 arguments, 2 provided ../multihashing.cc:373:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../multihashing.cc: At global scope: ../multihashing.cc:377:30: error: ‘Arguments’ does not name a type Handle shavite3(const Arguments& args) { ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h: In function ‘v8::Handle shavite3(const int&)’: /root/.node-gyp/8.9.3/include/node/v8.h:874:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:378:17: error: within this context HandleScope scope; ^ ../multihashing.cc:380:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:383:34: error: invalid types ‘const int[int]’ for array subscript Local target = args[0]->ToObject(); ^ ../multihashing.cc:395:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:395:13: error: ‘buff’ was not declared in this scope Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:395:42: error: no matching function for call to ‘New(char [32], int)’ Buffer buff = Buffer::New(output, 32); ^ In file included from ../multihashing.cc:2:0: /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length) ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided /root/.node-gyp/8.9.3/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/nodebuffer.h:67:40: note: candidate expects 3 arguments, 2 provided ../multihashing.cc:396:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../multihashing.cc: At global scope: ../multihashing.cc:399:33: error: ‘Arguments’ does not name a type Handle cryptonight(const Arguments& args) { ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h: In function ‘v8::Handle cryptonight(const int&)’: /root/.node-gyp/8.9.3/include/node/v8.h:874:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:400:17: error: within this context HandleScope scope; ^ ../multihashing.cc:404:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:407:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() >= 2) { ^ ../multihashing.cc:408:19: error: invalid types ‘const int[int]’ for array subscript if(!args[1]->IsBoolean()) ^ ../multihashing.cc:410:22: error: invalid types ‘const int[int]’ for array subscript fast = args[1]->ToBoolean()->BooleanValue(); ^ ../multihashing.cc:413:34: error: invalid types ‘const int[int]’ for array subscript Local target = args[0]->ToObject(); ^ ../multihashing.cc:428:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:428:13: error: ‘buff’ was not declared in this scope Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:428:42: error: no matching function for call to ‘New(char [32], int)’ Buffer buff = Buffer::New(output, 32); ^ In file included from ../multihashing.cc:2:0: /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length) ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided /root/.node-gyp/8.9.3/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/nodebuffer.h:67:40: note: candidate expects 3 arguments, 2 provided ../multihashing.cc:429:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../multihashing.cc: At global scope: ../multihashing.cc:432:25: error: ‘Arguments’ does not name a type Handle x13(const Arguments& args) { ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h: In function ‘v8::Handle x13(const int&)’: /root/.node-gyp/8.9.3/include/node/v8.h:874:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:433:17: error: within this context HandleScope scope; ^ ../multihashing.cc:435:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:438:34: error: invalid types ‘const int[int]’ for array subscript Local target = args[0]->ToObject(); ^ ../multihashing.cc:450:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:450:13: error: ‘buff’ was not declared in this scope Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:450:42: error: no matching function for call to ‘New(char [32], int)’ Buffer buff = Buffer::New(output, 32); ^ In file included from ../multihashing.cc:2:0: /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length) ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided /root/.node-gyp/8.9.3/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/nodebuffer.h:67:40: note: candidate expects 3 arguments, 2 provided ../multihashing.cc:451:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../multihashing.cc: At global scope: ../multihashing.cc:454:31: error: ‘Arguments’ does not name a type Handle boolberry(const Arguments& args) { ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h: In function ‘v8::Handle boolberry(const int&)’: /root/.node-gyp/8.9.3/include/node/v8.h:874:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:455:17: error: within this context HandleScope scope; ^ ../multihashing.cc:457:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 2) ^ ../multihashing.cc:460:34: error: invalid types ‘const int[int]’ for array subscript Local target = args[0]->ToObject(); ^ ../multihashing.cc:461:39: error: invalid types ‘const int[int]’ for array subscript Local target_spad = args[1]->ToObject(); ^ ../multihashing.cc:470:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if(args.Length() >= 3) ^ ../multihashing.cc:471:18: error: invalid types ‘const int[int]’ for array subscript if(args[2]->IsUint32()) ^ ../multihashing.cc:472:28: error: invalid types ‘const int[int]’ for array subscript height = args[2]->ToUint32()->Uint32Value(); ^ ../multihashing.cc:470:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(args.Length() >= 3) ^ ../multihashing.cc:485:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:485:13: error: ‘buff’ was not declared in this scope Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:485:42: error: no matching function for call to ‘New(char [32], int)’ Buffer buff = Buffer::New(output, 32); ^ In file included from ../multihashing.cc:2:0: /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length) ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided /root/.node-gyp/8.9.3/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/nodebuffer.h:67:40: note: candidate expects 3 arguments, 2 provided ../multihashing.cc:486:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../multihashing.cc: At global scope: ../multihashing.cc:489:27: error: ‘Arguments’ does not name a type Handle nist5(const Arguments& args) { ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h: In function ‘v8::Handle nist5(const int&)’: /root/.node-gyp/8.9.3/include/node/v8.h:874:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:490:17: error: within this context HandleScope scope; ^ ../multihashing.cc:492:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:495:34: error: invalid types ‘const int[int]’ for array subscript Local target = args[0]->ToObject(); ^ ../multihashing.cc:507:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:507:13: error: ‘buff’ was not declared in this scope Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:507:42: error: no matching function for call to ‘New(char [32], int)’ Buffer buff = Buffer::New(output, 32); ^ In file included from ../multihashing.cc:2:0: /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length) ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided /root/.node-gyp/8.9.3/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/nodebuffer.h:67:40: note: candidate expects 3 arguments, 2 provided ../multihashing.cc:508:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../multihashing.cc: At global scope: ../multihashing.cc:511:26: error: ‘Arguments’ does not name a type Handle sha1(const Arguments& args) { ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h: In function ‘v8::Handle sha1(const int&)’: /root/.node-gyp/8.9.3/include/node/v8.h:874:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:512:17: error: within this context HandleScope scope; ^ ../multihashing.cc:514:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:517:34: error: invalid types ‘const int[int]’ for array subscript Local target = args[0]->ToObject(); ^ ../multihashing.cc:529:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:529:13: error: ‘buff’ was not declared in this scope Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:529:42: error: no matching function for call to ‘New(char [32], int)’ Buffer buff = Buffer::New(output, 32); ^ In file included from ../multihashing.cc:2:0: /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length) ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided /root/.node-gyp/8.9.3/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/nodebuffer.h:67:40: note: candidate expects 3 arguments, 2 provided ../multihashing.cc:530:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../multihashing.cc: At global scope: ../multihashing.cc:533:25: error: ‘Arguments’ does not name a type Handle x15(const Arguments& args) { ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h: In function ‘v8::Handle x15(const int&)’: /root/.node-gyp/8.9.3/include/node/v8.h:874:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:534:17: error: within this context HandleScope scope; ^ ../multihashing.cc:536:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:539:34: error: invalid types ‘const int[int]’ for array subscript Local target = args[0]->ToObject(); ^ ../multihashing.cc:551:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:551:13: error: ‘buff’ was not declared in this scope Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:551:42: error: no matching function for call to ‘New(char [32], int)’ Buffer buff = Buffer::New(output, 32); ^ In file included from ../multihashing.cc:2:0: /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length) ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided /root/.node-gyp/8.9.3/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/nodebuffer.h:67:40: note: candidate expects 3 arguments, 2 provided ../multihashing.cc:552:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../multihashing.cc: At global scope: ../multihashing.cc:555:27: error: ‘Arguments’ does not name a type Handle fresh(const Arguments& args) { ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h: In function ‘v8::Handle fresh(const int&)’: /root/.node-gyp/8.9.3/include/node/v8.h:874:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:556:17: error: within this context HandleScope scope; ^ ../multihashing.cc:558:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:561:34: error: invalid types ‘const int[int]’ for array subscript Local target = args[0]->ToObject(); ^ ../multihashing.cc:573:11: error: expected primary-expression before ‘’ token Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:573:13: error: ‘buff’ was not declared in this scope Buffer buff = Buffer::New(output, 32); ^ ../multihashing.cc:573:42: error: no matching function for call to ‘New(char [32], int)’ Buffer buff = Buffer::New(output, 32); ^ In file included from ../multihashing.cc:2:0: /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length) ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:52:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:55:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided /root/.node-gyp/8.9.3/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/8.9.3/include/node/nodebuffer.h:67:40: note: candidate expects 3 arguments, 2 provided ../multihashing.cc:574:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle); ^ ../multihashing.cc: In function ‘void init(v8::Handle)’: ../multihashing.cc:578:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("quark"), FunctionTemplate::New(quark)->GetF ^ ../multihashing.cc:578:73: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ exports->Set(String::NewSymbol("quark"), FunctionTemplate::New(quark)->GetFunct ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate’ ../multihashing.cc:579:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("x11"), FunctionTemplate::New(x11)->GetFunct ^ ../multihashing.cc:579:69: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ exports->Set(String::NewSymbol("x11"), FunctionTemplate::New(x11)->GetFunct ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate’ ../multihashing.cc:580:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("scrypt"), FunctionTemplate::New(scrypt)->Ge ^ ../multihashing.cc:580:75: error: no matching function for call to ‘v8::FunctionTemplate::New()’ ports->Set(String::NewSymbol("scrypt"), FunctionTemplate::New(scrypt)->GetFunct ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘’ to ‘v8::Isolate’ ../multihashing.cc:581:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("scryptn"), FunctionTemplate::New(scryptn)-> ^ ../multihashing.cc:581:77: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ rts->Set(String::NewSymbol("scryptn"), FunctionTemplate::New(scryptn)->GetFunct ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate’ ../multihashing.cc:582:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("scryptjane"), FunctionTemplate::New(scryptj ^ ../multihashing.cc:582:83: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ et(String::NewSymbol("scryptjane"), FunctionTemplate::New(scryptjane)->GetFunct ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate’ ../multihashing.cc:583:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("keccak"), FunctionTemplate::New(keccak)->Ge ^ ../multihashing.cc:583:75: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ ports->Set(String::NewSymbol("keccak"), FunctionTemplate::New(keccak)->GetFunct ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate’ ../multihashing.cc:584:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("bcrypt"), FunctionTemplate::New(bcrypt)->Ge ^ ../multihashing.cc:584:75: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ ports->Set(String::NewSymbol("bcrypt"), FunctionTemplate::New(bcrypt)->GetFunct ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate’ ../multihashing.cc:585:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("skein"), FunctionTemplate::New(skein)->GetF ^ ../multihashing.cc:585:73: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ exports->Set(String::NewSymbol("skein"), FunctionTemplate::New(skein)->GetFunct ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate’ ../multihashing.cc:586:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("groestl"), FunctionTemplate::New(groestl)-> ^ ../multihashing.cc:586:77: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ rts->Set(String::NewSymbol("groestl"), FunctionTemplate::New(groestl)->GetFunct ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate’ ../multihashing.cc:587:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("groestlmyriad"), FunctionTemplate::New(groe ^ ../multihashing.cc:587:89: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ ing::NewSymbol("groestlmyriad"), FunctionTemplate::New(groestlmyriad)->GetFunct ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate’ ../multihashing.cc:588:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("blake"), FunctionTemplate::New(blake)->GetF ^ ../multihashing.cc:588:73: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ exports->Set(String::NewSymbol("blake"), FunctionTemplate::New(blake)->GetFunct ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate’ ../multihashing.cc:589:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("fugue"), FunctionTemplate::New(fugue)->GetF ^ ../multihashing.cc:589:73: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ exports->Set(String::NewSymbol("fugue"), FunctionTemplate::New(fugue)->GetFunct ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate’ ../multihashing.cc:590:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("qubit"), FunctionTemplate::New(qubit)->GetF ^ ../multihashing.cc:590:73: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ exports->Set(String::NewSymbol("qubit"), FunctionTemplate::New(qubit)->GetFunct ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate’ ../multihashing.cc:591:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("hefty1"), FunctionTemplate::New(hefty1)->Ge ^ ../multihashing.cc:591:75: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ ports->Set(String::NewSymbol("hefty1"), FunctionTemplate::New(hefty1)->GetFunct ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate’ ../multihashing.cc:592:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("shavite3"), FunctionTemplate::New(shavite3) ^ ../multihashing.cc:592:79: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ s->Set(String::NewSymbol("shavite3"), FunctionTemplate::New(shavite3)->GetFunct ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate’ ../multihashing.cc:593:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("cryptonight"), FunctionTemplate::New(crypto ^ ../multihashing.cc:593:85: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ (String::NewSymbol("cryptonight"), FunctionTemplate::New(cryptonight)->GetFunct ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate’ ../multihashing.cc:594:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("x13"), FunctionTemplate::New(x13)->GetFunct ^ ../multihashing.cc:594:69: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ exports->Set(String::NewSymbol("x13"), FunctionTemplate::New(x13)->GetFunct ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate*’ ../multihashing.cc:595:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("boolberry"), FunctionTemplate::New(boolberr ^ ../multihashing.cc:595:81: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’

Set(String::NewSymbol("boolberry"), FunctionTemplate::New(boolberry)->GetFunct ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate’ ../multihashing.cc:596:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("nist5"), FunctionTemplate::New(nist5)->GetF ^ ../multihashing.cc:596:73: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ exports->Set(String::NewSymbol("nist5"), FunctionTemplate::New(nist5)->GetFunct ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate’ ../multihashing.cc:597:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("sha1"), FunctionTemplate::New(sha1)->GetFun ^ ../multihashing.cc:597:71: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ exports->Set(String::NewSymbol("sha1"), FunctionTemplate::New(sha1)->GetFunct ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate’ ../multihashing.cc:598:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("x15"), FunctionTemplate::New(x15)->GetFunct ^ ../multihashing.cc:598:69: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ exports->Set(String::NewSymbol("x15"), FunctionTemplate::New(x15)->GetFunct ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate’ ../multihashing.cc:599:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("fresh"), FunctionTemplate::New(fresh)->GetF ^ ../multihashing.cc:599:73: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ exports->Set(String::NewSymbol("fresh"), FunctionTemplate::New(fresh)->GetFunct ^ In file included from /root/.node-gyp/8.9.3/include/node/node.h:63:0, from ../multihashing.cc:1: /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int, v8::ConstructorBehavior) static Local New( ^ /root/.node-gyp/8.9.3/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate’ multihashing.target.mk:143: recipe for target 'Release/obj.target/multihashing/multihashing.o' failed make: *** [Release/obj.target/multihashing/multihashing.o] Error 1 make: Leaving directory '/srv/pool/node_modules/multi-hashing/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:258:23) gyp ERR! stack at emitTwo (events.js:126:13) gyp ERR! stack at ChildProcess.emit (events.js:214:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12) gyp ERR! System Linux 4.4.0-62-generic gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /srv/pool/node_modules/multi-hashing gyp ERR! node -v v8.9.3 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! multi-hashing@0.0.9 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the multi-hashing@0.0.9 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2017-12-22T06_04_58_570Z-debug.log

evil7 commented 6 years ago

应该是版本问题,v8升级后,gyp是有适配问题。老版代码的API对不上了。要不你就试试换node版本到0.10.x,要不就换个Pool框架吧。我刚看了我那台放区块链和pool的机器是node 0.10.x的。

xiaoluzhi commented 6 years ago

好的,感谢~

evil7 commented 6 years ago

不客气,并没帮到什么忙。。祝好运~

0es commented 6 years ago

@xiaoluzhi 刚刚解决这个问题 http://betbybitcoin.com/setup-monero-mining-pool-using-node-cryptonote-pool/

apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev
apt-get install libboost-all-dev git npm nodejs nodejs-legacy libminiupnpc-dev redis-server
add-apt-repository ppa:bitcoin/bitcoin
apt-get update
apt-get install libdb4.8-dev libdb4.8++-dev
curl https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | sh
source ~/.profile
nvm install 0.10.25
nvm use 0.10.25

请使用0.10.25版本尝试

evil7 commented 6 years ago

pool的项目我看了几个,都是几年前的,还是尽量用新版吧,pool的话会出现问题,但是可以用docker跑。或者,Pool放到本机,开个docker的image,到里面去运行install.sh安装这个proxy项目同理。

等写完会更新一个比较轻量的,更贴合这个项目的pool框架,只需要自己搭建币种的daemon,同时也会尽量实现所有cryptoNight币种的直接切换和多组合搭建。

qfdk commented 6 years ago

@xiaoluzhi

这个问题我来回答吧 :) 希望对你有所帮助. 这里是原文

If your system doesn't have AES-NI, then it will throw an error during the node-multi-hashing install, as this requires AES-NI. If this is the case, go ahead and change the following line: "multi-hashing": "git+https://github.com/Snipa22/node-multi-hashing-aesni.git", to: "multi-hashing": "git://github.com/clintar/node-multi-hashing.git#Nan-2.0"

因为CPU 不支持,所以需要另外一个版本,只要替换一下就好了.

zanedeng commented 6 years ago

@qfdk 感谢,找了很多回答,换了很多个liunx系统都没解决这个问题,你这个方法解决问题了

evenking1 commented 6 years ago

非常感谢,我也发现了这个问题,所以就把提问给删掉了,但是没想到还是有人愿意回答,非常感谢,我自己本地已经跑起来了。

在 2018年1月14日,上午11:35,ИЭΛЭS 7ΙΛЭ notifications@github.com 写道:

用域名加SSL,本地测试没有证书的浏览器会打断。

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/deepwn/deepMiner/issues/30#issuecomment-357486248, or mute the thread https://github.com/notifications/unsubscribe-auth/AdbHVRRuH3p4WR6-OV1KACt9xAwtFgfqks5tKXXvgaJpZM4RKhm6.

evenking1 commented 6 years ago

@evil7 非常感谢,已经解决了

evil7 commented 6 years ago

@evenking1 不客气~