Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
bleacon installation log
pi@raspberrypi:~/ibeacon $ npm install bleacon
> usb@1.3.1 install /home/pi/ibeacon/node_modules/usb
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download(404): https://github.com/tessel/node-usb/releases/download/1.3.1/usb_bindings-v1.3.1-node-v64-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for usb@1.3.1 and node@10.1.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
make: Entering directory '/home/pi/ibeacon/node_modules/usb/build'
CC(target) Release/obj.target/libusb/libusb/libusb/core.o
CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o
CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o
CC(target) Release/obj.target/libusb/libusb/libusb/io.o
CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o
CC(target) Release/obj.target/libusb/libusb/libusb/sync.o
CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o
CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o
CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_usbfs.o
CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_udev.o
AR(target) Release/obj.target/usb.a
COPY Release/usb.a
CXX(target) Release/obj.target/usb_bindings/src/node_usb.o
../src/node_usb.cc: In function 'void handleHotplug(std::pair<libusb_device*, libusb_hotplug_event>)':
../src/node_usb.cc:150:58: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(Nan::New(hotplugThis), "emit", 2, argv);
^
In file included from ../src/helpers.h:3:0,
from ../src/node_usb.h:21,
from ../src/node_usb.cc:1:
../../nan/nan.h:971:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
CXX(target) Release/obj.target/usb_bindings/src/device.o
../src/device.cc: In static member function 'static void Req::default_after(uv_work_t*)':
../src/device.cc:237:64: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(device, Nan::New(baton->callback), 1, argv);
^
In file included from ../src/helpers.h:3:0,
from ../src/node_usb.h:21,
from ../src/device.cc:1:
../../nan/nan.h:929:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
CXX(target) Release/obj.target/usb_bindings/src/transfer.o
../src/transfer.cc: In function 'void handleCompletion(Transfer*)':
../src/transfer.cc:126:72: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(self->handle(), Nan::New(self->v8callback), 3, argv);
^
In file included from ../src/helpers.h:3:0,
from ../src/node_usb.h:21,
from ../src/transfer.cc:1:
../../nan/nan.h:929:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
SOLINK_MODULE(target) Release/obj.target/usb_bindings.node
COPY Release/usb_bindings.node
COPY /home/pi/ibeacon/node_modules/usb/src/binding/usb_bindings.node
TOUCH Release/obj.target/action_after_build.stamp
make: Leaving directory '/home/pi/ibeacon/node_modules/usb/build'
> bluetooth-hci-socket@0.5.1 install /home/pi/ibeacon/node_modules/bluetooth-hci-socket
> node-gyp rebuild
make: Entering directory '/home/pi/ibeacon/node_modules/bluetooth-hci-socket/build'
CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o
../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::poll()':
../src/BluetoothHciSocket.cpp:251:95: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
^
In file included from ../src/BluetoothHciSocket.cpp:8:0:
../../nan/nan.h:950:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::emitErrnoError()':
../src/BluetoothHciSocket.cpp:275:72: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
Local<Value> error = errorConstructor->NewInstance(1, constructorArgs);
^
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from /home/pi/.node-gyp/10.1.0/include/node/node_buffer.h:25,
from ../src/BluetoothHciSocket.cpp:7:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../src/BluetoothHciSocket.cpp:282:93: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
^
In file included from ../src/BluetoothHciSocket.cpp:8:0:
../../nan/nan.h:950:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
binding.target.mk:93: recipe for target 'Release/obj.target/binding/src/BluetoothHciSocket.o' failed
make: *** [Release/obj.target/binding/src/BluetoothHciSocket.o] Error 1
make: Leaving directory '/home/pi/ibeacon/node_modules/bluetooth-hci-socket/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:235:12)
gyp ERR! System Linux 4.14.34-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/ibeacon/node_modules/bluetooth-hci-socket
gyp ERR! node -v v10.1.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
> bignum@0.11.0 install /home/pi/ibeacon/node_modules/bignum
> node-gyp configure build
make: Entering directory '/home/pi/ibeacon/node_modules/bignum/build'
CXX(target) Release/obj.target/bignum/bignum.o
../bignum.cc: In function 'int BN_jacobi_priv(const BIGNUM*, const BIGNUM*, int*, BN_CTX*)':
../bignum.cc:143:6: error: expected '(' before 'BN_is_zero'
if BN_is_zero(a1) /* step 1 */
^~~~~~~~~~
../bignum.cc:145:6: error: expected '(' before 'BN_is_one'
if BN_is_one(a1) /* step 2 */
^~~~~~~~~
../bignum.cc: At global scope:
../bignum.cc:183:10: error: field 'bignum_' has incomplete type 'BIGNUM {aka bignum_st}'
BIGNUM bignum_;
^~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/openssl/bn.h:32:0,
from ../bignum.cc:9:
/home/pi/.node-gyp/10.1.0/include/node/openssl/ossl_typ.h:80:16: note: forward declaration of 'BIGNUM {aka struct bignum_st}'
typedef struct bignum_st BIGNUM;
^~~~~~~~~
../bignum.cc: In constructor 'BigNum::BigNum(const v8::String::Utf8Value&, uint64_t)':
../bignum.cc:296:19: error: 'BN_init' was not declared in this scope
BN_init(&bignum_);
^
../bignum.cc: In constructor 'BigNum::BigNum(uint64_t)':
../bignum.cc:325:19: error: 'BN_init' was not declared in this scope
BN_init(&bignum_);
^
../bignum.cc: In constructor 'BigNum::BigNum(int64_t)':
../bignum.cc:339:19: error: 'BN_init' was not declared in this scope
BN_init(&bignum_);
^
../bignum.cc: In constructor 'BigNum::BigNum(BIGNUM*)':
../bignum.cc:361:19: error: 'BN_init' was not declared in this scope
BN_init(&bignum_);
^
../bignum.cc: In constructor 'BigNum::BigNum()':
../bignum.cc:367:19: error: 'BN_init' was not declared in this scope
BN_init(&bignum_);
^
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::New(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:385:48: error: no matching function for call to 'v8::Function::NewInstance(int&, v8::Local<v8::Value>*&)'
GetFunction()->NewInstance(len, newArgs);
^
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc:412:93: warning: 'v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)' is deprecated: Use Isolate version [-Wdeprecated-declarations]
String::Utf8Value str(obj->ToObject()->Get(Nan::New("num").ToLocalChecked())->ToString());
^
In file included from /home/pi/.node-gyp/10.1.0/include/node/v8.h:26:0,
from /home/pi/.node-gyp/10.1.0/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:2822:28: note: declared here
explicit Utf8Value(Local<v8::Value> obj));
^
/home/pi/.node-gyp/10.1.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../bignum.cc:413:78: error: no matching function for call to 'v8::Value::ToNumber()'
base = obj->ToObject()->Get(Nan::New("base").ToLocalChecked())->ToNumber()->Value();
^
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:2366:44: note: candidate: v8::MaybeLocal<v8::Number> v8::Value::ToNumber(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Number> ToNumber(
^~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:2366:44: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.node-gyp/10.1.0/include/node/v8.h:26:0,
from /home/pi/.node-gyp/10.1.0/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:2383:35: note: candidate: v8::Local<v8::Number> v8::Value::ToNumber(v8::Isolate*) const
Local<Number> ToNumber(Isolate* isolate) const);
^
/home/pi/.node-gyp/10.1.0/include/node/v8config.h:340:48: note: in definition of macro 'V8_DEPRECATE_SOON'
#define V8_DEPRECATE_SOON(message, declarator) declarator
^~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:2383:35: note: candidate expects 1 argument, 0 provided
Local<Number> ToNumber(Isolate* isolate) const);
^
/home/pi/.node-gyp/10.1.0/include/node/v8config.h:340:48: note: in definition of macro 'V8_DEPRECATE_SOON'
#define V8_DEPRECATE_SOON(message, declarator) declarator
^~~~~~~~~~
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Badd(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:70:38: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:461:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bsub(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:70:38: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:474:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bmul(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:70:38: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:488:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bdiv(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:70:38: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:502:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Uadd(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:70:38: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:520:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Usub(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:70:38: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:538:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Umul(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:70:38: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:557:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Udiv(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:70:38: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:576:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Umul_2exp(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:44:36: error: no matching function for call to 'v8::Value::ToUint32()'
uint32_t VAR = info[I]->ToUint32()->Value();
^
../bignum.cc:585:3: note: in expansion of macro 'REQ_UINT32_ARG'
REQ_UINT32_ARG(0, x);
^~~~~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:2376:44: note: candidate: v8::MaybeLocal<v8::Uint32> v8::Value::ToUint32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32(
^~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:2376:44: note: candidate expects 1 argument, 0 provided
../bignum.cc:70:38: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:589:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Udiv_2exp(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:44:36: error: no matching function for call to 'v8::Value::ToUint32()'
uint32_t VAR = info[I]->ToUint32()->Value();
^
../bignum.cc:598:3: note: in expansion of macro 'REQ_UINT32_ARG'
REQ_UINT32_ARG(0, x);
^~~~~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:2376:44: note: candidate: v8::MaybeLocal<v8::Uint32> v8::Value::ToUint32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32(
^~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:2376:44: note: candidate expects 1 argument, 0 provided
../bignum.cc:70:38: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:602:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Babs(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:70:38: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:614:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bneg(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:70:38: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:626:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bmod(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:70:38: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:640:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Umod(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:70:38: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:659:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bpowm(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:70:38: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:674:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Upowm(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:70:38: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:691:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Upow(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:70:38: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:707:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Brand0(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:70:38: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:720:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Uprime0(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:44:36: error: no matching function for call to 'v8::Value::ToUint32()'
uint32_t VAR = info[I]->ToUint32()->Value();
^
../bignum.cc:727:3: note: in expansion of macro 'REQ_UINT32_ARG'
REQ_UINT32_ARG(0, x);
^~~~~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:2376:44: note: candidate: v8::MaybeLocal<v8::Uint32> v8::Value::ToUint32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32(
^~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:2376:44: note: candidate expects 1 argument, 0 provided
../bignum.cc:70:38: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:734:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Probprime(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:44:36: error: no matching function for call to 'v8::Value::ToUint32()'
uint32_t VAR = info[I]->ToUint32()->Value();
^
../bignum.cc:744:3: note: in expansion of macro 'REQ_UINT32_ARG'
REQ_UINT32_ARG(0, reps);
^~~~~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:2376:44: note: candidate: v8::MaybeLocal<v8::Uint32> v8::Value::ToUint32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32(
^~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:2376:44: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::IsBitSet(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:44:36: error: no matching function for call to 'v8::Value::ToUint32()'
uint32_t VAR = info[I]->ToUint32()->Value();
^
../bignum.cc:753:3: note: in expansion of macro 'REQ_UINT32_ARG'
REQ_UINT32_ARG(0, n);
^~~~~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:2376:44: note: candidate: v8::MaybeLocal<v8::Uint32> v8::Value::ToUint32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32(
^~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:2376:44: note: candidate expects 1 argument, 0 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Ucompare(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:785:12: error: aggregate 'BIGNUM bn' has incomplete type and cannot be defined
BIGNUM bn;
^~
../bignum.cc:786:16: error: 'BN_init' was not declared in this scope
BN_init(&bn);
^
../bignum.cc: In static member function 'static v8::Local<v8::Value> BigNum::Bop(Nan::NAN_METHOD_ARGS_TYPE, int)':
../bignum.cc:70:38: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:861:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Binvertm(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:70:38: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:893:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bgcd(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:70:38: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
GetFunction()->NewInstance(1, arg);
^
../bignum.cc:928:3: note: in expansion of macro 'WRAP_RESULT'
WRAP_RESULT(res, result);
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate expects 1 argument, 2 provided
../bignum.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bsetcompact(Nan::NAN_METHOD_ARGS_TYPE)':
../bignum.cc:952:45: error: no matching function for call to 'v8::Value::ToUint32()'
unsigned int nCompact = info[0]->ToUint32()->Value();
^
In file included from /home/pi/.node-gyp/10.1.0/include/node/node.h:63:0,
from ../../nan/nan.h:51,
from ../bignum.cc:8:
/home/pi/.node-gyp/10.1.0/include/node/v8.h:2376:44: note: candidate: v8::MaybeLocal<v8::Uint32> v8::Value::ToUint32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32(
^~~~~~~~
/home/pi/.node-gyp/10.1.0/include/node/v8.h:2376:44: note: candidate expects 1 argument, 0 provided
bignum.target.mk:97: recipe for target 'Release/obj.target/bignum/bignum.o' failed
make: *** [Release/obj.target/bignum/bignum.o] Error 1
make: Leaving directory '/home/pi/ibeacon/node_modules/bignum/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:235:12)
gyp ERR! System Linux 4.14.34-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /home/pi/ibeacon/node_modules/bignum
gyp ERR! node -v v10.1.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN ibeacon@0.0.0 No description
npm WARN ibeacon@0.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bluetooth-hci-socket@0.5.1 (node_modules/bluetooth-hci-socket):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bluetooth-hci-socket@0.5.1 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! bignum@0.11.0 install: `node-gyp configure build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bignum@0.11.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2018-05-23T15_49_47_400Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment