TooTallNate / ref

Turn Buffer instances into "pointers"
http://tootallnate.github.com/ref
453 stars 141 forks source link

node-gyp rebuild error #72

Closed brodecm closed 6 years ago

brodecm commented 7 years ago

Hello, guys. I install a pigsty and this is my output error. npm install pigsty .... .... .... .... .... make: Leaving directory '/root/node_modules/unified2/node_modules/ref/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:194:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) gyp ERR! System Linux 4.4.0-21-generic gyp ERR! command "/usr/bin/nodejs" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /root/node_modules/unified2/node_modules/ref gyp ERR! node -v v7.7.2 gyp ERR! node-gyp -v v3.5.0 gyp ERR! not ok /root └── (empty)

npm WARN enoent ENOENT: no such file or directory, open '/root/package.json' npm WARN root No description npm WARN root No repository field. npm WARN root No README data npm WARN root No license field. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! ref@0.1.3 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the ref@0.1.3 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 ref 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 ref npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls ref npm ERR! There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2017-03-14T22_39_30_448Z-debug.log

root@projekt:~# node -v v7.7.2

When i tried node-gyp rebuild :

root@projekt:~# node-gyp rebuild gyp info it worked if it ends with ok gyp info using node-gyp@3.0.3 gyp info using node@7.7.2 | linux | x64 gyp info spawn python2 gyp info spawn args [ '/usr/share/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/root/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/usr/share/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/usr/include/nodejs/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/usr/include/nodejs', gyp info spawn args '-Dnode_gyp_dir=/usr/share/node-gyp', gyp info spawn args '-Dnode_lib_file=node.lib', gyp info spawn args '-Dmodule_root_dir=/root', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' ] gyp: binding.gyp not found (cwd: /root) while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: gyp failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/share/node-gyp/lib/configure.js:354:16) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:194:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) gyp ERR! System Linux 4.4.0-21-generic gyp ERR! command "/usr/bin/nodejs" "/usr/bin/node-gyp" "rebuild" gyp ERR! cwd /root gyp ERR! node -v v7.7.2 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok

Any ideas ?

TooTallNate commented 7 years ago

Was there anything in the .... section?

brodecm commented 7 years ago

This is original:

npm install pigsty

ref@0.1.3 install /root/node_modules/unified2/node_modules/ref node-gyp rebuild

make: Entering directory '/root/node_modules/unified2/node_modules/ref/build' CXX(target) Release/obj.target/binding/src/binding.o ../src/binding.cc:45:29: error: 'Arguments' does not name a type Handle Address(const Arguments& args) { ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h: In function 'v8::Handle {anonymous}::Address(const int&)': /root/.node-gyp/7.7.2/include/node/v8.h:908:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/binding.cc:46:15: error: within this context HandleScope scope; ^ ../src/binding.cc:48:28: error: invalid types 'const int[int]' for array subscript Local buf = args[0]; ^ ../src/binding.cc:51:11: error: 'New' is not a member of 'v8::String' String::New("address: Buffer instance expected"))); ^ ../src/binding.cc:51:60: error: 'ThrowException' was not declared in this scope String::New("address: Buffer instance expected"))); ^ ../src/binding.cc:54:26: error: invalid types 'const int[int]' for array subscript int64_t offset = args[1]->IntegerValue(); ^ ../src/binding.cc:57:62: error: no matching function for call to 'v8::Number::New(double)' Local ret = Number::New(static_cast(intptr)); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2757:24: note: candidate: static v8::Local v8::Number::New(v8::Isolate, double) static Local New(Isolate isolate, double value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2757:24: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:59:16: error: 'class v8::HandleScope' has no member named 'Close' return scope.Close(ret); ^ ../src/binding.cc: At global scope: ../src/binding.cc:69:28: error: 'Arguments' does not name a type Handle IsNull(const Arguments& args) { ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h: In function 'v8::Handle {anonymous}::IsNull(const int&)': /root/.node-gyp/7.7.2/include/node/v8.h:908:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/binding.cc:70:15: error: within this context HandleScope scope; ^ ../src/binding.cc:72:28: error: invalid types 'const int[int]' for array subscript Local buf = args[0]; ^ ../src/binding.cc:75:11: error: 'New' is not a member of 'v8::String' String::New("isNull: Buffer instance expected"))); ^ ../src/binding.cc:75:59: error: 'ThrowException' was not declared in this scope String::New("isNull: Buffer instance expected"))); ^ ../src/binding.cc:78:26: error: invalid types 'const int[int]' for array subscript int64_t offset = args[1]->IntegerValue(); ^ ../src/binding.cc:80:47: error: no matching function for call to 'v8::Boolean::New(bool)' Handle ret = Boolean::New(ptr == NULL); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:8836:16: note: candidate: static v8::Local v8::Boolean::New(v8::Isolate, bool) Local Boolean::New(Isolate isolate, bool value) { ^ /root/.node-gyp/7.7.2/include/node/v8.h:8836:16: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:82:16: error: 'class v8::HandleScope' has no member named 'Close' return scope.Close(ret); ^ ../src/binding.cc: In function 'v8::Handle {anonymous}::CheckEndianness()': ../src/binding.cc:94:11: error: 'New' is not a member of 'v8::String' rtn = String::New("BE"); ^ ../src/binding.cc:96:11: error: 'New' is not a member of 'v8::String' rtn = String::New("LE"); ^ ../src/binding.cc: In function 'v8::Persistent {anonymous}::WrapNullPointer()': ../src/binding.cc:121:10: error: expected primary-expression before '' token Buffer buf = Buffer::New(ptr, buf_size, unref_null_cb, user_data); ^ ../src/binding.cc:121:11: error: 'buf' was not declared in this scope Buffer buf = Buffer::New(ptr, buf_size, unref_null_cb, user_data); ^ ../src/binding.cc:121:68: error: no matching function for call to 'New(char&, size_t&, void (&)(char, void), void&)' Buffer buf = Buffer::New(ptr, buf_size, unref_null_cb, user_data); ^ In file included from ../src/binding.cc:7:0: /root/.node-gyp/7.7.2/include/node/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /root/.node-gyp/7.7.2/include/node/node_buffer.h:31:40: note: candidate expects 2 arguments, 4 provided /root/.node-gyp/7.7.2/include/node/node_buffer.h:34:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/7.7.2/include/node/node_buffer.h:34:40: note: candidate expects 3 arguments, 4 provided /root/.node-gyp/7.7.2/include/node/node_buffer.h:39:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/7.7.2/include/node/node_buffer.h:39:40: note: candidate expects 5 arguments, 4 provided /root/.node-gyp/7.7.2/include/node/node_buffer.h:46:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/7.7.2/include/node/node_buffer.h:46:40: note: candidate expects 3 arguments, 4 provided ../src/binding.cc: At global scope: ../src/binding.cc:134:32: error: 'Arguments' does not name a type Handle ReadObject(const Arguments& args) { ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h: In function 'v8::Handle {anonymous}::ReadObject(const int&)': /root/.node-gyp/7.7.2/include/node/v8.h:908:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/binding.cc:135:15: error: within this context HandleScope scope; ^ ../src/binding.cc:137:28: error: invalid types 'const int[int]' for array subscript Local buf = args[0]; ^ ../src/binding.cc:140:11: error: 'New' is not a member of 'v8::String' String::New("readObject: Buffer instance expected"))); ^ ../src/binding.cc:140:63: error: 'ThrowException' was not declared in this scope String::New("readObject: Buffer instance expected"))); ^ ../src/binding.cc:143:26: error: invalid types 'const int[int]' for array subscript int64_t offset = args[1]->IntegerValue(); ^ ../src/binding.cc:148:11: error: 'New' is not a member of 'v8::String' String::New("readObject: Cannot read from NULL pointer"))); ^ ../src/binding.cc:148:68: error: 'ThrowException' was not declared in this scope String::New("readObject: Cannot read from NULL pointer"))); ^ ../src/binding.cc:151:64: error: conversion from 'v8::Persistent' to non-scalar type 'v8::Handle {aka v8::Local}' requested Handle rtn = reinterpret_cast<Persistent>(ptr); ^ ../src/binding.cc:152:16: error: 'class v8::HandleScope' has no member named 'Close' return scope.Close(rtn); ^ ../src/binding.cc: In function 'void {anonymous}::write_object_cb(v8::Persistent, void)': ../src/binding.cc:162:10: error: 'class v8::Persistent' has no member named 'Dispose' target.Dispose(); ^ ../src/binding.cc:163:10: error: 'class v8::Persistent' has no member named 'Clear' target.Clear(); ^ ../src/binding.cc: At global scope: ../src/binding.cc:176:33: error: 'Arguments' does not name a type Handle WriteObject(const Arguments& args) { ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h: In function 'v8::Handle {anonymous}::WriteObject(const int&)': /root/.node-gyp/7.7.2/include/node/v8.h:908:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/binding.cc:177:15: error: within this context HandleScope scope; ^ ../src/binding.cc:179:28: error: invalid types 'const int[int]' for array subscript Local buf = args[0]; ^ ../src/binding.cc:182:11: error: 'New' is not a member of 'v8::String' String::New("writeObject: Buffer instance expected"))); ^ ../src/binding.cc:182:64: error: 'ThrowException' was not declared in this scope String::New("writeObject: Buffer instance expected"))); ^ ../src/binding.cc:185:26: error: invalid types 'const int[int]' for array subscript int64_t offset = args[1]->IntegerValue(); ^ ../src/binding.cc:188:56: error: invalid types 'const int[int]' for array subscript Persistent obj = Persistent::New(args[2]); ^ ../src/binding.cc:189:7: error: 'class v8::Persistent' has no member named 'MakeWeak' obj.MakeWeak(NULL, write_object_cb); ^ ../src/binding.cc:192:20: error: too few arguments to function 'v8::Local v8::Undefined(v8::Isolate)' return Undefined(); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:327:27: note: declared here friend Local Undefined(Isolate isolate); ^ ../src/binding.cc: At global scope: ../src/binding.cc:213:33: error: 'Arguments' does not name a type Handle ReadPointer(const Arguments& args) { ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h: In function 'v8::Handle {anonymous}::ReadPointer(const int&)': /root/.node-gyp/7.7.2/include/node/v8.h:908:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/binding.cc:214:15: error: within this context HandleScope scope; ^ ../src/binding.cc:216:28: error: invalid types 'const int[int]' for array subscript Local buf = args[0]; ^ ../src/binding.cc:219:11: error: 'New' is not a member of 'v8::String' String::New("readPointer: Buffer instance expected as first argument"))); ^ ../src/binding.cc:219:82: error: 'ThrowException' was not declared in this scope String::New("readPointer: Buffer instance expected as first argument"))); ^ ../src/binding.cc:222:26: error: invalid types 'const int[int]' for array subscript int64_t offset = args[1]->IntegerValue(); ^ ../src/binding.cc:224:23: error: invalid types 'const int[int]' for array subscript size_t size = args[2]->Uint32Value(); ^ ../src/binding.cc:228:11: error: 'New' is not a member of 'v8::String' String::New("readPointer: Cannot read from NULL pointer"))); ^ ../src/binding.cc:228:69: error: 'ThrowException' was not declared in this scope String::New("readPointer: Cannot read from NULL pointer"))); ^ ../src/binding.cc:232:10: error: expected primary-expression before '' token Buffer rtn_buf = Buffer::New(val, size, read_pointer_cb, NULL); ^ ../src/binding.cc:232:11: error: 'rtn_buf' was not declared in this scope Buffer rtn_buf = Buffer::New(val, size, read_pointer_cb, NULL); ^ ../src/binding.cc:232:65: error: no matching function for call to 'New(char&, size_t&, void (&)(char, void), NULL)' Buffer rtn_buf = Buffer::New(val, size, read_pointer_cb, NULL); ^ In file included from ../src/binding.cc:7:0: /root/.node-gyp/7.7.2/include/node/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /root/.node-gyp/7.7.2/include/node/node_buffer.h:31:40: note: candidate expects 2 arguments, 4 provided /root/.node-gyp/7.7.2/include/node/node_buffer.h:34:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/7.7.2/include/node/node_buffer.h:34:40: note: candidate expects 3 arguments, 4 provided /root/.node-gyp/7.7.2/include/node/node_buffer.h:39:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/7.7.2/include/node/node_buffer.h:39:40: note: candidate expects 5 arguments, 4 provided /root/.node-gyp/7.7.2/include/node/node_buffer.h:46:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/7.7.2/include/node/node_buffer.h:46:40: note: candidate expects 3 arguments, 4 provided ../src/binding.cc:233:16: error: 'class v8::HandleScope' has no member named 'Close' return scope.Close(rtnbuf->handle); ^ ../src/binding.cc: At global scope: ../src/binding.cc:246:34: error: 'Arguments' does not name a type Handle WritePointer(const Arguments& args) { ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h: In function 'v8::Handle {anonymous}::WritePointer(const int&)': /root/.node-gyp/7.7.2/include/node/v8.h:908:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/binding.cc:247:15: error: within this context HandleScope scope; ^ ../src/binding.cc:249:28: error: invalid types 'const int[int]' for array subscript Local buf = args[0]; ^ ../src/binding.cc:250:30: error: invalid types 'const int[int]' for array subscript Local input = args[2]; ^ ../src/binding.cc:253:11: error: 'New' is not a member of 'v8::String' String::New("writePointer: Buffer instance expected as first argument"))); ^ ../src/binding.cc:253:83: error: 'ThrowException' was not declared in this scope String::New("writePointer: Buffer instance expected as first argument"))); ^ ../src/binding.cc:257:11: error: 'New' is not a member of 'v8::String' String::New("writePointer: Buffer instance expected as third argument"))); ^ ../src/binding.cc:257:83: error: 'ThrowException' was not declared in this scope String::New("writePointer: Buffer instance expected as third argument"))); ^ ../src/binding.cc:260:26: error: invalid types 'const int[int]' for array subscript int64_t offset = args[1]->IntegerValue(); ^ ../src/binding.cc:270:20: error: too few arguments to function 'v8::Local v8::Undefined(v8::Isolate)' return Undefined(); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:327:27: note: declared here friend Local Undefined(Isolate isolate); ^ ../src/binding.cc: At global scope: ../src/binding.cc:280:31: error: 'Arguments' does not name a type Handle ReadInt64(const Arguments& args) { ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h: In function 'v8::Handle {anonymous}::ReadInt64(const int&)': /root/.node-gyp/7.7.2/include/node/v8.h:908:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/binding.cc:281:15: error: within this context HandleScope scope; ^ ../src/binding.cc:283:28: error: invalid types 'const int[int]' for array subscript Local buf = args[0]; ^ ../src/binding.cc:286:11: error: 'New' is not a member of 'v8::String' String::New("readInt64: Buffer instance expected"))); ^ ../src/binding.cc:286:62: error: 'ThrowException' was not declared in this scope String::New("readInt64: Buffer instance expected"))); ^ ../src/binding.cc:289:26: error: invalid types 'const int[int]' for array subscript int64_t offset = args[1]->IntegerValue(); ^ ../src/binding.cc:294:11: error: 'New' is not a member of 'v8::String' String::New("readInt64: Cannot read from NULL pointer"))); ^ ../src/binding.cc:294:67: error: 'ThrowException' was not declared in this scope String::New("readInt64: Cannot read from NULL pointer"))); ^ ../src/binding.cc:304:11: error: 'New' is not a member of 'v8::String' rtn = String::New(strbuf); ^ ../src/binding.cc:307:47: error: no matching function for call to 'v8::Number::New(double)' rtn = Number::New(static_cast(val)); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2757:24: note: candidate: static v8::Local v8::Number::New(v8::Isolate, double) static Local New(Isolate isolate, double value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2757:24: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:310:16: error: 'class v8::HandleScope' has no member named 'Close' return scope.Close(rtn); ^ ../src/binding.cc: At global scope: ../src/binding.cc:322:32: error: 'Arguments' does not name a type Handle WriteInt64(const Arguments& args) { ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h: In function 'v8::Handle {anonymous}::WriteInt64(const int&)': /root/.node-gyp/7.7.2/include/node/v8.h:908:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/binding.cc:323:15: error: within this context HandleScope scope; ^ ../src/binding.cc:325:28: error: invalid types 'const int[int]' for array subscript Local buf = args[0]; ^ ../src/binding.cc:328:11: error: 'New' is not a member of 'v8::String' String::New("writeInt64: Buffer instance expected"))); ^ ../src/binding.cc:328:63: error: 'ThrowException' was not declared in this scope String::New("writeInt64: Buffer instance expected"))); ^ ../src/binding.cc:331:26: error: invalid types 'const int[int]' for array subscript int64_t offset = args[1]->IntegerValue(); ^ ../src/binding.cc:334:27: error: invalid types 'const int[int]' for array subscript Local in = args[2]; ^ ../src/binding.cc:346:11: error: 'New' is not a member of 'v8::String' String::New("writeInt64: Number/String 64-bit value required"))); ^ ../src/binding.cc:346:74: error: 'ThrowException' was not declared in this scope String::New("writeInt64: Number/String 64-bit value required"))); ^ ../src/binding.cc:351:20: error: too few arguments to function 'v8::Local v8::Undefined(v8::Isolate)' return Undefined(); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:327:27: note: declared here friend Local Undefined(Isolate isolate); ^ ../src/binding.cc: At global scope: ../src/binding.cc:361:32: error: 'Arguments' does not name a type Handle ReadUInt64(const Arguments& args) { ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h: In function 'v8::Handle {anonymous}::ReadUInt64(const int&)': /root/.node-gyp/7.7.2/include/node/v8.h:908:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/binding.cc:362:15: error: within this context HandleScope scope; ^ ../src/binding.cc:364:28: error: invalid types 'const int[int]' for array subscript Local buf = args[0]; ^ ../src/binding.cc:367:11: error: 'New' is not a member of 'v8::String' String::New("readUInt64: Buffer instance expected"))); ^ ../src/binding.cc:367:63: error: 'ThrowException' was not declared in this scope String::New("readUInt64: Buffer instance expected"))); ^ ../src/binding.cc:370:26: error: invalid types 'const int[int]' for array subscript int64_t offset = args[1]->IntegerValue(); ^ ../src/binding.cc:375:11: error: 'New' is not a member of 'v8::String' String::New("readUInt64: Cannot read from NULL pointer"))); ^ ../src/binding.cc:375:68: error: 'ThrowException' was not declared in this scope String::New("readUInt64: Cannot read from NULL pointer"))); ^ ../src/binding.cc:385:11: error: 'New' is not a member of 'v8::String' rtn = String::New(strbuf); ^ ../src/binding.cc:388:47: error: no matching function for call to 'v8::Number::New(double)' rtn = Number::New(static_cast(val)); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2757:24: note: candidate: static v8::Local v8::Number::New(v8::Isolate, double) static Local New(Isolate isolate, double value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2757:24: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:391:16: error: 'class v8::HandleScope' has no member named 'Close' return scope.Close(rtn); ^ ../src/binding.cc: At global scope: ../src/binding.cc:403:33: error: 'Arguments' does not name a type Handle WriteUInt64(const Arguments& args) { ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h: In function 'v8::Handle {anonymous}::WriteUInt64(const int&)': /root/.node-gyp/7.7.2/include/node/v8.h:908:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/binding.cc:404:15: error: within this context HandleScope scope; ^ ../src/binding.cc:406:28: error: invalid types 'const int[int]' for array subscript Local buf = args[0]; ^ ../src/binding.cc:409:11: error: 'New' is not a member of 'v8::String' String::New("writeUInt64: Buffer instance expected"))); ^ ../src/binding.cc:409:64: error: 'ThrowException' was not declared in this scope String::New("writeUInt64: Buffer instance expected"))); ^ ../src/binding.cc:412:26: error: invalid types 'const int[int]' for array subscript int64_t offset = args[1]->IntegerValue(); ^ ../src/binding.cc:415:27: error: invalid types 'const int[int]' for array subscript Local in = args[2]; ^ ../src/binding.cc:427:11: error: 'New' is not a member of 'v8::String' String::New("writeUInt64: Number/String 64-bit value required"))); ^ ../src/binding.cc:427:75: error: 'ThrowException' was not declared in this scope String::New("writeUInt64: Number/String 64-bit value required"))); ^ ../src/binding.cc:432:20: error: too few arguments to function 'v8::Local v8::Undefined(v8::Isolate)' return Undefined(); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:327:27: note: declared here friend Local Undefined(Isolate isolate); ^ ../src/binding.cc: At global scope: ../src/binding.cc:444:33: error: 'Arguments' does not name a type Handle ReadCString(const Arguments& args) { ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h: In function 'v8::Handle {anonymous}::ReadCString(const int&)': /root/.node-gyp/7.7.2/include/node/v8.h:908:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/binding.cc:445:15: error: within this context HandleScope scope; ^ ../src/binding.cc:447:28: error: invalid types 'const int[int]' for array subscript Local buf = args[0]; ^ ../src/binding.cc:450:11: error: 'New' is not a member of 'v8::String' String::New("readCString: Buffer instance expected"))); ^ ../src/binding.cc:450:64: error: 'ThrowException' was not declared in this scope String::New("readCString: Buffer instance expected"))); ^ ../src/binding.cc:453:26: error: invalid types 'const int[int]' for array subscript int64_t offset = args[1]->IntegerValue(); ^ ../src/binding.cc:458:11: error: 'New' is not a member of 'v8::String' String::New("readCString: Cannot read from NULL pointer"))); ^ ../src/binding.cc:458:69: error: 'ThrowException' was not declared in this scope String::New("readCString: Cannot read from NULL pointer"))); ^ ../src/binding.cc:461:23: error: 'New' is not a member of 'v8::String' Handle rtn = String::New(ptr); ^ ../src/binding.cc:462:16: error: 'class v8::HandleScope' has no member named 'Close' return scope.Close(rtn); ^ ../src/binding.cc: At global scope: ../src/binding.cc:474:39: error: 'Arguments' does not name a type Handle ReinterpretBuffer(const Arguments& args) { ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h: In function 'v8::Handle {anonymous}::ReinterpretBuffer(const int&)': /root/.node-gyp/7.7.2/include/node/v8.h:908:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/binding.cc:475:15: error: within this context HandleScope scope; ^ ../src/binding.cc:477:28: error: invalid types 'const int[int]' for array subscript Local buf = args[0]; ^ ../src/binding.cc:480:11: error: 'New' is not a member of 'v8::String' String::New("reinterpret: Buffer instance expected"))); ^ ../src/binding.cc:480:64: error: 'ThrowException' was not declared in this scope String::New("reinterpret: Buffer instance expected"))); ^ ../src/binding.cc:483:26: error: invalid types 'const int[int]' for array subscript int64_t offset = args[2]->IntegerValue(); ^ ../src/binding.cc:488:11: error: 'New' is not a member of 'v8::String' String::New("reinterpret: Cannot reinterpret from NULL pointer"))); ^ ../src/binding.cc:488:76: error: 'ThrowException' was not declared in this scope String::New("reinterpret: Cannot reinterpret from NULL pointer"))); ^ ../src/binding.cc:491:23: error: invalid types 'const int[int]' for array subscript size_t size = args[1]->Uint32Value(); ^ ../src/binding.cc:493:10: error: expected primary-expression before '' token Buffer rtn = Buffer::New(ptr, size, read_pointer_cb, NULL); ^ ../src/binding.cc:493:11: error: 'rtn' was not declared in this scope Buffer rtn = Buffer::New(ptr, size, read_pointer_cb, NULL); ^ ../src/binding.cc:493:61: error: no matching function for call to 'New(char&, size_t&, void (&)(char, void), NULL)' Buffer rtn = Buffer::New(ptr, size, read_pointer_cb, NULL); ^ In file included from ../src/binding.cc:7:0: /root/.node-gyp/7.7.2/include/node/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /root/.node-gyp/7.7.2/include/node/node_buffer.h:31:40: note: candidate expects 2 arguments, 4 provided /root/.node-gyp/7.7.2/include/node/node_buffer.h:34:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/7.7.2/include/node/node_buffer.h:34:40: note: candidate expects 3 arguments, 4 provided /root/.node-gyp/7.7.2/include/node/node_buffer.h:39:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/7.7.2/include/node/node_buffer.h:39:40: note: candidate expects 5 arguments, 4 provided /root/.node-gyp/7.7.2/include/node/node_buffer.h:46:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/7.7.2/include/node/nodebuffer.h:46:40: note: candidate expects 3 arguments, 4 provided ../src/binding.cc:495:16: error: 'class v8::HandleScope' has no member named 'Close' return scope.Close(rtn->handle); ^ ../src/binding.cc: At global scope: ../src/binding.cc:508:49: error: 'Arguments' does not name a type Handle ReinterpretBufferUntilZeros(const Arguments& args) { ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h: In function 'v8::Handle {anonymous}::ReinterpretBufferUntilZeros(const int&)': /root/.node-gyp/7.7.2/include/node/v8.h:908:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/binding.cc:509:15: error: within this context HandleScope scope; ^ ../src/binding.cc:511:28: error: invalid types 'const int[int]' for array subscript Local buf = args[0]; ^ ../src/binding.cc:514:11: error: 'New' is not a member of 'v8::String' String::New("reinterpretUntilZeros: Buffer instance expected"))); ^ ../src/binding.cc:514:74: error: 'ThrowException' was not declared in this scope String::New("reinterpretUntilZeros: Buffer instance expected"))); ^ ../src/binding.cc:517:26: error: invalid types 'const int[int]' for array subscript int64_t offset = args[2]->IntegerValue(); ^ ../src/binding.cc:522:11: error: 'New' is not a member of 'v8::String' String::New("reinterpretUntilZeros: Cannot reinterpret from NULL pointer"))); ^ ../src/binding.cc:522:86: error: 'ThrowException' was not declared in this scope String::New("reinterpretUntilZeros: Cannot reinterpret from NULL pointer"))); ^ ../src/binding.cc:525:29: error: invalid types 'const int[int]' for array subscript uint32_t numZeros = args[1]->Uint32Value(); ^ ../src/binding.cc:543:10: error: expected primary-expression before '' token Buffer rtn = Buffer::New(ptr, size, read_pointer_cb, NULL); ^ ../src/binding.cc:543:11: error: 'rtn' was not declared in this scope Buffer rtn = Buffer::New(ptr, size, read_pointer_cb, NULL); ^ ../src/binding.cc:543:61: error: no matching function for call to 'New(char&, size_t&, void (&)(char, void), NULL)' Buffer rtn = Buffer::New(ptr, size, read_pointer_cb, NULL); ^ In file included from ../src/binding.cc:7:0: /root/.node-gyp/7.7.2/include/node/node_buffer.h:31:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, size_t length); ^ /root/.node-gyp/7.7.2/include/node/node_buffer.h:31:40: note: candidate expects 2 arguments, 4 provided /root/.node-gyp/7.7.2/include/node/node_buffer.h:34:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, v8::Local, node::encoding) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/7.7.2/include/node/node_buffer.h:34:40: note: candidate expects 3 arguments, 4 provided /root/.node-gyp/7.7.2/include/node/node_buffer.h:39:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t, node::Buffer::FreeCallback, void) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/7.7.2/include/node/node_buffer.h:39:40: note: candidate expects 5 arguments, 4 provided /root/.node-gyp/7.7.2/include/node/node_buffer.h:46:40: note: candidate: v8::MaybeLocal node::Buffer::New(v8::Isolate, char, size_t) NODE_EXTERN v8::MaybeLocal New(v8::Isolate isolate, ^ /root/.node-gyp/7.7.2/include/node/nodebuffer.h:46:40: note: candidate expects 3 arguments, 4 provided ../src/binding.cc:545:16: error: 'class v8::HandleScope' has no member named 'Close' return scope.Close(rtn->handle); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h: In function 'void init(v8::Handle)': /root/.node-gyp/7.7.2/include/node/v8.h:908:13: error: 'v8::HandleScope::HandleScope()' is protected V8_INLINE HandleScope() {} ^ ../src/binding.cc:552:15: error: within this context HandleScope scope; ^ ../src/binding.cc:555:36: error: no matching function for call to 'v8::Object::New()' Local smap = Object::New(); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:3321:24: note: candidate: static v8::Local v8::Object::New(v8::Isolate) static Local New(Isolate isolate); ^ /root/.node-gyp/7.7.2/include/node/v8.h:3321:24: note: candidate expects 1 argument, 0 provided ../src/binding.cc:557:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("int8"), Integer::New(sizeof(int8_t))); ^ ../src/binding.cc:557:72: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("int8"), Integer::New(sizeof(int8_t))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:558:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("uint8"), Integer::New(sizeof(uint8_t))); ^ ../src/binding.cc:558:73: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("uint8"), Integer::New(sizeof(uint8_t))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:559:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("int16"), Integer::New(sizeof(int16_t))); ^ ../src/binding.cc:559:73: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("int16"), Integer::New(sizeof(int16_t))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:560:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("uint16"), Integer::New(sizeof(uint16_t))); ^ ../src/binding.cc:560:74: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("uint16"), Integer::New(sizeof(uint16_t))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:561:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("int32"), Integer::New(sizeof(int32_t))); ^ ../src/binding.cc:561:73: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("int32"), Integer::New(sizeof(int32_t))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:562:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("uint32"), Integer::New(sizeof(uint32_t))); ^ ../src/binding.cc:562:74: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("uint32"), Integer::New(sizeof(uint32_t))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:563:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("int64"), Integer::New(sizeof(int64_t))); ^ ../src/binding.cc:563:73: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("int64"), Integer::New(sizeof(int64_t))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:564:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("uint64"), Integer::New(sizeof(uint64_t))); ^ ../src/binding.cc:564:74: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("uint64"), Integer::New(sizeof(uint64_t))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:565:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("float"), Integer::New(sizeof(float))); ^ ../src/binding.cc:565:71: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("float"), Integer::New(sizeof(float))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:566:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("double"), Integer::New(sizeof(double))); ^ ../src/binding.cc:566:72: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("double"), Integer::New(sizeof(double))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:568:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("bool"), Integer::New(sizeof(bool))); ^ ../src/binding.cc:568:70: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("bool"), Integer::New(sizeof(bool))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:569:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("byte"), Integer::New(sizeof(unsigned char))); ^ ../src/binding.cc:569:79: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("byte"), Integer::New(sizeof(unsigned char))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:570:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("char"), Integer::New(sizeof(char))); ^ ../src/binding.cc:570:70: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("char"), Integer::New(sizeof(char))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:571:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("uchar"), Integer::New(sizeof(unsigned char))); ^ ../src/binding.cc:571:79: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("uchar"), Integer::New(sizeof(unsigned char))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:572:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("short"), Integer::New(sizeof(short))); ^ ../src/binding.cc:572:71: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("short"), Integer::New(sizeof(short))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:573:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("ushort"), Integer::New(sizeof(unsigned short))); ^ ../src/binding.cc:573:80: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("ushort"), Integer::New(sizeof(unsigned short))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:574:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("int"), Integer::New(sizeof(int))); ^ ../src/binding.cc:574:69: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("int"), Integer::New(sizeof(int))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:575:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("uint"), Integer::New(sizeof(unsigned int))); ^ ../src/binding.cc:575:78: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("uint"), Integer::New(sizeof(unsigned int))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:576:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("long"), Integer::New(sizeof(long))); ^ ../src/binding.cc:576:70: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("long"), Integer::New(sizeof(long))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:577:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("ulong"), Integer::New(sizeof(unsigned long))); ^ ../src/binding.cc:577:79: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("ulong"), Integer::New(sizeof(unsigned long))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:578:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("longlong"), Integer::New(sizeof(long long))); ^ ../src/binding.cc:578:75: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("longlong"), Integer::New(sizeof(long long))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:579:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("ulonglong"), Integer::New(sizeof(unsigned long long))); ^ ../src/binding.cc:579:84: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("ulonglong"), Integer::New(sizeof(unsigned long long))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:580:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("pointer"), Integer::New(sizeof(char ))); ^ ../src/binding.cc:580:72: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("pointer"), Integer::New(sizeof(char ))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:581:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("size_t"), Integer::New(sizeof(size_t))); ^ ../src/binding.cc:581:72: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("size_t"), Integer::New(sizeof(size_t))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:583:13: error: 'NewSymbol' is not a member of 'v8::String' smap->Set(String::NewSymbol("Object"), Integer::New(sizeof(Persistent))); ^ ../src/binding.cc:583:84: error: no matching function for call to 'v8::Integer::New(long unsigned int)' smap->Set(String::NewSymbol("Object"), Integer::New(sizeof(Persistent))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:586:36: error: no matching function for call to 'v8::Object::New()' Local amap = Object::New(); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:3321:24: note: candidate: static v8::Local v8::Object::New(v8::Isolate) static Local New(Isolate isolate); ^ /root/.node-gyp/7.7.2/include/node/v8.h:3321:24: note: candidate expects 1 argument, 0 provided ../src/binding.cc:588:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("int8"), Integer::New(alignof(struct int8_s))); ^ ../src/binding.cc:588:84: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("int8"), Integer::New(alignof(struct int8_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:590:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("uint8"), Integer::New(alignof(struct uint8_s))); ^ ../src/binding.cc:590:85: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("uint8"), Integer::New(alignof(struct uint8_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:592:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("int16"), Integer::New(alignof(struct int16_s))); ^ ../src/binding.cc:592:85: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("int16"), Integer::New(alignof(struct int16_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:594:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("uint16"), Integer::New(alignof(struct uint16_s))); ^ ../src/binding.cc:594:86: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("uint16"), Integer::New(alignof(struct uint16_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:596:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("int32"), Integer::New(alignof(struct int32_s))); ^ ../src/binding.cc:596:85: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("int32"), Integer::New(alignof(struct int32_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:598:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("uint32"), Integer::New(alignof(struct uint32_s))); ^ ../src/binding.cc:598:86: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("uint32"), Integer::New(alignof(struct uint32_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:600:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("int64"), Integer::New(alignof(struct int64_s))); ^ ../src/binding.cc:600:85: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("int64"), Integer::New(alignof(struct int64_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:602:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("uint64"), Integer::New(alignof(struct uint64_s))); ^ ../src/binding.cc:602:86: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("uint64"), Integer::New(alignof(struct uint64_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:604:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("float"), Integer::New(alignof(struct float_s))); ^ ../src/binding.cc:604:85: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("float"), Integer::New(alignof(struct float_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:606:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("double"), Integer::New(alignof(struct double_s))); ^ ../src/binding.cc:606:86: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("double"), Integer::New(alignof(struct double_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:608:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("bool"), Integer::New(alignof(struct bool_s))); ^ ../src/binding.cc:608:84: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("bool"), Integer::New(alignof(struct bool_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:610:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("char"), Integer::New(alignof(struct char_s))); ^ ../src/binding.cc:610:84: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("char"), Integer::New(alignof(struct char_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:612:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("uchar"), Integer::New(alignof(struct uchar_s))); ^ ../src/binding.cc:612:85: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("uchar"), Integer::New(alignof(struct uchar_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:614:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("short"), Integer::New(alignof(struct short_s))); ^ ../src/binding.cc:614:85: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("short"), Integer::New(alignof(struct short_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:616:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("ushort"), Integer::New(alignof(struct ushort_s))); ^ ../src/binding.cc:616:86: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("ushort"), Integer::New(alignof(struct ushort_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:618:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("int"), Integer::New(alignof(struct int_s))); ^ ../src/binding.cc:618:83: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("int"), Integer::New(alignof(struct int_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:620:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("uint"), Integer::New(alignof(struct uint_s))); ^ ../src/binding.cc:620:84: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("uint"), Integer::New(alignof(struct uint_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:622:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("long"), Integer::New(alignof(struct long_s))); ^ ../src/binding.cc:622:84: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("long"), Integer::New(alignof(struct long_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:624:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("ulong"), Integer::New(alignof(struct ulong_s))); ^ ../src/binding.cc:624:85: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("ulong"), Integer::New(alignof(struct ulong_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:626:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("longlong"), Integer::New(alignof(struct longlong_s))); ^ ../src/binding.cc:626:88: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("longlong"), Integer::New(alignof(struct longlong_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:628:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("ulonglong"), Integer::New(alignof(struct ulonglong_s))); ^ ../src/binding.cc:628:89: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("ulonglong"), Integer::New(alignof(struct ulonglong_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:630:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("pointer"), Integer::New(alignof(struct pointer_s))); ^ ../src/binding.cc:630:87: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("pointer"), Integer::New(alignof(struct pointer_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:632:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("size_t"), Integer::New(alignof(struct size_t_s))); ^ ../src/binding.cc:632:86: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("size_t"), Integer::New(alignof(struct size_t_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:634:13: error: 'NewSymbol' is not a member of 'v8::String' amap->Set(String::NewSymbol("Object"), Integer::New(alignof(struct Object_s))); ^ ../src/binding.cc:634:86: error: no matching function for call to 'v8::Integer::New(long unsigned int)' amap->Set(String::NewSymbol("Object"), Integer::New(alignof(struct Object_s))); ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Local v8::Integer::New(v8::Isolate, int32_t) static Local New(Isolate isolate, int32_t value); ^ /root/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided ../src/binding.cc:637:15: error: 'NewSymbol' is not a member of 'v8::String' target->Set(String::NewSymbol("sizeof"), smap); ^ ../src/binding.cc:638:15: error: 'NewSymbol' is not a member of 'v8::String' target->Set(String::NewSymbol("alignof"), amap); ^ ../src/binding.cc:639:15: error: 'NewSymbol' is not a member of 'v8::String' target->Set(String::NewSymbol("endianness"), CheckEndianness(), static_cast(ReadOnly|DontDelete)); ^ ../src/binding.cc:640:15: error: 'NewSymbol' is not a member of 'v8::String' target->Set(String::NewSymbol("NULL"), WrapNullPointer(), static_cast(ReadOnly|DontDelete)); ^ ../src/binding.cc:641:45: error: invalid conversion from 'v8::Handle ()(const int&) {aka v8::Local ()(const int&)}' to 'v8::FunctionCallback {aka void ()(const v8::FunctionCallbackInfo&)}' [-fpermissive] NODE_SET_METHOD(target, "address", Address); ^ In file included from ../src/binding.cc:6:0: /root/.node-gyp/7.7.2/include/node/node.h:254:13: note: initializing argument 3 of 'void node::NODE_SET_METHOD(v8::Local, const char, v8::FunctionCallback)' inline void NODE_SET_METHOD(v8::Local recv, ^ ../src/binding.cc:642:43: error: invalid conversion from 'v8::Handle ()(const int&) {aka v8::Local ()(const int&)}' to 'v8::FunctionCallback {aka void ()(const v8::FunctionCallbackInfo&)}' [-fpermissive] NODE_SET_METHOD(target, "isNull", IsNull); ^ In file included from ../src/binding.cc:6:0: /root/.node-gyp/7.7.2/include/node/node.h:254:13: note: initializing argument 3 of 'void node::NODE_SET_METHOD(v8::Local, const char, v8::FunctionCallback)' inline void NODE_SET_METHOD(v8::Local recv, ^ ../src/binding.cc:643:51: error: invalid conversion from 'v8::Handle ()(const int&) {aka v8::Local ()(const int&)}' to 'v8::FunctionCallback {aka void ()(const v8::FunctionCallbackInfo&)}' [-fpermissive] NODE_SET_METHOD(target, "readObject", ReadObject); ^ In file included from ../src/binding.cc:6:0: /root/.node-gyp/7.7.2/include/node/node.h:254:13: note: initializing argument 3 of 'void node::NODE_SET_METHOD(v8::Local, const char, v8::FunctionCallback)' inline void NODE_SET_METHOD(v8::Local recv, ^ ../src/binding.cc:644:53: error: invalid conversion from 'v8::Handle ()(const int&) {aka v8::Local ()(const int&)}' to 'v8::FunctionCallback {aka void ()(const v8::FunctionCallbackInfo&)}' [-fpermissive] NODE_SET_METHOD(target, "writeObject", WriteObject); ^ In file included from ../src/binding.cc:6:0: /root/.node-gyp/7.7.2/include/node/node.h:254:13: note: initializing argument 3 of 'void node::NODE_SET_METHOD(v8::Local, const char, v8::FunctionCallback)' inline void NODE_SET_METHOD(v8::Local recv, ^ ../src/binding.cc:645:53: error: invalid conversion from 'v8::Handle ()(const int&) {aka v8::Local ()(const int&)}' to 'v8::FunctionCallback {aka void ()(const v8::FunctionCallbackInfo&)}' [-fpermissive] NODE_SET_METHOD(target, "readPointer", ReadPointer); ^ In file included from ../src/binding.cc:6:0: /root/.node-gyp/7.7.2/include/node/node.h:254:13: note: initializing argument 3 of 'void node::NODE_SET_METHOD(v8::Local, const char, v8::FunctionCallback)' inline void NODE_SET_METHOD(v8::Local recv, ^ ../src/binding.cc:646:55: error: invalid conversion from 'v8::Handle ()(const int&) {aka v8::Local ()(const int&)}' to 'v8::FunctionCallback {aka void ()(const v8::FunctionCallbackInfo&)}' [-fpermissive] NODE_SET_METHOD(target, "writePointer", WritePointer); ^ In file included from ../src/binding.cc:6:0: /root/.node-gyp/7.7.2/include/node/node.h:254:13: note: initializing argument 3 of 'void node::NODE_SET_METHOD(v8::Local, const char, v8::FunctionCallback)' inline void NODE_SET_METHOD(v8::Local recv, ^ ../src/binding.cc:647:49: error: invalid conversion from 'v8::Handle ()(const int&) {aka v8::Local ()(const int&)}' to 'v8::FunctionCallback {aka void ()(const v8::FunctionCallbackInfo&)}' [-fpermissive] NODE_SET_METHOD(target, "readInt64", ReadInt64); ^ In file included from ../src/binding.cc:6:0: /root/.node-gyp/7.7.2/include/node/node.h:254:13: note: initializing argument 3 of 'void node::NODE_SET_METHOD(v8::Local, const char, v8::FunctionCallback)' inline void NODE_SET_METHOD(v8::Local recv, ^ ../src/binding.cc:648:51: error: invalid conversion from 'v8::Handle ()(const int&) {aka v8::Local ()(const int&)}' to 'v8::FunctionCallback {aka void ()(const v8::FunctionCallbackInfo&)}' [-fpermissive] NODE_SET_METHOD(target, "writeInt64", WriteInt64); ^ In file included from ../src/binding.cc:6:0: /root/.node-gyp/7.7.2/include/node/node.h:254:13: note: initializing argument 3 of 'void node::NODE_SET_METHOD(v8::Local, const char, v8::FunctionCallback)' inline void NODE_SET_METHOD(v8::Local recv, ^ ../src/binding.cc:649:51: error: invalid conversion from 'v8::Handle ()(const int&) {aka v8::Local ()(const int&)}' to 'v8::FunctionCallback {aka void ()(const v8::FunctionCallbackInfo&)}' [-fpermissive] NODE_SET_METHOD(target, "readUInt64", ReadUInt64); ^ In file included from ../src/binding.cc:6:0: /root/.node-gyp/7.7.2/include/node/node.h:254:13: note: initializing argument 3 of 'void node::NODE_SET_METHOD(v8::Local, const char, v8::FunctionCallback)' inline void NODE_SET_METHOD(v8::Local recv, ^ ../src/binding.cc:650:53: error: invalid conversion from 'v8::Handle ()(const int&) {aka v8::Local ()(const int&)}' to 'v8::FunctionCallback {aka void ()(const v8::FunctionCallbackInfo&)}' [-fpermissive] NODE_SET_METHOD(target, "writeUInt64", WriteUInt64); ^ In file included from ../src/binding.cc:6:0: /root/.node-gyp/7.7.2/include/node/node.h:254:13: note: initializing argument 3 of 'void node::NODE_SET_METHOD(v8::Local, const char, v8::FunctionCallback)' inline void NODE_SET_METHOD(v8::Local recv, ^ ../src/binding.cc:651:53: error: invalid conversion from 'v8::Handle ()(const int&) {aka v8::Local ()(const int&)}' to 'v8::FunctionCallback {aka void ()(const v8::FunctionCallbackInfo&)}' [-fpermissive] NODE_SET_METHOD(target, "readCString", ReadCString); ^ In file included from ../src/binding.cc:6:0: /root/.node-gyp/7.7.2/include/node/node.h:254:13: note: initializing argument 3 of 'void node::NODE_SET_METHOD(v8::Local, const char, v8::FunctionCallback)' inline void NODE_SET_METHOD(v8::Local recv, ^ ../src/binding.cc:652:59: error: invalid conversion from 'v8::Handle ()(const int&) {aka v8::Local ()(const int&)}' to 'v8::FunctionCallback {aka void ()(const v8::FunctionCallbackInfo&)}' [-fpermissive] NODE_SET_METHOD(target, "reinterpret", ReinterpretBuffer); ^ In file included from ../src/binding.cc:6:0: /root/.node-gyp/7.7.2/include/node/node.h:254:13: note: initializing argument 3 of 'void node::NODE_SET_METHOD(v8::Local, const char, v8::FunctionCallback)' inline void NODE_SET_METHOD(v8::Local recv, ^ ../src/binding.cc:653:79: error: invalid conversion from 'v8::Handle ()(const int&) {aka v8::Local ()(const int&)}' to 'v8::FunctionCallback {aka void ()(const v8::FunctionCallbackInfo&)}' [-fpermissive] NODE_SET_METHOD(target, "reinterpretUntilZeros", ReinterpretBufferUntilZeros); ^ In file included from ../src/binding.cc:6:0: /root/.node-gyp/7.7.2/include/node/node.h:254:13: note: initializing argument 3 of 'void node::NODE_SET_METHOD(v8::Local, const char, v8::FunctionCallback)' inline void NODE_SET_METHOD(v8::Local recv, ^ In file included from ../src/binding.cc:5:0: /root/.node-gyp/7.7.2/include/node/v8.h: In instantiation of 'static void v8::NonCopyablePersistentTraits::Uncompilable() [with O = v8::Object; T = v8::Object]': /root/.node-gyp/7.7.2/include/node/v8.h:675:25: required from 'static void v8::NonCopyablePersistentTraits::Copy(const v8::Persistent<S, M>&, v8::NonCopyablePersistentTraits::NonCopyablePersistent) [with S = v8::Object; M = v8::NonCopyablePersistentTraits; T = v8::Object; v8::NonCopyablePersistentTraits::NonCopyablePersistent = v8::Persistent]' /root/.node-gyp/7.7.2/include/node/v8.h:8438:10: required from 'void v8::Persistent<T, M>::Copy(const v8::Persistent<S, M>&) [with S = v8::Object; M2 = v8::NonCopyablePersistentTraits; T = v8::Object; M = v8::NonCopyablePersistentTraits]' /root/.node-gyp/7.7.2/include/node/v8.h:741:9: required from 'v8::Persistent<T, M>::Persistent(const v8::Persistent<T, M>&) [with T = v8::Object; M = v8::NonCopyablePersistentTraits]' ../src/binding.cc:123:10: required from here /root/.node-gyp/7.7.2/include/node/v8.h:191:37: error: cannot convert 'v8::Primitive' to 'v8::Object volatile' in assignment (static_cast<T volatile>(0)) = static_cast<S>(0); \ ^ /root/.node-gyp/7.7.2/include/node/v8.h:679:5: note: in expansion of macro 'TYPE_CHECK' TYPE_CHECK(O, Primitive); ^ /root/.node-gyp/7.7.2/include/node/v8.h: In instantiation of 'static void v8::NonCopyablePersistentTraits::Uncompilable() [with O = v8::Object; T = v8::Value]': /root/.node-gyp/7.7.2/include/node/v8.h:675:25: required from 'static void v8::NonCopyablePersistentTraits::Copy(const v8::Persistent<S, M>&, v8::NonCopyablePersistentTraits::NonCopyablePersistent) [with S = v8::Value; M = v8::NonCopyablePersistentTraits; T = v8::Value; v8::NonCopyablePersistentTraits::NonCopyablePersistent = v8::Persistent]' /root/.node-gyp/7.7.2/include/node/v8.h:8438:10: required from 'void v8::Persistent<T, M>::Copy(const v8::Persistent<S, M>&) [with S = v8::Value; M2 = v8::NonCopyablePersistentTraits; T = v8::Value; M = v8::NonCopyablePersistentTraits]' /root/.node-gyp/7.7.2/include/node/v8.h:748:9: required from 'v8::Persistent<T, M>& v8::Persistent<T, M>::operator=(const v8::Persistent<T, M>&) [with T = v8::Value; M = v8::NonCopyablePersistentTraits]' ../src/binding.cc:190:46: required from here /root/.node-gyp/7.7.2/include/node/v8.h:191:37: error: cannot convert 'v8::Primitive' to 'v8::Object volatile' in assignment (static_cast<T volatile>(0)) = static_cast<S>(0); \ ^ /root/.node-gyp/7.7.2/include/node/v8.h:679:5: note: in expansion of macro 'TYPE_CHECK' TYPE_CHECK(O, Primitive); ^ binding.target.mk:92: recipe for target 'Release/obj.target/binding/src/binding.o' failed make: *** [Release/obj.target/binding/src/binding.o] Error 1 make: Leaving directory '/root/node_modules/unified2/node_modules/ref/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:194:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) gyp ERR! System Linux 4.4.0-21-generic gyp ERR! command "/usr/bin/nodejs" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /root/node_modules/unified2/node_modules/ref gyp ERR! node -v v7.7.2 gyp ERR! node-gyp -v v3.5.0 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open '/root/package.json' npm WARN root No description npm WARN root No repository field. npm WARN root No README data npm WARN root No license field. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! ref@0.1.3 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the ref@0.1.3 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 ref 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 ref npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls ref npm ERR! There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2017-03-15T09_29_20_342Z-debug.log