zone117x / node-cryptonote-pool

Mining pool for CryptoNote based coins such as Bytecoin and Monero
GNU General Public License v2.0
827 stars 1.14k forks source link

npm update fails #264

Closed mia0x75 closed 5 months ago

mia0x75 commented 6 years ago

Latest CentOS 7 with node v6.12.2 npm v3.10.10 Error messages:

npm ERR! Linux 3.10.0-693.11.6.el7.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "update"
npm ERR! node v6.12.2
npm ERR! npm  v3.10.10
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! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the 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 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!     /opt/pool/npm-debug.log

Compile messages:

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

make: Entering directory `/opt/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 [enabled by default]
     #include "sha1.h",
                      ^
../multihashing.cc: In function ‘v8::Handle<v8::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<Value> quark(const Arguments& args) {
                           ^
../multihashing.cc:37:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
 Handle<Value> quark(const Arguments& args) {
                                      ^
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h: In function ‘v8::Handle<v8::Value> quark(const int&)’:
/root/.node-gyp/6.12.2/include/node/v8.h:915: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<Object> 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);
                                          ^
../multihashing.cc:55:42: note: candidates are:
In file included from ../multihashing.cc:2:0:
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note:   candidate expects 5 arguments, 2 provided
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46: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<Value> x11(const Arguments& args) {
                         ^
../multihashing.cc:59:36: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
 Handle<Value> x11(const Arguments& args) {
                                    ^
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h: In function ‘v8::Handle<v8::Value> x11(const int&)’:
/root/.node-gyp/6.12.2/include/node/v8.h:915: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<Object> 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);
                                          ^
../multihashing.cc:77:42: note: candidates are:
In file included from ../multihashing.cc:2:0:
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note:   candidate expects 5 arguments, 2 provided
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46: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<Value> scrypt(const Arguments& args) {
                            ^
../multihashing.cc:81:39: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
 Handle<Value> scrypt(const Arguments& args) {
                                       ^
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h: In function ‘v8::Handle<v8::Value> scrypt(const int&)’:
/root/.node-gyp/6.12.2/include/node/v8.h:915: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<Object> target = args[0]->ToObject();
                                 ^
../multihashing.cc:92:31: error: invalid types ‘const int[int]’ for array subscript
    Local<Number> numn = args[1]->ToNumber();
                               ^
../multihashing.cc:94:31: error: invalid types ‘const int[int]’ for array subscript
    Local<Number> 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);
                                         ^
../multihashing.cc:104:41: note: candidates are:
In file included from ../multihashing.cc:2:0:
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note:   candidate expects 5 arguments, 2 provided
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46: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<Value> scryptn(const Arguments& args) {
                             ^
../multihashing.cc:110:40: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
 Handle<Value> scryptn(const Arguments& args) {
                                        ^
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h: In function ‘v8::Handle<v8::Value> scryptn(const int&)’:
/root/.node-gyp/6.12.2/include/node/v8.h:915: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<Object> target = args[0]->ToObject();
                                 ^
../multihashing.cc:121:30: error: invalid types ‘const int[int]’ for array subscript
    Local<Number> 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);
                                         ^
../multihashing.cc:135:41: note: candidates are:
In file included from ../multihashing.cc:2:0:
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note:   candidate expects 5 arguments, 2 provided
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46: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<Value> scryptjane(const Arguments& args) {
                                ^
../multihashing.cc:139:43: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
 Handle<Value> scryptjane(const Arguments& args) {
                                           ^
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h: In function ‘v8::Handle<v8::Value> scryptjane(const int&)’:
/root/.node-gyp/6.12.2/include/node/v8.h:915: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<Object> target = args[0]->ToObject();
                                  ^
../multihashing.cc:150:31: error: invalid types ‘const int[int]’ for array subscript
     Local<Number> num = args[1]->ToNumber();
                               ^
../multihashing.cc:153:32: error: invalid types ‘const int[int]’ for array subscript
     Local<Number> num2 = args[2]->ToNumber();
                                ^
../multihashing.cc:156:32: error: invalid types ‘const int[int]’ for array subscript
     Local<Number> num3 = args[3]->ToNumber();
                                ^
../multihashing.cc:159:32: error: invalid types ‘const int[int]’ for array subscript
     Local<Number> 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);
                                          ^
../multihashing.cc:169:42: note: candidates are:
In file included from ../multihashing.cc:2:0:
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note:   candidate expects 5 arguments, 2 provided
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46: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<Value> keccak(const Arguments& args) {
                            ^
../multihashing.cc:173:39: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
 Handle<Value> keccak(const Arguments& args) {
                                       ^
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h: In function ‘v8::Handle<v8::Value> keccak(const int&)’:
/root/.node-gyp/6.12.2/include/node/v8.h:915: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<Object> 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);
                                          ^
../multihashing.cc:191:42: note: candidates are:
In file included from ../multihashing.cc:2:0:
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note:   candidate expects 5 arguments, 2 provided
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46: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<Value> bcrypt(const Arguments& args) {
                            ^
../multihashing.cc:196:39: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
 Handle<Value> bcrypt(const Arguments& args) {
                                       ^
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h: In function ‘v8::Handle<v8::Value> bcrypt(const int&)’:
/root/.node-gyp/6.12.2/include/node/v8.h:915: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<Object> 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);
                                          ^
../multihashing.cc:212:42: note: candidates are:
In file included from ../multihashing.cc:2:0:
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note:   candidate expects 5 arguments, 2 provided
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46: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<Value> skein(const Arguments& args) {
                           ^
../multihashing.cc:216:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
 Handle<Value> skein(const Arguments& args) {
                                      ^
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h: In function ‘v8::Handle<v8::Value> skein(const int&)’:
/root/.node-gyp/6.12.2/include/node/v8.h:915: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<Object> 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);
                                          ^
../multihashing.cc:234:42: note: candidates are:
In file included from ../multihashing.cc:2:0:
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note:   candidate expects 5 arguments, 2 provided
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46: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<Value> groestl(const Arguments& args) {
                             ^
../multihashing.cc:239:40: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
 Handle<Value> groestl(const Arguments& args) {
                                        ^
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h: In function ‘v8::Handle<v8::Value> groestl(const int&)’:
/root/.node-gyp/6.12.2/include/node/v8.h:915: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<Object> 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);
                                          ^
../multihashing.cc:257:42: note: candidates are:
In file included from ../multihashing.cc:2:0:
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note:   candidate expects 5 arguments, 2 provided
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46: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<Value> groestlmyriad(const Arguments& args) {
                                   ^
../multihashing.cc:262:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
 Handle<Value> groestlmyriad(const Arguments& args) {
                                              ^
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h: In function ‘v8::Handle<v8::Value> groestlmyriad(const int&)’:
/root/.node-gyp/6.12.2/include/node/v8.h:915: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<Object> 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);
                                          ^
../multihashing.cc:280:42: note: candidates are:
In file included from ../multihashing.cc:2:0:
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note:   candidate expects 5 arguments, 2 provided
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46: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<Value> blake(const Arguments& args) {
                           ^
../multihashing.cc:285:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
 Handle<Value> blake(const Arguments& args) {
                                      ^
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h: In function ‘v8::Handle<v8::Value> blake(const int&)’:
/root/.node-gyp/6.12.2/include/node/v8.h:915: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<Object> 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);
                                          ^
../multihashing.cc:303:42: note: candidates are:
In file included from ../multihashing.cc:2:0:
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note:   candidate expects 5 arguments, 2 provided
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46: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<Value> fugue(const Arguments& args) {
                           ^
../multihashing.cc:308:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
 Handle<Value> fugue(const Arguments& args) {
                                      ^
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h: In function ‘v8::Handle<v8::Value> fugue(const int&)’:
/root/.node-gyp/6.12.2/include/node/v8.h:915: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<Object> 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);
                                          ^
../multihashing.cc:326:42: note: candidates are:
In file included from ../multihashing.cc:2:0:
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note:   candidate expects 5 arguments, 2 provided
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46: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<Value> qubit(const Arguments& args) {
                           ^
../multihashing.cc:331:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
 Handle<Value> qubit(const Arguments& args) {
                                      ^
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h: In function ‘v8::Handle<v8::Value> qubit(const int&)’:
/root/.node-gyp/6.12.2/include/node/v8.h:915: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<Object> 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);
                                          ^
../multihashing.cc:349:42: note: candidates are:
In file included from ../multihashing.cc:2:0:
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note:   candidate expects 5 arguments, 2 provided
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46: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<Value> hefty1(const Arguments& args) {
                            ^
../multihashing.cc:354:39: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
 Handle<Value> hefty1(const Arguments& args) {
                                       ^
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h: In function ‘v8::Handle<v8::Value> hefty1(const int&)’:
/root/.node-gyp/6.12.2/include/node/v8.h:915: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<Object> 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);
                                          ^
../multihashing.cc:372:42: note: candidates are:
In file included from ../multihashing.cc:2:0:
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note:   candidate expects 5 arguments, 2 provided
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46: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<Value> shavite3(const Arguments& args) {
                              ^
../multihashing.cc:377:41: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
 Handle<Value> shavite3(const Arguments& args) {
                                         ^
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h: In function ‘v8::Handle<v8::Value> shavite3(const int&)’:
/root/.node-gyp/6.12.2/include/node/v8.h:915: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<Object> 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);
                                          ^
../multihashing.cc:395:42: note: candidates are:
In file included from ../multihashing.cc:2:0:
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note:   candidate expects 5 arguments, 2 provided
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46: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<Value> cryptonight(const Arguments& args) {
                                 ^
../multihashing.cc:399:44: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
 Handle<Value> cryptonight(const Arguments& args) {
                                            ^
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h: In function ‘v8::Handle<v8::Value> cryptonight(const int&)’:
/root/.node-gyp/6.12.2/include/node/v8.h:915: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<Object> 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);
                                          ^
../multihashing.cc:428:42: note: candidates are:
In file included from ../multihashing.cc:2:0:
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note:   candidate expects 5 arguments, 2 provided
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46: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<Value> x13(const Arguments& args) {
                         ^
../multihashing.cc:432:36: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
 Handle<Value> x13(const Arguments& args) {
                                    ^
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h: In function ‘v8::Handle<v8::Value> x13(const int&)’:
/root/.node-gyp/6.12.2/include/node/v8.h:915: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<Object> 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);
                                          ^
../multihashing.cc:450:42: note: candidates are:
In file included from ../multihashing.cc:2:0:
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note:   candidate expects 5 arguments, 2 provided
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46: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<Value> boolberry(const Arguments& args) {
                               ^
../multihashing.cc:454:42: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
 Handle<Value> boolberry(const Arguments& args) {
                                          ^
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h: In function ‘v8::Handle<v8::Value> boolberry(const int&)’:
/root/.node-gyp/6.12.2/include/node/v8.h:915: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<Object> target = args[0]->ToObject();
                                  ^
../multihashing.cc:461:39: error: invalid types ‘const int[int]’ for array subscript
     Local<Object> 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);
                                          ^
../multihashing.cc:485:42: note: candidates are:
In file included from ../multihashing.cc:2:0:
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note:   candidate expects 5 arguments, 2 provided
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46: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<Value> nist5(const Arguments& args) {
                           ^
../multihashing.cc:489:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
 Handle<Value> nist5(const Arguments& args) {
                                      ^
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h: In function ‘v8::Handle<v8::Value> nist5(const int&)’:
/root/.node-gyp/6.12.2/include/node/v8.h:915: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<Object> 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);
                                          ^
../multihashing.cc:507:42: note: candidates are:
In file included from ../multihashing.cc:2:0:
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note:   candidate expects 5 arguments, 2 provided
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46: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<Value> sha1(const Arguments& args) {
                          ^
../multihashing.cc:511:37: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
 Handle<Value> sha1(const Arguments& args) {
                                     ^
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h: In function ‘v8::Handle<v8::Value> sha1(const int&)’:
/root/.node-gyp/6.12.2/include/node/v8.h:915: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<Object> 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);
                                          ^
../multihashing.cc:529:42: note: candidates are:
In file included from ../multihashing.cc:2:0:
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note:   candidate expects 5 arguments, 2 provided
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46: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<Value> x15(const Arguments& args) {
                         ^
../multihashing.cc:533:36: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
 Handle<Value> x15(const Arguments& args) {
                                    ^
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h: In function ‘v8::Handle<v8::Value> x15(const int&)’:
/root/.node-gyp/6.12.2/include/node/v8.h:915: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<Object> 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);
                                          ^
../multihashing.cc:551:42: note: candidates are:
In file included from ../multihashing.cc:2:0:
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note:   candidate expects 5 arguments, 2 provided
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46: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<Value> fresh(const Arguments& args) {
                           ^
../multihashing.cc:555:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
 Handle<Value> fresh(const Arguments& args) {
                                      ^
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h: In function ‘v8::Handle<v8::Value> fresh(const int&)’:
/root/.node-gyp/6.12.2/include/node/v8.h:915: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<Object> 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);
                                          ^
../multihashing.cc:573:42: note: candidates are:
In file included from ../multihashing.cc:2:0:
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:31:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:34:40: note:   no known conversion for argument 1 from ‘char [32]’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:39:40: note:   candidate expects 5 arguments, 2 provided
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/6.12.2/include/node/node_buffer.h:46: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<v8::Object>)’:
../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<v8::Value> (&)(const int&))’
     exports->Set(String::NewSymbol("quark"), FunctionTemplate::New(quark)->GetFunction());
                                                                         ^
../multihashing.cc:578:73: note: candidates are:
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note:   candidate expects 6 arguments, 1 provided
../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<v8::Value> (&)(const int&))’
     exports->Set(String::NewSymbol("x11"), FunctionTemplate::New(x11)->GetFunction());
                                                                     ^
../multihashing.cc:579:69: note: candidates are:
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note:   candidate expects 6 arguments, 1 provided
../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(<unresolved overloaded function type>)’
     exports->Set(String::NewSymbol("scrypt"), FunctionTemplate::New(scrypt)->GetFunction());
                                                                           ^
../multihashing.cc:580:75: note: candidates are:
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note:   no known conversion for argument 1 from ‘<unresolved overloaded function type>’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note:   candidate expects 6 arguments, 1 provided
../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<v8::Value> (&)(const int&))’
     exports->Set(String::NewSymbol("scryptn"), FunctionTemplate::New(scryptn)->GetFunction());
                                                                             ^
../multihashing.cc:581:77: note: candidates are:
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note:   candidate expects 6 arguments, 1 provided
../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<v8::Value> (&)(const int&))’
     exports->Set(String::NewSymbol("scryptjane"), FunctionTemplate::New(scryptjane)->GetFunction());
                                                                                   ^
../multihashing.cc:582:83: note: candidates are:
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note:   candidate expects 6 arguments, 1 provided
../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<v8::Value> (&)(const int&))’
     exports->Set(String::NewSymbol("keccak"), FunctionTemplate::New(keccak)->GetFunction());
                                                                           ^
../multihashing.cc:583:75: note: candidates are:
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note:   candidate expects 6 arguments, 1 provided
../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<v8::Value> (&)(const int&))’
     exports->Set(String::NewSymbol("bcrypt"), FunctionTemplate::New(bcrypt)->GetFunction());
                                                                           ^
../multihashing.cc:584:75: note: candidates are:
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note:   candidate expects 6 arguments, 1 provided
../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<v8::Value> (&)(const int&))’
     exports->Set(String::NewSymbol("skein"), FunctionTemplate::New(skein)->GetFunction());
                                                                         ^
../multihashing.cc:585:73: note: candidates are:
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note:   candidate expects 6 arguments, 1 provided
../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<v8::Value> (&)(const int&))’
     exports->Set(String::NewSymbol("groestl"), FunctionTemplate::New(groestl)->GetFunction());
                                                                             ^
../multihashing.cc:586:77: note: candidates are:
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note:   candidate expects 6 arguments, 1 provided
../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<v8::Value> (&)(const int&))’
     exports->Set(String::NewSymbol("groestlmyriad"), FunctionTemplate::New(groestlmyriad)->GetFunction());
                                                                                         ^
../multihashing.cc:587:89: note: candidates are:
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note:   candidate expects 6 arguments, 1 provided
../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<v8::Value> (&)(const int&))’
     exports->Set(String::NewSymbol("blake"), FunctionTemplate::New(blake)->GetFunction());
                                                                         ^
../multihashing.cc:588:73: note: candidates are:
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note:   candidate expects 6 arguments, 1 provided
../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<v8::Value> (&)(const int&))’
     exports->Set(String::NewSymbol("fugue"), FunctionTemplate::New(fugue)->GetFunction());
                                                                         ^
../multihashing.cc:589:73: note: candidates are:
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note:   candidate expects 6 arguments, 1 provided
../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<v8::Value> (&)(const int&))’
     exports->Set(String::NewSymbol("qubit"), FunctionTemplate::New(qubit)->GetFunction());
                                                                         ^
../multihashing.cc:590:73: note: candidates are:
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note:   candidate expects 6 arguments, 1 provided
../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<v8::Value> (&)(const int&))’
     exports->Set(String::NewSymbol("hefty1"), FunctionTemplate::New(hefty1)->GetFunction());
                                                                           ^
../multihashing.cc:591:75: note: candidates are:
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note:   candidate expects 6 arguments, 1 provided
../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<v8::Value> (&)(const int&))’
     exports->Set(String::NewSymbol("shavite3"), FunctionTemplate::New(shavite3)->GetFunction());
                                                                               ^
../multihashing.cc:592:79: note: candidates are:
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note:   candidate expects 6 arguments, 1 provided
../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<v8::Value> (&)(const int&))’
     exports->Set(String::NewSymbol("cryptonight"), FunctionTemplate::New(cryptonight)->GetFunction());
                                                                                     ^
../multihashing.cc:593:85: note: candidates are:
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note:   candidate expects 6 arguments, 1 provided
../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<v8::Value> (&)(const int&))’
     exports->Set(String::NewSymbol("x13"), FunctionTemplate::New(x13)->GetFunction());
                                                                     ^
../multihashing.cc:594:69: note: candidates are:
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note:   candidate expects 6 arguments, 1 provided
../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<v8::Value> (&)(const int&))’
     exports->Set(String::NewSymbol("boolberry"), FunctionTemplate::New(boolberry)->GetFunction());
                                                                                 ^
../multihashing.cc:595:81: note: candidates are:
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note:   candidate expects 6 arguments, 1 provided
../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<v8::Value> (&)(const int&))’
     exports->Set(String::NewSymbol("nist5"), FunctionTemplate::New(nist5)->GetFunction());
                                                                         ^
../multihashing.cc:596:73: note: candidates are:
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note:   candidate expects 6 arguments, 1 provided
../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<v8::Value> (&)(const int&))’
     exports->Set(String::NewSymbol("sha1"), FunctionTemplate::New(sha1)->GetFunction());
                                                                       ^
../multihashing.cc:597:71: note: candidates are:
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note:   candidate expects 6 arguments, 1 provided
../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<v8::Value> (&)(const int&))’
     exports->Set(String::NewSymbol("x15"), FunctionTemplate::New(x15)->GetFunction());
                                                                     ^
../multihashing.cc:598:69: note: candidates are:
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note:   candidate expects 6 arguments, 1 provided
../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<v8::Value> (&)(const int&))’
     exports->Set(String::NewSymbol("fresh"), FunctionTemplate::New(fresh)->GetFunction());
                                                                         ^
../multihashing.cc:599:73: note: candidates are:
In file included from /root/.node-gyp/6.12.2/include/node/node.h:42:0,
                 from ../multihashing.cc:1:
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4485:34: note:   no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior)
   static Local<FunctionTemplate> New(
                                  ^
/root/.node-gyp/6.12.2/include/node/v8.h:4489:34: note:   candidate expects 6 arguments, 1 provided
../multihashing.cc: In function ‘v8::Handle<v8::Value> except(const char*)’:
../multihashing.cc:35:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../multihashing.cc: In function ‘v8::Handle<v8::Value> quark(const int&)’:
../multihashing.cc:57:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../multihashing.cc: In function ‘v8::Handle<v8::Value> x11(const int&)’:
../multihashing.cc:79:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../multihashing.cc: In function ‘v8::Handle<v8::Value> scrypt(const int&)’:
../multihashing.cc:106:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../multihashing.cc: In function ‘v8::Handle<v8::Value> scryptn(const int&)’:
../multihashing.cc:137:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../multihashing.cc: In function ‘v8::Handle<v8::Value> scryptjane(const int&)’:
../multihashing.cc:171:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../multihashing.cc: In function ‘v8::Handle<v8::Value> keccak(const int&)’:
../multihashing.cc:193:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../multihashing.cc: In function ‘v8::Handle<v8::Value> bcrypt(const int&)’:
../multihashing.cc:214:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../multihashing.cc: In function ‘v8::Handle<v8::Value> skein(const int&)’:
../multihashing.cc:236:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../multihashing.cc: In function ‘v8::Handle<v8::Value> groestl(const int&)’:
../multihashing.cc:259:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../multihashing.cc: In function ‘v8::Handle<v8::Value> groestlmyriad(const int&)’:
../multihashing.cc:282:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../multihashing.cc: In function ‘v8::Handle<v8::Value> blake(const int&)’:
../multihashing.cc:305:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../multihashing.cc: In function ‘v8::Handle<v8::Value> fugue(const int&)’:
../multihashing.cc:328:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../multihashing.cc: In function ‘v8::Handle<v8::Value> qubit(const int&)’:
../multihashing.cc:351:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../multihashing.cc: In function ‘v8::Handle<v8::Value> hefty1(const int&)’:
../multihashing.cc:374:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../multihashing.cc: In function ‘v8::Handle<v8::Value> shavite3(const int&)’:
../multihashing.cc:397:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../multihashing.cc: In function ‘v8::Handle<v8::Value> cryptonight(const int&)’:
../multihashing.cc:430:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../multihashing.cc: In function ‘v8::Handle<v8::Value> x13(const int&)’:
../multihashing.cc:452:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../multihashing.cc: In function ‘v8::Handle<v8::Value> boolberry(const int&)’:
../multihashing.cc:487:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../multihashing.cc: In function ‘v8::Handle<v8::Value> nist5(const int&)’:
../multihashing.cc:509:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../multihashing.cc: In function ‘v8::Handle<v8::Value> sha1(const int&)’:
../multihashing.cc:531:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../multihashing.cc: In function ‘v8::Handle<v8::Value> x15(const int&)’:
../multihashing.cc:553:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../multihashing.cc: In function ‘v8::Handle<v8::Value> fresh(const int&)’:
../multihashing.cc:575:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
make: *** [Release/obj.target/multihashing/multihashing.o] Error 1
make: Leaving directory `/opt/pool/node_modules/multi-hashing/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
gyp ERR! System Linux 3.10.0-693.11.6.el7.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/pool/node_modules/multi-hashing
gyp ERR! node -v v6.12.2
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
cryptogrot commented 6 years ago

@mia0x75 You will need to use NodeJS 0.12 and if it still not working try NodeJS 0.10.

pregithub commented 6 years ago

1722 silly lockFile 36d6fe33-node-pre-gyp-0-6-28 node-pre-gyp@~0.6.28 1723 verbose lock node-pre-gyp@~0.6.28 /root/.npm/36d6fe33-node-pre-gyp-0-6-28.lock 1724 info addNameTag [ 'nan', '^2.3.4' ] 1725 silly addNameRange { name: 'node-pre-gyp', 1725 silly addNameRange range: '>=0.6.28- <0.7.0-', 1725 silly addNameRange hasData: false } 1726 verbose url raw nan 1727 verbose url resolving [ 'https://registry.npm.taobao.org/', './nan' ] 1728 verbose url resolved https://registry.npm.taobao.org/nan 1729 info trying registry request attempt 1 at 18:08:20 1730 verbose etag "23234-8YnIEOoxPxeEZU/nS9UTuwmX93A" 1731 http GET https://registry.npm.taobao.org/nan 1732 verbose url raw node-pre-gyp 1733 verbose url resolving [ 'https://registry.npm.taobao.org/', './node-pre-gyp' ] 1734 verbose url resolved https://registry.npm.taobao.org/node-pre-gyp 1735 info trying registry request attempt 1 at 18:08:20 1736 verbose etag "2f093-6jjlEHoh6kzIgK9njfWJZyRe7t8" 1737 http GET https://registry.npm.taobao.org/node-pre-gyp 1738 silly gunzTarPerm extractEntry examples/xterm.js 1739 http 304 https://registry.npm.taobao.org/meow 1740 silly registry.get cb [ 304, 1740 silly registry.get { date: 'Fri, 19 Jan 2018 10:08:20 GMT', 1740 silly registry.get connection: 'keep-alive', 1740 silly registry.get 'x-current-requests': '1', 1740 silly registry.get vary: 'Origin', 1740 silly registry.get etag: '"6169-MyQ6roblF1t4kEl8cLq3CJIrCGk"', 1740 silly registry.get 'x-readtime': '34' } ] 1741 verbose etag meow from cache 1742 silly lockFile ad2bcc51-meow-3-3-0 meow@^3.3.0 1743 silly lockFile ad2bcc51-meow-3-3-0 meow@^3.3.0 1744 verbose about to build /home/monero/pool/node_modules/dateformat 1745 info /home/monero/pool/node_modules/dateformat unbuild 1746 verbose from cache /home/monero/pool/node_modules/dateformat/package.json 1747 info preuninstall dateformat@1.0.12 1748 info uninstall dateformat@1.0.12 1749 verbose true,/home/monero/pool/node_modules,/home/monero/pool/node_modules unbuild dateformat@1.0.12 1750 verbose /home/monero/pool/node_modules/.bin,[object Object] binRoot 1751 info postuninstall dateformat@1.0.12 1752 verbose read json /home/monero/pool/node_modules/cli-color/package.json 1753 error Error: No compatible version found: meow@'^3.3.0' 1753 error Valid install targets: 1753 error ["4.0.0","3.7.0","3.6.0","3.5.0","3.4.2","3.4.1","3.4.0","3.3.0","3.1.0","3.0.0","2.1.0","2.0.0","1.0.0"] 1753 error at installTargetsError (/opt/node-v0.10.0-linux-x64/lib/node_modules/npm/lib/cache.js:682:10) 1753 error at /opt/node-v0.10.0-linux-x64/lib/node_modules/npm/lib/cache.js:597:10 1753 error at saved (/opt/node-v0.10.0-linux-x64/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7) 1753 error at Object.oncomplete (fs.js:93:15) 1754 error If you need help, you may report this log at: 1754 error http://github.com/isaacs/npm/issues 1754 error or email it to: 1754 error npm-@googlegroups.com 1755 error System Linux 4.4.0-111-generic 1756 error command "/usr/local/bin/node" "/usr/local/bin/npm" "update" 1757 error cwd /home/monero/pool 1758 error node -v v0.10.0 1759 error npm -v 1.2.14 root@xmr:/home/monero/pool# node -v v0.10.0 root@xmr:/home/monero/pool# npm -v 1.2.14 root@xmr:/home/monero/pool#

sibblegp commented 6 years ago

Install nvm then:

nvm install 0.10.48