Skip to content

Instantly share code, notes, and snippets.

@tonidy
Created July 15, 2015 19:58
Show Gist options
  • Save tonidy/0012e1bef3b0a8724f3a to your computer and use it in GitHub Desktop.
Save tonidy/0012e1bef3b0a8724f3a to your computer and use it in GitHub Desktop.
meshblu-log
me@ubuntu:/opt/blu/meshblu/node_modules/mosca/node_modules/zmq$ node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info spawn python2
gyp info spawn args [ '/usr/lib/node_modules/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 '/opt/blu/meshblu/node_modules/mosca/node_modules/zmq/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/toni/.node-gyp/0.12.7/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/toni/.node-gyp/0.12.7',
gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp',
gyp info spawn args '-Dmodule_root_dir=/opt/blu/meshblu/node_modules/mosca/node_modules/zmq',
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 info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory `/opt/blu/meshblu/node_modules/mosca/node_modules/zmq/build'
CXX(target) Release/obj.target/zmq/binding.o
In file included from ../binding.cc:36:0:
../node_modules/nan/nan.h: In function ‘v8::Handle<v8::Value> NanError(const char*)’:
../node_modules/nan/nan.h:319:38: error: ‘New’ is not a member of ‘v8::String’
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
^
../node_modules/nan/nan.h:339:13: note: in expansion of macro ‘_NAN_ERROR’
return _NAN_ERROR(v8::Exception::Error, errmsg);
^
../node_modules/nan/nan.h: In function ‘void NanThrowError(const char*)’:
../node_modules/nan/nan.h:324:7: error: ‘ThrowException’ is not a member of ‘v8’
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
^
../node_modules/nan/nan.h:343:5: note: in expansion of macro ‘_NAN_THROW_ERROR’
_NAN_THROW_ERROR(v8::Exception::Error, errmsg);
^
../node_modules/nan/nan.h:319:38: error: ‘New’ is not a member of ‘v8::String’
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
^
../node_modules/nan/nan.h:324:26: note: in expansion of macro ‘_NAN_ERROR’
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
^
../node_modules/nan/nan.h:343:5: note: in expansion of macro ‘_NAN_THROW_ERROR’
_NAN_THROW_ERROR(v8::Exception::Error, errmsg);
^
../node_modules/nan/nan.h: In function ‘void NanThrowError(v8::Handle<v8::Value>)’:
../node_modules/nan/nan.h:348:5: error: ‘ThrowException’ is not a member of ‘v8’
v8::ThrowException(error);
^
../node_modules/nan/nan.h: In function ‘v8::Handle<v8::Value> NanError(const char*, int)’:
../node_modules/nan/nan.h:355:53: error: ‘New’ is not a member of ‘v8::String’
v8::Local<v8::Value> err = v8::Exception::Error(v8::String::New(msg));
^
../node_modules/nan/nan.h:357:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(v8::String::New("code"), v8::Int32::New(errorNumber));
^
../node_modules/nan/nan.h:357:65: error: no matching function for call to ‘v8::Int32::New(const int&)’
obj->Set(v8::String::New("code"), v8::Int32::New(errorNumber));
^
../node_modules/nan/nan.h:357:65: note: candidate is:
In file included from ../binding.cc:24:0:
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
In file included from ../binding.cc:36:0:
../node_modules/nan/nan.h: In function ‘v8::Handle<v8::Value> NanTypeError(const char*)’:
../node_modules/nan/nan.h:319:38: error: ‘New’ is not a member of ‘v8::String’
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
^
../node_modules/nan/nan.h:369:12: note: in expansion of macro ‘_NAN_ERROR’
return _NAN_ERROR(v8::Exception::TypeError, errmsg);
^
../node_modules/nan/nan.h: In function ‘void NanThrowTypeError(const char*)’:
../node_modules/nan/nan.h:324:7: error: ‘ThrowException’ is not a member of ‘v8’
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
^
../node_modules/nan/nan.h:373:5: note: in expansion of macro ‘_NAN_THROW_ERROR’
_NAN_THROW_ERROR(v8::Exception::TypeError, errmsg);
^
../node_modules/nan/nan.h:319:38: error: ‘New’ is not a member of ‘v8::String’
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
^
../node_modules/nan/nan.h:324:26: note: in expansion of macro ‘_NAN_ERROR’
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
^
../node_modules/nan/nan.h:373:5: note: in expansion of macro ‘_NAN_THROW_ERROR’
_NAN_THROW_ERROR(v8::Exception::TypeError, errmsg);
^
../node_modules/nan/nan.h: In function ‘v8::Handle<v8::Value> NanRangeError(const char*)’:
../node_modules/nan/nan.h:319:38: error: ‘New’ is not a member of ‘v8::String’
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
^
../node_modules/nan/nan.h:377:12: note: in expansion of macro ‘_NAN_ERROR’
return _NAN_ERROR(v8::Exception::RangeError, errmsg);
^
../node_modules/nan/nan.h: In function ‘void NanThrowRangeError(const char*)’:
../node_modules/nan/nan.h:324:7: error: ‘ThrowException’ is not a member of ‘v8’
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
^
../node_modules/nan/nan.h:381:5: note: in expansion of macro ‘_NAN_THROW_ERROR’
_NAN_THROW_ERROR(v8::Exception::RangeError, errmsg);
^
../node_modules/nan/nan.h:319:38: error: ‘New’ is not a member of ‘v8::String’
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
^
../node_modules/nan/nan.h:324:26: note: in expansion of macro ‘_NAN_ERROR’
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
^
../node_modules/nan/nan.h:381:5: note: in expansion of macro ‘_NAN_THROW_ERROR’
_NAN_THROW_ERROR(v8::Exception::RangeError, errmsg);
^
../node_modules/nan/nan.h: In constructor ‘NanCallback::NanCallback()’:
../node_modules/nan/nan.h:727:49: error: no matching function for call to ‘v8::Object::New()’
v8::Local<v8::Object> obj = v8::Object::New();
^
../node_modules/nan/nan.h:727:49: note: candidate is:
In file included from ../binding.cc:24:0:
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
static Local<Object> New(Isolate* isolate);
^
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:2388:24: note: candidate expects 1 argument, 0 provided
In file included from ../binding.cc:36:0:
../node_modules/nan/nan.h: In constructor ‘NanCallback::NanCallback(const v8::Handle<v8::Function>&)’:
../node_modules/nan/nan.h:733:49: error: no matching function for call to ‘v8::Object::New()’
v8::Local<v8::Object> obj = v8::Object::New();
^
../node_modules/nan/nan.h:733:49: note: candidate is:
In file included from ../binding.cc:24:0:
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
static Local<Object> New(Isolate* isolate);
^
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:2388:24: note: candidate expects 1 argument, 0 provided
In file included from ../binding.cc:36:0:
../node_modules/nan/nan.h: In destructor ‘NanCallback::~NanCallback()’:
../node_modules/nan/nan.h:740:12: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘Dispose’
handle.Dispose();
^
../node_modules/nan/nan.h:741:12: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘Clear’
handle.Clear();
^
../node_modules/nan/nan.h: In member function ‘void NanCallback::SetFunction(const v8::Handle<v8::Function>&)’:
../node_modules/nan/nan.h:181:26: error: ‘NewSymbol’ is not a member of ‘v8::String’
#define NanSymbol(value) v8::String::NewSymbol(value)
^
../node_modules/nan/nan.h:746:39: note: in expansion of macro ‘NanSymbol’
NanPersistentToLocal(handle)->Set(NanSymbol("callback"), fn);
^
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Function> NanCallback::GetFunction()’:
../node_modules/nan/nan.h:181:26: error: ‘NewSymbol’ is not a member of ‘v8::String’
#define NanSymbol(value) v8::String::NewSymbol(value)
^
../node_modules/nan/nan.h:750:46: note: in expansion of macro ‘NanSymbol’
return NanPersistentToLocal(handle)->Get(NanSymbol("callback"))
^
../node_modules/nan/nan.h:751:25: error: expected primary-expression before ‘>’ token
.As<v8::Function>();
^
../node_modules/nan/nan.h:751:27: error: expected primary-expression before ‘)’ token
.As<v8::Function>();
^
../node_modules/nan/nan.h: In member function ‘void NanCallback::Call(int, v8::Handle<v8::Value>*)’:
../node_modules/nan/nan.h:181:26: error: ‘NewSymbol’ is not a member of ‘v8::String’
#define NanSymbol(value) v8::String::NewSymbol(value)
^
../node_modules/nan/nan.h:759:13: note: in expansion of macro ‘NanSymbol’
Get(NanSymbol("callback")).As<v8::Function>();
^
../node_modules/nan/nan.h:759:51: error: expected primary-expression before ‘>’ token
Get(NanSymbol("callback")).As<v8::Function>();
^
../node_modules/nan/nan.h:759:53: error: expected primary-expression before ‘)’ token
Get(NanSymbol("callback")).As<v8::Function>();
^
../node_modules/nan/nan.h:761:9: error: ‘GetCurrent’ is not a member of ‘v8::Context’
v8::Context::GetCurrent()->Global()
^
../node_modules/nan/nan.h: In member function ‘void NanAsyncWorker::SavePersistent(const char*, v8::Local<v8::Object>&)’:
../node_modules/nan/nan.h:181:26: error: ‘NewSymbol’ is not a member of ‘v8::String’
#define NanSymbol(value) v8::String::NewSymbol(value)
^
../node_modules/nan/nan.h:808:17: note: in expansion of macro ‘NanSymbol’
handle->Set(NanSymbol(key), obj);
^
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Object> NanAsyncWorker::GetFromPersistent(const char*)’:
../node_modules/nan/nan.h:181:26: error: ‘NewSymbol’ is not a member of ‘v8::String’
#define NanSymbol(value) v8::String::NewSymbol(value)
^
../node_modules/nan/nan.h:815:24: note: in expansion of macro ‘NanSymbol’
return handle->Get(NanSymbol(key)).As<v8::Object>();
^
../node_modules/nan/nan.h:815:53: error: expected primary-expression before ‘>’ token
return handle->Get(NanSymbol(key)).As<v8::Object>();
^
../node_modules/nan/nan.h:815:55: error: expected primary-expression before ‘)’ token
return handle->Get(NanSymbol(key)).As<v8::Object>();
^
../node_modules/nan/nan.h: In member function ‘virtual void NanAsyncWorker::HandleErrorCallback()’:
../node_modules/nan/nan.h:837:30: error: ‘New’ is not a member of ‘v8::String’
v8::Exception::Error(v8::String::New(errmsg))
^
../binding.cc: In function ‘v8::Local<v8::Value> zmq::ExceptionFromError()’:
../binding.cc:178:29: error: ‘New’ is not a member of ‘v8::String’
return Exception::Error(String::New(ErrorMessage()));
^
../binding.cc: In static member function ‘static void zmq::Context::Initialize(v8::Handle<v8::Object>)’:
../binding.cc:189:58: error: no matching function for call to ‘v8::FunctionTemplate::New(void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’
Local<FunctionTemplate> t = FunctionTemplate::New(New);
^
../binding.cc:189:58: note: candidate is:
In file included from ../binding.cc:24:0:
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘void(const v8::FunctionCallbackInfo<v8::Value>&)’ to ‘v8::Isolate*’
../binding.cc:194:17: error: ‘NewSymbol’ is not a member of ‘v8::String’
target->Set(String::NewSymbol("Context"), t->GetFunction());
^
../binding.cc: In static member function ‘static void zmq::Socket::Initialize(v8::Handle<v8::Object>)’:
../binding.cc:252:58: error: no matching function for call to ‘v8::FunctionTemplate::New(void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’
Local<FunctionTemplate> t = FunctionTemplate::New(New);
^
../binding.cc:252:58: note: candidate is:
In file included from ../binding.cc:24:0:
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘void(const v8::FunctionCallbackInfo<v8::Value>&)’ to ‘v8::Isolate*’
../binding.cc:255:7: error: ‘NewSymbol’ is not a member of ‘v8::String’
String::NewSymbol("state"), Socket::GetState);
^
../binding.cc:280:17: error: ‘NewSymbol’ is not a member of ‘v8::String’
target->Set(String::NewSymbol("Socket"), t->GetFunction());
^
In file included from ../binding.cc:36:0:
../binding.cc:282:50: error: ‘NewSymbol’ is not a member of ‘v8::String’
NanAssignPersistent(String, callback_symbol, String::NewSymbol("onReady"));
^
../node_modules/nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj)
^
../binding.cc: In static member function ‘static void zmq::Socket::GetState(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>&)’:
../binding.cc:470:47: error: no matching function for call to ‘v8::Integer::New(uint8_t&)’
NanReturnValue(Integer::New(socket->state_));
^
../node_modules/nan/nan.h:301:65: note: in definition of macro ‘NanReturnValue’
# define NanReturnValue(value) return args.GetReturnValue().Set(value)
^
../binding.cc:470:47: note: candidate is:
NanReturnValue(Integer::New(socket->state_));
^
../node_modules/nan/nan.h:301:65: note: in definition of macro ‘NanReturnValue’
# define NanReturnValue(value) return args.GetReturnValue().Set(value)
^
In file included from ../binding.cc:24:0:
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
In file included from ../binding.cc:36:0:
../node_modules/nan/nan.h:301:70: error: return-statement with a value, in function returning 'void' [-fpermissive]
# define NanReturnValue(value) return args.GetReturnValue().Set(value)
^
../binding.cc:470:5: note: in expansion of macro ‘NanReturnValue’
NanReturnValue(Integer::New(socket->state_));
^
../binding.cc: In member function ‘v8::Handle<v8::Value> zmq::Socket::GetSockOpt(int)’:
../binding.cc:478:49: error: there are no arguments to ‘ThrowException’ that depend on a template parameter, so a declaration of ‘ThrowException’ must be available [-fpermissive]
return ThrowException(ExceptionFromError());
^
../binding.cc:478:49: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../binding.cc: In member function ‘v8::Handle<v8::Value> zmq::Socket::SetSockOpt(int, v8::Handle<v8::Value>)’:
../binding.cc:486:11: error: ‘New’ is not a member of ‘v8::String’
String::New("Value must be an integer")));
^
../binding.cc:486:51: error: there are no arguments to ‘ThrowException’ that depend on a template parameter, so a declaration of ‘ThrowException’ must be available [-fpermissive]
String::New("Value must be an integer")));
^
../binding.cc:489:49: error: there are no arguments to ‘ThrowException’ that depend on a template parameter, so a declaration of ‘ThrowException’ must be available [-fpermissive]
return ThrowException(ExceptionFromError());
^
../binding.cc:490:22: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
return Undefined();
^
In file included from ../binding.cc:24:0:
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:6595:19: note: declared here
Handle<Primitive> Undefined(Isolate* isolate) {
^
../binding.cc: In member function ‘v8::Handle<v8::Value> zmq::Socket::GetSockOpt(int) [with T = char*]’:
../binding.cc:498:49: error: ‘ThrowException’ was not declared in this scope
return ThrowException(ExceptionFromError());
^
../binding.cc:500:12: error: ‘New’ is not a member of ‘v8::String’
return v8::String::New(value);
^
../binding.cc: In member function ‘v8::Handle<v8::Value> zmq::Socket::SetSockOpt(int, v8::Handle<v8::Value>) [with T = char*]’:
../binding.cc:507:11: error: ‘New’ is not a member of ‘v8::String’
String::New("Value must be a buffer")));
^
../binding.cc:507:49: error: ‘ThrowException’ was not declared in this scope
String::New("Value must be a buffer")));
^
../binding.cc:511:49: error: ‘ThrowException’ was not declared in this scope
return ThrowException(ExceptionFromError());
^
../binding.cc:512:22: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
return Undefined();
^
In file included from ../binding.cc:24:0:
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../binding.cc: In destructor ‘zmq::Socket::BindState::~BindState()’:
../binding.cc:575:16: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘Clear’
sock_obj.Clear();
^
../binding.cc:577:10: error: ‘class v8::Persistent<v8::Function>’ has no member named ‘Clear’
cb.Clear();
^
../binding.cc: In static member function ‘static void zmq::Socket::UV_BindAsyncAfter(uv_work_t*)’:
../binding.cc:623:34: error: ‘New’ is not a member of ‘v8::String’
argv[0] = Exception::Error(String::New(zmq_strerror(state->error)));
^
../binding.cc:625:46: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
argv[0] = NanNewLocal<Value>(Undefined());
^
In file included from ../binding.cc:24:0:
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../binding.cc:638:14: error: ‘GetCurrent’ is not a member of ‘v8::Context’
cb->Call(v8::Context::GetCurrent()->Global(), 1, argv);
^
../binding.cc: In destructor ‘zmq::Socket::IncomingMessage::~IncomingMessage()’:
../binding.cc:798:16: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘Clear’
buf_.Clear();
^
In file included from ../binding.cc:36:0:
../binding.cc: In constructor ‘zmq::Socket::OutgoingMessage::BufferReference::BufferReference(v8::Handle<v8::Object>)’:
../node_modules/nan/nan.h:313:12: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘MakeWeak’
handle.MakeWeak(parameter, callback)
^
../binding.cc:939:13: note: in expansion of macro ‘NanMakeWeak’
NanMakeWeak(buf_, this, &WeakCheck);
^
../binding.cc: In destructor ‘zmq::Socket::OutgoingMessage::BufferReference::~BufferReference()’:
../binding.cc:944:18: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘Clear’
buf_.Clear();
^
In file included from ../binding.cc:36:0:
../binding.cc: In static member function ‘static void zmq::Socket::OutgoingMessage::BufferReference::WeakCheck(v8::Isolate*, v8::Persistent<v8::Object>*, zmq::Socket::OutgoingMessage::BufferReference*)’:
../node_modules/nan/nan.h:313:12: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘MakeWeak’
handle.MakeWeak(parameter, callback)
^
../binding.cc:959:14: note: in expansion of macro ‘NanMakeWeak’
NanMakeWeak(NAN_WEAK_CALLBACK_OBJECT, NAN_WEAK_CALLBACK_DATA(BufferReference*), &WeakCheck);
^
../binding.cc: In member function ‘void zmq::Socket::Close()’:
../binding.cc:1030:16: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘Clear’
context_.Clear();
^
In file included from ../binding.cc:36:0:
../binding.cc: In function ‘void zmq::ZmqVersion(const v8::FunctionCallbackInfo<v8::Value>&)’:
../binding.cc:1066:20: error: ‘New’ is not a member of ‘v8::String’
NanReturnValue(String::New(version_info));
^
../node_modules/nan/nan.h:301:65: note: in definition of macro ‘NanReturnValue’
# define NanReturnValue(value) return args.GetReturnValue().Set(value)
^
../node_modules/nan/nan.h:301:70: error: return-statement with a value, in function returning 'void' [-fpermissive]
# define NanReturnValue(value) return args.GetReturnValue().Set(value)
^
../binding.cc:1066:5: note: in expansion of macro ‘NanReturnValue’
NanReturnValue(String::New(version_info));
^
../node_modules/nan/nan.h: In instantiation of ‘void NanDisposePersistent(v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&) [with T = v8::Object]’:
../node_modules/nan/nan.h:786:44: required from here
../node_modules/nan/nan.h:394:5: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘Clear’
handle.Clear();
^
../binding.cc: In instantiation of ‘v8::Handle<v8::Value> zmq::Socket::GetSockOpt(int) [with T = int]’:
../binding.cc:526:7: required from here
../binding.cc:478:49: error: ‘ThrowException’ was not declared in this scope
return ThrowException(ExceptionFromError());
^
../binding.cc:479:30: error: no matching function for call to ‘v8::Integer::New(int&)’
return Integer::New(value);
^
../binding.cc:479:30: note: candidate is:
In file included from ../binding.cc:24:0:
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../binding.cc: In instantiation of ‘v8::Handle<v8::Value> zmq::Socket::GetSockOpt(int) [with T = unsigned int]’:
../binding.cc:528:7: required from here
../binding.cc:478:49: error: ‘ThrowException’ was not declared in this scope
return ThrowException(ExceptionFromError());
^
../binding.cc:479:30: error: no matching function for call to ‘v8::Integer::New(unsigned int&)’
return Integer::New(value);
^
../binding.cc:479:30: note: candidate is:
In file included from ../binding.cc:24:0:
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../binding.cc: In instantiation of ‘v8::Handle<v8::Value> zmq::Socket::GetSockOpt(int) [with T = long int]’:
../binding.cc:530:7: required from here
../binding.cc:478:49: error: ‘ThrowException’ was not declared in this scope
return ThrowException(ExceptionFromError());
^
../binding.cc:479:30: error: no matching function for call to ‘v8::Integer::New(long int&)’
return Integer::New(value);
^
../binding.cc:479:30: note: candidate is:
In file included from ../binding.cc:24:0:
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../binding.cc: In instantiation of ‘v8::Handle<v8::Value> zmq::Socket::GetSockOpt(int) [with T = long unsigned int]’:
../binding.cc:532:7: required from here
../binding.cc:478:49: error: ‘ThrowException’ was not declared in this scope
return ThrowException(ExceptionFromError());
^
../binding.cc:479:30: error: no matching function for call to ‘v8::Integer::New(long unsigned int&)’
return Integer::New(value);
^
../binding.cc:479:30: note: candidate is:
In file included from ../binding.cc:24:0:
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/home/toni/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../binding.cc: In instantiation of ‘v8::Handle<v8::Value> zmq::Socket::SetSockOpt(int, v8::Handle<v8::Value>) [with T = int]’:
../binding.cc:550:7: required from here
../binding.cc:486:51: error: ‘ThrowException’ was not declared in this scope
String::New("Value must be an integer")));
^
../binding.cc:489:49: error: ‘ThrowException’ was not declared in this scope
return ThrowException(ExceptionFromError());
^
../binding.cc: In instantiation of ‘v8::Handle<v8::Value> zmq::Socket::SetSockOpt(int, v8::Handle<v8::Value>) [with T = unsigned int]’:
../binding.cc:552:7: required from here
../binding.cc:486:51: error: ‘ThrowException’ was not declared in this scope
String::New("Value must be an integer")));
^
../binding.cc:489:49: error: ‘ThrowException’ was not declared in this scope
return ThrowException(ExceptionFromError());
^
../binding.cc: In instantiation of ‘v8::Handle<v8::Value> zmq::Socket::SetSockOpt(int, v8::Handle<v8::Value>) [with T = long int]’:
../binding.cc:554:7: required from here
../binding.cc:486:51: error: ‘ThrowException’ was not declared in this scope
String::New("Value must be an integer")));
^
../binding.cc:489:49: error: ‘ThrowException’ was not declared in this scope
return ThrowException(ExceptionFromError());
^
../binding.cc: In instantiation of ‘v8::Handle<v8::Value> zmq::Socket::SetSockOpt(int, v8::Handle<v8::Value>) [with T = long unsigned int]’:
../binding.cc:556:7: required from here
../binding.cc:486:51: error: ‘ThrowException’ was not declared in this scope
String::New("Value must be an integer")));
^
../binding.cc:489:49: error: ‘ThrowException’ was not declared in this scope
return ThrowException(ExceptionFromError());
^
In file included from ../binding.cc:36:0:
../node_modules/nan/nan.h: In instantiation of ‘void NanDisposePersistent(v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&) [with T = v8::Function]’:
../binding.cc:576:30: required from here
../node_modules/nan/nan.h:394:5: error: ‘class v8::Persistent<v8::Function>’ has no member named ‘Clear’
handle.Clear();
^
../binding.cc: In member function ‘v8::Handle<v8::Value> zmq::Socket::GetSockOpt(int) [with T = char*]’:
../binding.cc:501:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../binding.cc: In member function ‘v8::Handle<v8::Value> zmq::Socket::SetSockOpt(int, v8::Handle<v8::Value>) [with T = char*]’:
../binding.cc:513:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../binding.cc: In member function ‘v8::Handle<v8::Value> zmq::Socket::GetSockOpt(int) [with T = int]’:
../binding.cc:480:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../binding.cc: In member function ‘v8::Handle<v8::Value> zmq::Socket::GetSockOpt(int) [with T = unsigned int]’:
../binding.cc:480:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../binding.cc: In member function ‘v8::Handle<v8::Value> zmq::Socket::GetSockOpt(int) [with T = long int]’:
../binding.cc:480:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../binding.cc: In member function ‘v8::Handle<v8::Value> zmq::Socket::GetSockOpt(int) [with T = long unsigned int]’:
../binding.cc:480:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../binding.cc: In member function ‘v8::Handle<v8::Value> zmq::Socket::SetSockOpt(int, v8::Handle<v8::Value>) [with T = int]’:
../binding.cc:491:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../binding.cc: In member function ‘v8::Handle<v8::Value> zmq::Socket::SetSockOpt(int, v8::Handle<v8::Value>) [with T = unsigned int]’:
../binding.cc:491:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../binding.cc: In member function ‘v8::Handle<v8::Value> zmq::Socket::SetSockOpt(int, v8::Handle<v8::Value>) [with T = long int]’:
../binding.cc:491:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../binding.cc: In member function ‘v8::Handle<v8::Value> zmq::Socket::SetSockOpt(int, v8::Handle<v8::Value>) [with T = long unsigned int]’:
../binding.cc:491:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make: *** [Release/obj.target/zmq/binding.o] Error 1
make: Leaving directory `/opt/blu/meshblu/node_modules/mosca/node_modules/zmq/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/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 3.16.0-43-generic
gyp ERR! command "node" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /opt/blu/meshblu/node_modules/mosca/node_modules/zmq
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment