can you please help with this error?
when start init.js :
Error: Cannot find module 'multi-hashing'
when trying to install multi-hashing (npm install multi-hashing), npm show me this error:
Failed at the [email protected] install script !
env:
ubuntu 16.04
node v8.9.4
npm 5.6.0
npm install multi-hashing:
CXX(target) Release/obj.target/multihashing/multihashing.o
../multihashing.cc: In function ‘v8::Handlev8::Value 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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h: In function ‘v8::Handlev8::Value quark(const int&)’:
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length)
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided
/root/.node-gyp/8.9.4/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h: In function ‘v8::Handlev8::Value x11(const int&)’:
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length)
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided
/root/.node-gyp/8.9.4/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h: In function ‘v8::Handlev8::Value scrypt(const int&)’:
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length)
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided
/root/.node-gyp/8.9.4/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h: In function ‘v8::Handlev8::Value scryptn(const int&)’:
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length)
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided
/root/.node-gyp/8.9.4/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h: In function ‘v8::Handlev8::Value scryptjane(const int&)’:
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length)
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided
/root/.node-gyp/8.9.4/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h: In function ‘v8::Handlev8::Value keccak(const int&)’:
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length)
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided
/root/.node-gyp/8.9.4/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h: In function ‘v8::Handlev8::Value bcrypt(const int&)’:
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length)
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided
/root/.node-gyp/8.9.4/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h: In function ‘v8::Handlev8::Value skein(const int&)’:
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length)
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided
/root/.node-gyp/8.9.4/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h: In function ‘v8::Handlev8::Value groestl(const int&)’:
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length)
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided
/root/.node-gyp/8.9.4/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h: In function ‘v8::Handlev8::Value groestlmyriad(const int&)’:
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length)
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided
/root/.node-gyp/8.9.4/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h: In function ‘v8::Handlev8::Value blake(const int&)’:
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length)
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided
/root/.node-gyp/8.9.4/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h: In function ‘v8::Handlev8::Value fugue(const int&)’:
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length)
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided
/root/.node-gyp/8.9.4/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h: In function ‘v8::Handlev8::Value qubit(const int&)’:
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length)
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided
/root/.node-gyp/8.9.4/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h: In function ‘v8::Handlev8::Value hefty1(const int&)’:
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length)
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided
/root/.node-gyp/8.9.4/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h: In function ‘v8::Handlev8::Value shavite3(const int&)’:
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length)
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided
/root/.node-gyp/8.9.4/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h: In function ‘v8::Handlev8::Value cryptonight(const int&)’:
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length)
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided
/root/.node-gyp/8.9.4/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h: In function ‘v8::Handlev8::Value x13(const int&)’:
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length)
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided
/root/.node-gyp/8.9.4/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h: In function ‘v8::Handlev8::Value boolberry(const int&)’:
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length)
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided
/root/.node-gyp/8.9.4/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h: In function ‘v8::Handlev8::Value nist5(const int&)’:
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length)
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided
/root/.node-gyp/8.9.4/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h: In function ‘v8::Handlev8::Value sha1(const int&)’:
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length)
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided
/root/.node-gyp/8.9.4/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h: In function ‘v8::Handlev8::Value x15(const int&)’:
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length)
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided
/root/.node-gyp/8.9.4/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h: In function ‘v8::Handlev8::Value fresh(const int&)’:
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:52:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length)
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:55:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, v8::Localv8::String, node::encoding)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/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.4/include/node/node_buffer.h:60:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.h:60:40: note: candidate expects 5 arguments, 2 provided
/root/.node-gyp/8.9.4/include/node/node_buffer.h:67:40: note: candidate: v8::MaybeLocalv8::Object node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/root/.node-gyp/8.9.4/include/node/node_buffer.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::Handlev8::Object)’:
../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::Handlev8::Value (&)(const int&))’
exports->Set(String::NewSymbol("quark"), FunctionTemplate::New(quark)->GetFunct
^
In file included from /root/.node-gyp/8.9.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(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::Handlev8::Value (&)(const int&))’
exports->Set(String::NewSymbol("x11"), FunctionTemplate::New(x11)->GetFunct
^
In file included from /root/.node-gyp/8.9.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(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.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/root/.node-gyp/8.9.4/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::Handlev8::Value (&)(const int&))’
rts->Set(String::NewSymbol("scryptn"), FunctionTemplate::New(scryptn)->GetFunct
^
In file included from /root/.node-gyp/8.9.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(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::Handlev8::Value (&)(const int&))’
et(String::NewSymbol("scryptjane"), FunctionTemplate::New(scryptjane)->GetFunct
^
In file included from /root/.node-gyp/8.9.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(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::Handlev8::Value (&)(const int&))’
ports->Set(String::NewSymbol("keccak"), FunctionTemplate::New(keccak)->GetFunct
^
In file included from /root/.node-gyp/8.9.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(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::Handlev8::Value (&)(const int&))’
ports->Set(String::NewSymbol("bcrypt"), FunctionTemplate::New(bcrypt)->GetFunct
^
In file included from /root/.node-gyp/8.9.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(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::Handlev8::Value (&)(const int&))’
exports->Set(String::NewSymbol("skein"), FunctionTemplate::New(skein)->GetFunct
^
In file included from /root/.node-gyp/8.9.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(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::Handlev8::Value (&)(const int&))’
rts->Set(String::NewSymbol("groestl"), FunctionTemplate::New(groestl)->GetFunct
^
In file included from /root/.node-gyp/8.9.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(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::Handlev8::Value (&)(const int&))’
ing::NewSymbol("groestlmyriad"), FunctionTemplate::New(groestlmyriad)->GetFunct
^
In file included from /root/.node-gyp/8.9.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(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::Handlev8::Value (&)(const int&))’
exports->Set(String::NewSymbol("blake"), FunctionTemplate::New(blake)->GetFunct
^
In file included from /root/.node-gyp/8.9.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(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::Handlev8::Value (&)(const int&))’
exports->Set(String::NewSymbol("fugue"), FunctionTemplate::New(fugue)->GetFunct
^
In file included from /root/.node-gyp/8.9.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(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::Handlev8::Value (&)(const int&))’
exports->Set(String::NewSymbol("qubit"), FunctionTemplate::New(qubit)->GetFunct
^
In file included from /root/.node-gyp/8.9.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(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::Handlev8::Value (&)(const int&))’
ports->Set(String::NewSymbol("hefty1"), FunctionTemplate::New(hefty1)->GetFunct
^
In file included from /root/.node-gyp/8.9.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(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::Handlev8::Value (&)(const int&))’
s->Set(String::NewSymbol("shavite3"), FunctionTemplate::New(shavite3)->GetFunct
^
In file included from /root/.node-gyp/8.9.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(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::Handlev8::Value (&)(const int&))’
(String::NewSymbol("cryptonight"), FunctionTemplate::New(cryptonight)->GetFunct
^
In file included from /root/.node-gyp/8.9.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(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::Handlev8::Value (&)(const int&))’
exports->Set(String::NewSymbol("x13"), FunctionTemplate::New(x13)->GetFunct
^
In file included from /root/.node-gyp/8.9.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(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::Handlev8::Value (&)(const int&))’
Set(String::NewSymbol("boolberry"), FunctionTemplate::New(boolberry)->GetFunct
^
In file included from /root/.node-gyp/8.9.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(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::Handlev8::Value (&)(const int&))’
exports->Set(String::NewSymbol("nist5"), FunctionTemplate::New(nist5)->GetFunct
^
In file included from /root/.node-gyp/8.9.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(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::Handlev8::Value (&)(const int&))’
exports->Set(String::NewSymbol("sha1"), FunctionTemplate::New(sha1)->GetFunct
^
In file included from /root/.node-gyp/8.9.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(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::Handlev8::Value (&)(const int&))’
exports->Set(String::NewSymbol("x15"), FunctionTemplate::New(x15)->GetFunct
^
In file included from /root/.node-gyp/8.9.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(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::Handlev8::Value (&)(const int&))’
exports->Set(String::NewSymbol("fresh"), FunctionTemplate::New(fresh)->GetFunct
^
In file included from /root/.node-gyp/8.9.4/include/node/node.h:63:0,
from ../multihashing.cc:1:
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: candidate: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)
static Local New(
^
/root/.node-gyp/8.9.4/include/node/v8.h:5395:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(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 '/var/www//pool_server/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-112-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www//pool_server/node_modules/multi-hashing
gyp ERR! node -v v8.9.4
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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/2018-02-07T15_36_37_453Z-debug.log