electroneum / electroneum-pool

GNU General Public License v2.0
177 stars 172 forks source link

Error during "npm update" | URGENT #133

Closed vkupar closed 6 years ago

vkupar commented 6 years ago

I followed these steps: git clone https://github.com/electroneum/electroneum-pool.git pool cd pool npm update

When I run "npm update", then error occured. I tried with sudo and without sudo (with regular user) but still error.

System: Ubuntu server 16.04.3 LTS Node.js: v0.10.48

I used this guide too, but nothing solves: http://betbybitcoin.com/setup-electroneumetn-mining-pool/

Whole log:

root@server:/home/user/pool# npm update redis@0.12.1 node_modules/redis async@1.5.2 node_modules/async npm WARN engine request@2.81.0: wanted: {"node":">= 4"} (current: {"node":"0.10.48","npm":"2.15.1"}) npm WARN engine request@2.81.0: wanted: {"node":">= 4"} (current: {"node":"0.10.48","npm":"2.15.1"}) npm WARN engine deep-extend@0.4.2: wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.48","npm":"2.15.1"}) npm WARN engine deep-extend@0.4.2: wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.48","npm":"2.15.1"}) npm WARN engine form-data@2.1.4: wanted: {"node":">= 0.12"} (current: {"node":"0.10.48","npm":"2.15.1"}) npm WARN engine har-validator@4.2.1: wanted: {"node":">=4"} (current: {"node":"0.10.48","npm":"2.15.1"}) npm WARN engine form-data@2.1.4: wanted: {"node":">= 0.12"} (current: {"node":"0.10.48","npm":"2.15.1"}) npm WARN engine har-validator@4.2.1: wanted: {"node":">=4"} (current: {"node":"0.10.48","npm":"2.15.1"}) dateformat@1.0.12 node_modules/dateformat ├── get-stdin@4.0.1 └── meow@3.7.0 (map-obj@1.0.1, trim-newlines@1.0.0, decamelize@1.2.0, object-assign@4.1.1, minimist@1.2.0, camelcase-keys@2.1.0, loud-rejection@1.6.0, normalize-package-data@2.4.0, redent@1.0.0, read-pkg-up@1.0.1) npm WARN engine har-schema@1.0.5: wanted: {"node":">=4"} (current: {"node":"0.10.48","npm":"2.15.1"}) npm WARN engine har-schema@1.0.5: wanted: {"node":">=4"} (current: {"node":"0.10.48","npm":"2.15.1"}) npm WARN engine co@4.6.0: wanted: {"iojs":">= 1.0.0","node":">= 0.12.0"} (current: {"node":"0.10.48","npm":"2.15.1"}) npm WARN engine co@4.6.0: wanted: {"iojs":">= 1.0.0","node":">= 0.12.0"} (current: {"node":"0.10.48","npm":"2.15.1"})

bignum@0.12.5 install /home/user/pool/node_modules/base58-native/node_modules/bignum node-pre-gyp install --fallback-to-build

cli-color@1.1.0 node_modules/cli-color ├── ansi-regex@2.1.1 ├── d@0.1.1 ├── timers-ext@0.1.2 (next-tick@1.0.0) ├── es6-iterator@2.0.3 (d@1.0.0, es6-symbol@3.1.1) ├── memoizee@0.3.10 (lru-queue@0.1.0, next-tick@0.2.2, event-emitter@0.3.5, es6-weak-map@0.1.4) └── es5-ext@0.10.37 (es6-symbol@3.1.1) [bignum] Success: "/home/user/pool/node_modules/base58-native/node_modules/bignum/binding/bignum.node" is installed via remote

bignum@0.12.5 install /home/user/pool/node_modules/bignum node-pre-gyp install --fallback-to-build

base58-native@0.1.4 node_modules/base58-native └── bignum@0.12.5 (nan@2.8.0, node-pre-gyp@0.6.39) [bignum] Success: "/home/user/pool/node_modules/bignum/binding/bignum.node" is installed via remote

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

make: Entering directory '/home/user/pool/node_modules/cryptonote-util/build' CXX(target) Release/obj.target/cryptonote/src/main.o bignum@0.12.5 node_modules/bignum ├── nan@2.8.0 └── node-pre-gyp@0.6.39 (detect-libc@1.0.3, semver@5.4.1, rc@1.2.2, mkdirp@0.5.1, nopt@4.0.1, npmlog@4.1.2, tar-pack@3.4.1, rimraf@2.6.2, tar@2.2.1, hawk@3.1.3, request@2.81.0) 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 '/home/user/pool/node_modules/cryptonote-util/build'

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

make: Entering directory '/home/user/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 /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In function ‘v8::Handle quark(const int&)’: /usr/include/nodejs/deps/v8/include/v8.h:885: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: /usr/include/nodejs/src/node_buffer.h:28:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /usr/include/nodejs/src/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:36: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, ^ /usr/include/nodejs/src/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/nodebuffer.h:43: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 /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In function ‘v8::Handle x11(const int&)’: /usr/include/nodejs/deps/v8/include/v8.h:885: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: /usr/include/nodejs/src/node_buffer.h:28:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /usr/include/nodejs/src/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:36: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, ^ /usr/include/nodejs/src/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/nodebuffer.h:43: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 /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In function ‘v8::Handle scrypt(const int&)’: /usr/include/nodejs/deps/v8/include/v8.h:885: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: /usr/include/nodejs/src/node_buffer.h:28:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /usr/include/nodejs/src/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:36: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, ^ /usr/include/nodejs/src/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/nodebuffer.h:43: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 /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In function ‘v8::Handle scryptn(const int&)’: /usr/include/nodejs/deps/v8/include/v8.h:885: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: /usr/include/nodejs/src/node_buffer.h:28:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /usr/include/nodejs/src/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:36: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, ^ /usr/include/nodejs/src/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/nodebuffer.h:43: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 /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In function ‘v8::Handle scryptjane(const int&)’: /usr/include/nodejs/deps/v8/include/v8.h:885: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: /usr/include/nodejs/src/node_buffer.h:28:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /usr/include/nodejs/src/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:36: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, ^ /usr/include/nodejs/src/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/nodebuffer.h:43: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 /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In function ‘v8::Handle keccak(const int&)’: /usr/include/nodejs/deps/v8/include/v8.h:885: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: /usr/include/nodejs/src/node_buffer.h:28:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /usr/include/nodejs/src/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:36: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, ^ /usr/include/nodejs/src/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/nodebuffer.h:43: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 /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In function ‘v8::Handle bcrypt(const int&)’: /usr/include/nodejs/deps/v8/include/v8.h:885: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: /usr/include/nodejs/src/node_buffer.h:28:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /usr/include/nodejs/src/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:36: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, ^ /usr/include/nodejs/src/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/nodebuffer.h:43: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 /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In function ‘v8::Handle skein(const int&)’: /usr/include/nodejs/deps/v8/include/v8.h:885: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: /usr/include/nodejs/src/node_buffer.h:28:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /usr/include/nodejs/src/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:36: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, ^ /usr/include/nodejs/src/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/nodebuffer.h:43: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 /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In function ‘v8::Handle groestl(const int&)’: /usr/include/nodejs/deps/v8/include/v8.h:885: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: /usr/include/nodejs/src/node_buffer.h:28:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /usr/include/nodejs/src/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:36: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, ^ /usr/include/nodejs/src/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/nodebuffer.h:43: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 /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In function ‘v8::Handle groestlmyriad(const int&)’: /usr/include/nodejs/deps/v8/include/v8.h:885: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: /usr/include/nodejs/src/node_buffer.h:28:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /usr/include/nodejs/src/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:36: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, ^ /usr/include/nodejs/src/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/nodebuffer.h:43: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 /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In function ‘v8::Handle blake(const int&)’: /usr/include/nodejs/deps/v8/include/v8.h:885: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: /usr/include/nodejs/src/node_buffer.h:28:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /usr/include/nodejs/src/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:36: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, ^ /usr/include/nodejs/src/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/nodebuffer.h:43: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 /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In function ‘v8::Handle fugue(const int&)’: /usr/include/nodejs/deps/v8/include/v8.h:885: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: /usr/include/nodejs/src/node_buffer.h:28:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /usr/include/nodejs/src/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:36: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, ^ /usr/include/nodejs/src/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/nodebuffer.h:43: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 /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In function ‘v8::Handle qubit(const int&)’: /usr/include/nodejs/deps/v8/include/v8.h:885: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: /usr/include/nodejs/src/node_buffer.h:28:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /usr/include/nodejs/src/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:36: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, ^ /usr/include/nodejs/src/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/nodebuffer.h:43: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 /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In function ‘v8::Handle hefty1(const int&)’: /usr/include/nodejs/deps/v8/include/v8.h:885: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: /usr/include/nodejs/src/node_buffer.h:28:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /usr/include/nodejs/src/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:36: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, ^ /usr/include/nodejs/src/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/nodebuffer.h:43: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 /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In function ‘v8::Handle shavite3(const int&)’: /usr/include/nodejs/deps/v8/include/v8.h:885: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: /usr/include/nodejs/src/node_buffer.h:28:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /usr/include/nodejs/src/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:36: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, ^ /usr/include/nodejs/src/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ cryptonote-util@0.0.3 node_modules/cryptonote-util ├── bindings@1.3.0 └── nan@2.8.0 /usr/include/nodejs/src/nodebuffer.h:43: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 /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In function ‘v8::Handle cryptonight(const int&)’: /usr/include/nodejs/deps/v8/include/v8.h:885: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: /usr/include/nodejs/src/node_buffer.h:28:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /usr/include/nodejs/src/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:36: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, ^ /usr/include/nodejs/src/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/nodebuffer.h:43: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 /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In function ‘v8::Handle x13(const int&)’: /usr/include/nodejs/deps/v8/include/v8.h:885: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: /usr/include/nodejs/src/node_buffer.h:28:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /usr/include/nodejs/src/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:36: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, ^ /usr/include/nodejs/src/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/nodebuffer.h:43: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 /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In function ‘v8::Handle boolberry(const int&)’: /usr/include/nodejs/deps/v8/include/v8.h:885: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: /usr/include/nodejs/src/node_buffer.h:28:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /usr/include/nodejs/src/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:36: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, ^ /usr/include/nodejs/src/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/nodebuffer.h:43: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 /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In function ‘v8::Handle nist5(const int&)’: /usr/include/nodejs/deps/v8/include/v8.h:885: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: /usr/include/nodejs/src/node_buffer.h:28:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /usr/include/nodejs/src/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:36: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, ^ /usr/include/nodejs/src/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/nodebuffer.h:43: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 /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In function ‘v8::Handle sha1(const int&)’: /usr/include/nodejs/deps/v8/include/v8.h:885: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: /usr/include/nodejs/src/node_buffer.h:28:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /usr/include/nodejs/src/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:36: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, ^ /usr/include/nodejs/src/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/nodebuffer.h:43: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 /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In function ‘v8::Handle x15(const int&)’: /usr/include/nodejs/deps/v8/include/v8.h:885: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: /usr/include/nodejs/src/node_buffer.h:28:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /usr/include/nodejs/src/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:36: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, ^ /usr/include/nodejs/src/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/nodebuffer.h:43: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 /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In function ‘v8::Handle fresh(const int&)’: /usr/include/nodejs/deps/v8/include/v8.h:885: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: /usr/include/nodejs/src/node_buffer.h:28:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /usr/include/nodejs/src/node_buffer.h:28:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate’ /usr/include/nodejs/src/node_buffer.h:36: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, ^ /usr/include/nodejs/src/node_buffer.h:36:40: note: candidate expects 5 arguments, 2 provided /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /usr/include/nodejs/src/nodebuffer.h:43: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)->GetFunction()); ^ ../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)->GetFunction()); ^ In file included from /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/nodejs/deps/v8/include/v8.h:4349: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)->GetFunction()); ^ ../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)->GetFunction()); ^ In file included from /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/nodejs/deps/v8/include/v8.h:4349: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)->GetFunction()); ^ ../multihashing.cc:580:75: error: no matching function for call to ‘v8::FunctionTemplate::New()’ exports->Set(String::NewSymbol("scrypt"), FunctionTemplate::New(scrypt)->GetFunction()); ^ In file included from /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/nodejs/deps/v8/include/v8.h:4349: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)->GetFunction()); ^ ../multihashing.cc:581:77: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ exports->Set(String::NewSymbol("scryptn"), FunctionTemplate::New(scryptn)->GetFunction()); ^ In file included from /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/nodejs/deps/v8/include/v8.h:4349: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(scryptjane)->GetFunction()); ^ ../multihashing.cc:582:83: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ exports->Set(String::NewSymbol("scryptjane"), FunctionTemplate::New(scryptjane)->GetFunction()); ^ In file included from /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/nodejs/deps/v8/include/v8.h:4349: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)->GetFunction()); ^ ../multihashing.cc:583:75: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ exports->Set(String::NewSymbol("keccak"), FunctionTemplate::New(keccak)->GetFunction()); ^ In file included from /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/nodejs/deps/v8/include/v8.h:4349: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)->GetFunction()); ^ ../multihashing.cc:584:75: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ exports->Set(String::NewSymbol("bcrypt"), FunctionTemplate::New(bcrypt)->GetFunction()); ^ In file included from /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/nodejs/deps/v8/include/v8.h:4349: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)->GetFunction()); ^ ../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)->GetFunction()); ^ In file included from /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/nodejs/deps/v8/include/v8.h:4349: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)->GetFunction()); ^ ../multihashing.cc:586:77: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ exports->Set(String::NewSymbol("groestl"), FunctionTemplate::New(groestl)->GetFunction()); ^ In file included from /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/nodejs/deps/v8/include/v8.h:4349: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(groestlmyriad)->GetFunction()); ^ ../multihashing.cc:587:89: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ exports->Set(String::NewSymbol("groestlmyriad"), FunctionTemplate::New(groestlmyriad)->GetFunction()); ^ In file included from /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/nodejs/deps/v8/include/v8.h:4349: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)->GetFunction()); ^ ../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)->GetFunction()); ^ In file included from /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/nodejs/deps/v8/include/v8.h:4349: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)->GetFunction()); ^ ../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)->GetFunction()); ^ In file included from /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/nodejs/deps/v8/include/v8.h:4349: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)->GetFunction()); ^ ../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)->GetFunction()); ^ In file included from /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/nodejs/deps/v8/include/v8.h:4349: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)->GetFunction()); ^ ../multihashing.cc:591:75: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ exports->Set(String::NewSymbol("hefty1"), FunctionTemplate::New(hefty1)->GetFunction()); ^ In file included from /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/nodejs/deps/v8/include/v8.h:4349: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)->GetFunction()); ^ ../multihashing.cc:592:79: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ exports->Set(String::NewSymbol("shavite3"), FunctionTemplate::New(shavite3)->GetFunction()); ^ In file included from /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/nodejs/deps/v8/include/v8.h:4349: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(cryptonight)->GetFunction()); ^ ../multihashing.cc:593:85: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ exports->Set(String::NewSymbol("cryptonight"), FunctionTemplate::New(cryptonight)->GetFunction()); ^ In file included from /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/nodejs/deps/v8/include/v8.h:4349: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)->GetFunction()); ^ ../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)->GetFunction()); ^ In file included from /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/nodejs/deps/v8/include/v8.h:4349: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(boolberry)->GetFunction()); ^ ../multihashing.cc:595:81: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle (&)(const int&))’ exports->Set(String::NewSymbol("boolberry"), FunctionTemplate::New(boolberry)->GetFunction()); ^ In file included from /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/nodejs/deps/v8/include/v8.h:4349: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)->GetFunction()); ^ ../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)->GetFunction()); ^ In file included from /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/nodejs/deps/v8/include/v8.h:4349: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)->GetFunction()); ^ ../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)->GetFunction()); ^ In file included from /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/nodejs/deps/v8/include/v8.h:4349: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)->GetFunction()); ^ ../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)->GetFunction()); ^ In file included from /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/nodejs/deps/v8/include/v8.h:4349: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)->GetFunction()); ^ ../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)->GetFunction()); ^ In file included from /usr/include/nodejs/src/node.h:42:0, from ../multihashing.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: candidate: static v8::Local v8::FunctionTemplate::New(v8::Isolate, v8::FunctionCallback, v8::Local, v8::Local, int) static Local New( ^ /usr/include/nodejs/deps/v8/include/v8.h:4349:34: note: no known conversion for argument 1 from ‘v8::Handle(const int&) {aka v8::Local(const int&)}’ to ‘v8::Isolate*’ multihashing.target.mk:138: recipe for target 'Release/obj.target/multihashing/multihashing.o' failed make: *** [Release/obj.target/multihashing/multihashing.o] Error 1 make: Leaving directory '/home/user/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/share/node-gyp/lib/build.js:269:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Linux 4.11.0-1016-azure gyp ERR! command "/usr/bin/nodejs" "/usr/bin/node-gyp" "rebuild" gyp ERR! cwd /home/user/pool/node_modules/multi-hashing gyp ERR! node -v v4.2.6 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok npm ERR! Linux 4.11.0-1016-azure npm ERR! argv "/root/.nvm/v0.10.48/bin/node" "/root/.nvm/v0.10.48/bin/npm" "update" npm ERR! node v0.10.48 npm ERR! npm v2.15.1 npm ERR! code ELIFECYCLE

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 'node-gyp rebuild'. npm ERR! This is most likely a problem with the multi-hashing package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs multi-hashing npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm ERR! npm owner ls multi-hashing npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /home/user/pool/npm-debug.log root@server:/home/user/pool#

vkupar commented 6 years ago

I installed node 0.10.29 and it seems solved.