Wie sieht es denn hiermit aus? Habe auf meinem neuen Server nodejs 5.5.0 - Damit scheint mit nodePush 1 leider überhaupt nichts mehr zu gehen hier nur mal ein Auszug (da zu lang):
../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
#define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
^
../src/posix.cc:426:16: note: in expansion of macro ‘EXCEPTION’
return EXCEPTION("closelog: does not take any arguments");
^
../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
#define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
^
../src/posix.cc:426:16: note: in expansion of macro ‘EXCEPTION’
return EXCEPTION("closelog: does not take any arguments");
^
../src/posix.cc:432:22: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’
return Undefined();
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:315:27: note: declared here
friend Local<Primitive> Undefined(Isolate* isolate);
^
../src/posix.cc: At global scope:
../src/posix.cc:435:40: error: ‘Arguments’ does not name a type
static Handle<Value> node_syslog(const Arguments& args) {
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h: In function ‘v8::Handle<v8::Value> node_syslog(const int&)’:
/root/.node-gyp/5.5.0/include/node/v8.h:889:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/posix.cc:436:17: error: within this context
HandleScope scope;
^
../src/posix.cc:438:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
if(args.Length() != 2) {
^
../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
#define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
^
../src/posix.cc:439:16: note: in expansion of macro ‘EXCEPTION’
return EXCEPTION("syslog: requires exactly 2 arguments");
^
../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
#define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
^
../src/posix.cc:439:16: note: in expansion of macro ‘EXCEPTION’
return EXCEPTION("syslog: requires exactly 2 arguments");
^
../src/posix.cc:442:37: error: invalid types ‘const int[int]’ for array subscript
String::Utf8Value message(args[1]->ToString());
^
../src/posix.cc:444:18: error: invalid types ‘const int[int]’ for array subscript
syslog(args[0]->Int32Value(), "%s", *message);
^
../src/posix.cc:446:22: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’
return Undefined();
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:315:27: note: declared here
friend Local<Primitive> Undefined(Isolate* isolate);
^
../src/posix.cc: At global scope:
../src/posix.cc:449:44: error: ‘Arguments’ does not name a type
static Handle<Value> node_setlogmask(const Arguments& args) {
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h: In function ‘v8::Handle<v8::Value> node_setlogmask(const int&)’:
/root/.node-gyp/5.5.0/include/node/v8.h:889:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/posix.cc:450:17: error: within this context
HandleScope scope;
^
../src/posix.cc:452:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
if(args.Length() != 1) {
^
../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
#define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
^
../src/posix.cc:453:16: note: in expansion of macro ‘EXCEPTION’
return EXCEPTION("setlogmask: takes exactly 1 argument");
^
../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
#define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
^
../src/posix.cc:453:16: note: in expansion of macro ‘EXCEPTION’
return EXCEPTION("setlogmask: takes exactly 1 argument");
^
../src/posix.cc:456:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Integer::New(setlogmask(args[0]->Int32Value())));
^
../src/posix.cc:456:54: error: invalid types ‘const int[int]’ for array subscript
return scope.Close(Integer::New(setlogmask(args[0]->Int32Value())));
^
../src/posix.cc: At global scope:
../src/posix.cc:463:57: error: ‘Arguments’ does not name a type
static Handle<Value> node_update_syslog_constants(const Arguments& args) {
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h: In function ‘v8::Handle<v8::Value> node_update_syslog_constants(const int&)’:
/root/.node-gyp/5.5.0/include/node/v8.h:889:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/posix.cc:464:17: error: within this context
HandleScope scope;
^
../src/posix.cc:466:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
if((args.Length() != 1) || (!args[0]->IsObject())) {
^
../src/posix.cc:466:40: error: invalid types ‘const int[int]’ for array subscript
if((args.Length() != 1) || (!args[0]->IsObject())) {
^
../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
#define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
^
../src/posix.cc:467:16: note: in expansion of macro ‘EXCEPTION’
return EXCEPTION("invalid arguments");
^
../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
#define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
^
../src/posix.cc:467:16: note: in expansion of macro ‘EXCEPTION’
return EXCEPTION("invalid arguments");
^
../src/posix.cc:470:31: error: invalid types ‘const int[int]’ for array subscript
Local<Object> obj = args[0]->ToObject();
^
../src/posix.cc:460:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:471:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("emerg", LOG_EMERG);
^
../src/posix.cc:460:50: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:471:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("emerg", LOG_EMERG);
^
../src/posix.cc:460:50: note: candidate is:
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:471:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("emerg", LOG_EMERG);
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:461:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:471:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("emerg", LOG_EMERG);
^
../src/posix.cc:461:68: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:471:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("emerg", LOG_EMERG);
^
../src/posix.cc:461:68: note: candidate is:
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:471:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("emerg", LOG_EMERG);
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:460:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:472:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("alert", LOG_ALERT);
^
../src/posix.cc:460:50: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:472:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("alert", LOG_ALERT);
^
../src/posix.cc:460:50: note: candidate is:
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:472:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("alert", LOG_ALERT);
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:461:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:472:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("alert", LOG_ALERT);
^
../src/posix.cc:461:68: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:472:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("alert", LOG_ALERT);
^
../src/posix.cc:461:68: note: candidate is:
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:472:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("alert", LOG_ALERT);
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:460:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:473:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("crit", LOG_CRIT);
^
../src/posix.cc:460:50: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:473:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("crit", LOG_CRIT);
^
../src/posix.cc:460:50: note: candidate is:
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:473:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("crit", LOG_CRIT);
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:461:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:473:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("crit", LOG_CRIT);
^
../src/posix.cc:461:68: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:473:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("crit", LOG_CRIT);
^
../src/posix.cc:461:68: note: candidate is:
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:473:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("crit", LOG_CRIT);
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:460:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:474:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("err", LOG_ERR);
^
../src/posix.cc:460:50: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:474:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("err", LOG_ERR);
^
../src/posix.cc:460:50: note: candidate is:
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:474:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("err", LOG_ERR);
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:461:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:474:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("err", LOG_ERR);
^
../src/posix.cc:461:68: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:474:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("err", LOG_ERR);
^
../src/posix.cc:461:68: note: candidate is:
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:474:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("err", LOG_ERR);
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:460:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:475:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("warning", LOG_WARNING);
^
../src/posix.cc:460:50: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:475:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("warning", LOG_WARNING);
^
../src/posix.cc:460:50: note: candidate is:
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:475:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("warning", LOG_WARNING);
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:461:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:475:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("warning", LOG_WARNING);
^
../src/posix.cc:461:68: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:475:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("warning", LOG_WARNING);
^
../src/posix.cc:461:68: note: candidate is:
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:475:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("warning", LOG_WARNING);
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:460:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:476:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("notice", LOG_NOTICE);
^
../src/posix.cc:460:50: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:476:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("notice", LOG_NOTICE);
^
../src/posix.cc:460:50: note: candidate is:
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:476:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("notice", LOG_NOTICE);
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:461:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:476:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("notice", LOG_NOTICE);
^
../src/posix.cc:461:68: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:476:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("notice", LOG_NOTICE);
^
../src/posix.cc:461:68: note: candidate is:
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:476:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("notice", LOG_NOTICE);
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:460:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:477:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("info", LOG_INFO);
^
../src/posix.cc:460:50: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:477:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("info", LOG_INFO);
^
../src/posix.cc:460:50: note: candidate is:
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:477:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("info", LOG_INFO);
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:461:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:477:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("info", LOG_INFO);
^
../src/posix.cc:461:68: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:477:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("info", LOG_INFO);
^
../src/posix.cc:461:68: note: candidate is:
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:477:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("info", LOG_INFO);
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:460:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:478:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("debug", LOG_DEBUG);
^
../src/posix.cc:460:50: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:478:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("debug", LOG_DEBUG);
^
../src/posix.cc:460:50: note: candidate is:
obj->Set(String::New(name), Integer::New(flag)); \
^
../src/posix.cc:478:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("debug", LOG_DEBUG);
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:461:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:478:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("debug", LOG_DEBUG);
^
../src/posix.cc:461:68: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:478:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("debug", LOG_DEBUG);
^
../src/posix.cc:461:68: note: candidate is:
obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
^
../src/posix.cc:478:5: note: in expansion of macro ‘ADD_MASK_FLAG’
ADD_MASK_FLAG("debug", LOG_DEBUG);
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:481:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("auth"), Integer::New(LOG_AUTH));
^
../src/posix.cc:481:56: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("auth"), Integer::New(LOG_AUTH));
^
../src/posix.cc:481:56: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:483:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("authpriv"), Integer::New(LOG_AUTHPRIV));
^
../src/posix.cc:483:64: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("authpriv"), Integer::New(LOG_AUTHPRIV));
^
../src/posix.cc:483:64: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:485:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("cron"), Integer::New(LOG_CRON));
^
../src/posix.cc:485:56: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("cron"), Integer::New(LOG_CRON));
^
../src/posix.cc:485:56: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:486:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("daemon"), Integer::New(LOG_DAEMON));
^
../src/posix.cc:486:60: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("daemon"), Integer::New(LOG_DAEMON));
^
../src/posix.cc:486:60: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:488:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("ftp"), Integer::New(LOG_FTP));
^
../src/posix.cc:488:54: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("ftp"), Integer::New(LOG_FTP));
^
../src/posix.cc:488:54: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:490:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("kern"), Integer::New(LOG_KERN));
^
../src/posix.cc:490:56: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("kern"), Integer::New(LOG_KERN));
^
../src/posix.cc:490:56: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:491:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("lpr"), Integer::New(LOG_LPR));
^
../src/posix.cc:491:54: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("lpr"), Integer::New(LOG_LPR));
^
../src/posix.cc:491:54: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:492:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("mail"), Integer::New(LOG_MAIL));
^
../src/posix.cc:492:56: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("mail"), Integer::New(LOG_MAIL));
^
../src/posix.cc:492:56: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:493:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("news"), Integer::New(LOG_NEWS));
^
../src/posix.cc:493:56: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("news"), Integer::New(LOG_NEWS));
^
../src/posix.cc:493:56: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:494:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("syslog"), Integer::New(LOG_SYSLOG));
^
../src/posix.cc:494:60: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("syslog"), Integer::New(LOG_SYSLOG));
^
../src/posix.cc:494:60: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:495:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("user"), Integer::New(LOG_USER));
^
../src/posix.cc:495:56: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("user"), Integer::New(LOG_USER));
^
../src/posix.cc:495:56: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:496:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("uucp"), Integer::New(LOG_UUCP));
^
../src/posix.cc:496:56: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("uucp"), Integer::New(LOG_UUCP));
^
../src/posix.cc:496:56: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:497:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("local0"), Integer::New(LOG_LOCAL0));
^
../src/posix.cc:497:60: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("local0"), Integer::New(LOG_LOCAL0));
^
../src/posix.cc:497:60: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:498:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("local1"), Integer::New(LOG_LOCAL1));
^
../src/posix.cc:498:60: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("local1"), Integer::New(LOG_LOCAL1));
^
../src/posix.cc:498:60: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:499:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("local2"), Integer::New(LOG_LOCAL2));
^
../src/posix.cc:499:60: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("local2"), Integer::New(LOG_LOCAL2));
^
../src/posix.cc:499:60: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:500:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("local3"), Integer::New(LOG_LOCAL3));
^
../src/posix.cc:500:60: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("local3"), Integer::New(LOG_LOCAL3));
^
../src/posix.cc:500:60: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:501:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("local4"), Integer::New(LOG_LOCAL4));
^
../src/posix.cc:501:60: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("local4"), Integer::New(LOG_LOCAL4));
^
../src/posix.cc:501:60: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:502:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("local5"), Integer::New(LOG_LOCAL5));
^
../src/posix.cc:502:60: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("local5"), Integer::New(LOG_LOCAL5));
^
../src/posix.cc:502:60: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:503:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("local6"), Integer::New(LOG_LOCAL6));
^
../src/posix.cc:503:60: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("local6"), Integer::New(LOG_LOCAL6));
^
../src/posix.cc:503:60: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:504:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("local7"), Integer::New(LOG_LOCAL7));
^
../src/posix.cc:504:60: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("local7"), Integer::New(LOG_LOCAL7));
^
../src/posix.cc:504:60: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:507:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("pid"), Integer::New(LOG_PID));
^
../src/posix.cc:507:54: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("pid"), Integer::New(LOG_PID));
^
../src/posix.cc:507:54: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:508:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("cons"), Integer::New(LOG_CONS));
^
../src/posix.cc:508:56: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("cons"), Integer::New(LOG_CONS));
^
../src/posix.cc:508:56: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:509:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("ndelay"), Integer::New(LOG_NDELAY));
^
../src/posix.cc:509:60: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("ndelay"), Integer::New(LOG_NDELAY));
^
../src/posix.cc:509:60: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:510:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("odelay"), Integer::New(LOG_ODELAY));
^
../src/posix.cc:510:60: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("odelay"), Integer::New(LOG_ODELAY));
^
../src/posix.cc:510:60: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:511:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(String::New("nowait"), Integer::New(LOG_NOWAIT));
^
../src/posix.cc:511:60: error: no matching function for call to ‘v8::Integer::New(int)’
obj->Set(String::New("nowait"), Integer::New(LOG_NOWAIT));
^
../src/posix.cc:511:60: note: candidate is:
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/root/.node-gyp/5.5.0/include/node/v8.h:2496:25: note: candidate expects 2 arguments, 1 provided
../src/posix.cc:513:22: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’
return Undefined();
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:315:27: note: declared here
friend Local<Primitive> Undefined(Isolate* isolate);
^
../src/posix.cc: At global scope:
../src/posix.cc:516:45: error: ‘Arguments’ does not name a type
static Handle<Value> node_gethostname(const Arguments& args) {
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h: In function ‘v8::Handle<v8::Value> node_gethostname(const int&)’:
/root/.node-gyp/5.5.0/include/node/v8.h:889:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/posix.cc:517:17: error: within this context
HandleScope scope;
^
../src/posix.cc:519:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
if(args.Length() != 0) {
^
../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
#define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
^
../src/posix.cc:520:16: note: in expansion of macro ‘EXCEPTION’
return EXCEPTION("gethostname: takes no arguments");
^
../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
#define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
^
../src/posix.cc:520:16: note: in expansion of macro ‘EXCEPTION’
return EXCEPTION("gethostname: takes no arguments");
^
../src/posix.cc:530:66: warning: ‘v8::Local<v8::Value> node::ErrnoException(int, const char*, const char*, const char*)’ is deprecated (declared at /root/.node-gyp/5.5.0/include/node/node.h:99): Use ErrnoException(isolate, ...) [-Wdeprecated-declarations]
return ThrowException(ErrnoException(errno, "gethostname"));
^
../src/posix.cc:530:67: error: ‘ThrowException’ was not declared in this scope
return ThrowException(ErrnoException(errno, "gethostname"));
^
../src/posix.cc:533:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(String::New(hostname));
^
../src/posix.cc:533:24: error: ‘New’ is not a member of ‘v8::String’
return scope.Close(String::New(hostname));
^
../src/posix.cc: At global scope:
../src/posix.cc:536:45: error: ‘Arguments’ does not name a type
static Handle<Value> node_sethostname(const Arguments& args) {
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h: In function ‘v8::Handle<v8::Value> node_sethostname(const int&)’:
/root/.node-gyp/5.5.0/include/node/v8.h:889:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/posix.cc:537:17: error: within this context
HandleScope scope;
^
../src/posix.cc:539:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
if (args.Length() != 1) {
^
../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
#define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
^
../src/posix.cc:540:16: note: in expansion of macro ‘EXCEPTION’
return EXCEPTION("sethostname: takes exactly 1 argument");
^
../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
#define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
^
../src/posix.cc:540:16: note: in expansion of macro ‘EXCEPTION’
return EXCEPTION("sethostname: takes exactly 1 argument");
^
../src/posix.cc:543:16: error: invalid types ‘const int[int]’ for array subscript
if (!args[0]->IsString()) {
^
../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
#define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
^
../src/posix.cc:544:16: note: in expansion of macro ‘EXCEPTION’
return EXCEPTION("sethostname: first argument must be a string");
^
../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
#define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
^
../src/posix.cc:544:16: note: in expansion of macro ‘EXCEPTION’
return EXCEPTION("sethostname: first argument must be a string");
^
../src/posix.cc:547:33: error: invalid types ‘const int[int]’ for array subscript
String::Utf8Value str(args[0]);
^
../src/posix.cc:551:66: warning: ‘v8::Local<v8::Value> node::ErrnoException(int, const char*, const char*, const char*)’ is deprecated (declared at /root/.node-gyp/5.5.0/include/node/node.h:99): Use ErrnoException(isolate, ...) [-Wdeprecated-declarations]
return ThrowException(ErrnoException(errno, "sethostname"));
^
../src/posix.cc:551:67: error: ‘ThrowException’ was not declared in this scope
return ThrowException(ErrnoException(errno, "sethostname"));
^
../src/posix.cc:554:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(Undefined());
^
../src/posix.cc:554:34: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’
return scope.Close(Undefined());
^
In file included from /root/.node-gyp/5.5.0/include/node/node.h:42:0,
from ../src/posix.cc:1:
/root/.node-gyp/5.5.0/include/node/v8.h:315:27: note: declared here
friend Local<Primitive> Undefined(Isolate* isolate);
^
/root/.node-gyp/5.5.0/include/node/v8.h: In function ‘void init(v8::Handle<v8::Object>)’:
/root/.node-gyp/5.5.0/include/node/v8.h:889:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/posix.cc:559:17: error: within this context
HandleScope scope;
^
../src/posix.cc:560:50: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [7], v8::Handle<v8::Value> (&)(const int&))’
NODE_SET_METHOD(target, "chroot", node_chroot);
^
../src/posix.cc:560:50: note: candidate is:
In file included from ../src/posix.cc:1:0:
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(const TypeName& recv,
^
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template argument deduction/substitution failed:
../src/posix.cc:560:50: note: cannot convert ‘node_chroot’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
NODE_SET_METHOD(target, "chroot", node_chroot);
^
../src/posix.cc:561:54: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [9], v8::Handle<v8::Value> (&)(const int&))’
NODE_SET_METHOD(target, "closelog", node_closelog);
^
../src/posix.cc:561:54: note: candidate is:
In file included from ../src/posix.cc:1:0:
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(const TypeName& recv,
^
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template argument deduction/substitution failed:
../src/posix.cc:561:54: note: cannot convert ‘node_closelog’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
NODE_SET_METHOD(target, "closelog", node_closelog);
^
../src/posix.cc:562:52: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [8], v8::Handle<v8::Value> (&)(const int&))’
NODE_SET_METHOD(target, "getegid", node_getegid);
^
../src/posix.cc:562:52: note: candidate is:
In file included from ../src/posix.cc:1:0:
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(const TypeName& recv,
^
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template argument deduction/substitution failed:
../src/posix.cc:562:52: note: cannot convert ‘node_getegid’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
NODE_SET_METHOD(target, "getegid", node_getegid);
^
../src/posix.cc:563:52: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [8], v8::Handle<v8::Value> (&)(const int&))’
NODE_SET_METHOD(target, "geteuid", node_geteuid);
^
../src/posix.cc:563:52: note: candidate is:
In file included from ../src/posix.cc:1:0:
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(const TypeName& recv,
^
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template argument deduction/substitution failed:
../src/posix.cc:563:52: note: cannot convert ‘node_geteuid’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
NODE_SET_METHOD(target, "geteuid", node_geteuid);
^
../src/posix.cc:564:52: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [8], v8::Handle<v8::Value> (&)(const int&))’
NODE_SET_METHOD(target, "getpgid", node_getpgid);
^
../src/posix.cc:564:52: note: candidate is:
In file included from ../src/posix.cc:1:0:
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(const TypeName& recv,
^
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template argument deduction/substitution failed:
../src/posix.cc:564:52: note: cannot convert ‘node_getpgid’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
NODE_SET_METHOD(target, "getpgid", node_getpgid);
^
../src/posix.cc:565:52: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [8], v8::Handle<v8::Value> (&)(const int&))’
NODE_SET_METHOD(target, "getppid", node_getppid);
^
../src/posix.cc:565:52: note: candidate is:
In file included from ../src/posix.cc:1:0:
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(const TypeName& recv,
^
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template argument deduction/substitution failed:
../src/posix.cc:565:52: note: cannot convert ‘node_getppid’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
NODE_SET_METHOD(target, "getppid", node_getppid);
^
../src/posix.cc:566:54: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [9], v8::Handle<v8::Value> (&)(const int&))’
NODE_SET_METHOD(target, "getpwnam", node_getpwnam);
^
../src/posix.cc:566:54: note: candidate is:
In file included from ../src/posix.cc:1:0:
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(const TypeName& recv,
^
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template argument deduction/substitution failed:
../src/posix.cc:566:54: note: cannot convert ‘node_getpwnam’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
NODE_SET_METHOD(target, "getpwnam", node_getpwnam);
^
../src/posix.cc:567:54: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [9], v8::Handle<v8::Value> (&)(const int&))’
NODE_SET_METHOD(target, "getgrnam", node_getgrnam);
^
../src/posix.cc:567:54: note: candidate is:
In file included from ../src/posix.cc:1:0:
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(const TypeName& recv,
^
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template argument deduction/substitution failed:
../src/posix.cc:567:54: note: cannot convert ‘node_getgrnam’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
NODE_SET_METHOD(target, "getgrnam", node_getgrnam);
^
../src/posix.cc:568:56: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [10], v8::Handle<v8::Value> (&)(const int&))’
NODE_SET_METHOD(target, "getrlimit", node_getrlimit);
^
../src/posix.cc:568:56: note: candidate is:
In file included from ../src/posix.cc:1:0:
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(const TypeName& recv,
^
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template argument deduction/substitution failed:
../src/posix.cc:568:56: note: cannot convert ‘node_getrlimit’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
NODE_SET_METHOD(target, "getrlimit", node_getrlimit);
^
../src/posix.cc:569:58: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [11], v8::Handle<v8::Value> (&)(const int&))’
NODE_SET_METHOD(target, "initgroups", node_initgroups);
^
../src/posix.cc:569:58: note: candidate is:
In file included from ../src/posix.cc:1:0:
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(const TypeName& recv,
^
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template argument deduction/substitution failed:
../src/posix.cc:569:58: note: cannot convert ‘node_initgroups’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
NODE_SET_METHOD(target, "initgroups", node_initgroups);
^
../src/posix.cc:570:52: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [8], v8::Handle<v8::Value> (&)(const int&))’
NODE_SET_METHOD(target, "openlog", node_openlog);
^
../src/posix.cc:570:52: note: candidate is:
In file included from ../src/posix.cc:1:0:
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(const TypeName& recv,
^
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template argument deduction/substitution failed:
../src/posix.cc:570:52: note: cannot convert ‘node_openlog’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
NODE_SET_METHOD(target, "openlog", node_openlog);
^
../src/posix.cc:571:52: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [8], v8::Handle<v8::Value> (&)(const int&))’
NODE_SET_METHOD(target, "setegid", node_setegid);
^
../src/posix.cc:571:52: note: candidate is:
In file included from ../src/posix.cc:1:0:
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(const TypeName& recv,
^
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template argument deduction/substitution failed:
../src/posix.cc:571:52: note: cannot convert ‘node_setegid’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
NODE_SET_METHOD(target, "setegid", node_setegid);
^
../src/posix.cc:572:52: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [8], v8::Handle<v8::Value> (&)(const int&))’
NODE_SET_METHOD(target, "seteuid", node_seteuid);
^
../src/posix.cc:572:52: note: candidate is:
In file included from ../src/posix.cc:1:0:
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(const TypeName& recv,
^
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template argument deduction/substitution failed:
../src/posix.cc:572:52: note: cannot convert ‘node_seteuid’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
NODE_SET_METHOD(target, "seteuid", node_seteuid);
^
../src/posix.cc:573:58: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [11], v8::Handle<v8::Value> (&)(const int&))’
NODE_SET_METHOD(target, "setlogmask", node_setlogmask);
^
../src/posix.cc:573:58: note: candidate is:
In file included from ../src/posix.cc:1:0:
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(const TypeName& recv,
^
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template argument deduction/substitution failed:
../src/posix.cc:573:58: note: cannot convert ‘node_setlogmask’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
NODE_SET_METHOD(target, "setlogmask", node_setlogmask);
^
../src/posix.cc:574:54: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [9], v8::Handle<v8::Value> (&)(const int&))’
NODE_SET_METHOD(target, "setregid", node_setregid);
^
../src/posix.cc:574:54: note: candidate is:
In file included from ../src/posix.cc:1:0:
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(const TypeName& recv,
^
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template argument deduction/substitution failed:
../src/posix.cc:574:54: note: cannot convert ‘node_setregid’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
NODE_SET_METHOD(target, "setregid", node_setregid);
^
../src/posix.cc:575:54: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [9], v8::Handle<v8::Value> (&)(const int&))’
NODE_SET_METHOD(target, "setreuid", node_setreuid);
^
../src/posix.cc:575:54: note: candidate is:
In file included from ../src/posix.cc:1:0:
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(const TypeName& recv,
^
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template argument deduction/substitution failed:
../src/posix.cc:575:54: note: cannot convert ‘node_setreuid’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
NODE_SET_METHOD(target, "setreuid", node_setreuid);
^
../src/posix.cc:576:56: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [10], v8::Handle<v8::Value> (&)(const int&))’
NODE_SET_METHOD(target, "setrlimit", node_setrlimit);
^
../src/posix.cc:576:56: note: candidate is:
In file included from ../src/posix.cc:1:0:
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(const TypeName& recv,
^
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template argument deduction/substitution failed:
../src/posix.cc:576:56: note: cannot convert ‘node_setrlimit’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
NODE_SET_METHOD(target, "setrlimit", node_setrlimit);
^
../src/posix.cc:577:50: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [7], v8::Handle<v8::Value> (&)(const int&))’
NODE_SET_METHOD(target, "setsid", node_setsid);
^
../src/posix.cc:577:50: note: candidate is:
In file included from ../src/posix.cc:1:0:
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(const TypeName& recv,
^
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template argument deduction/substitution failed:
../src/posix.cc:577:50: note: cannot convert ‘node_setsid’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
NODE_SET_METHOD(target, "setsid", node_setsid);
^
../src/posix.cc:578:50: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [7], v8::Handle<v8::Value> (&)(const int&))’
NODE_SET_METHOD(target, "syslog", node_syslog);
^
../src/posix.cc:578:50: note: candidate is:
In file included from ../src/posix.cc:1:0:
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(const TypeName& recv,
^
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template argument deduction/substitution failed:
../src/posix.cc:578:50: note: cannot convert ‘node_syslog’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
NODE_SET_METHOD(target, "syslog", node_syslog);
^
../src/posix.cc:580:49: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [24], v8::Handle<v8::Value> (&)(const int&))’
node_update_syslog_constants);
^
../src/posix.cc:580:49: note: candidate is:
In file included from ../src/posix.cc:1:0:
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(const TypeName& recv,
^
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template argument deduction/substitution failed:
../src/posix.cc:580:49: note: cannot convert ‘node_update_syslog_constants’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
node_update_syslog_constants);
^
../src/posix.cc:581:60: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [12], v8::Handle<v8::Value> (&)(const int&))’
NODE_SET_METHOD(target, "gethostname", node_gethostname);
^
../src/posix.cc:581:60: note: candidate is:
In file included from ../src/posix.cc:1:0:
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(const TypeName& recv,
^
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template argument deduction/substitution failed:
../src/posix.cc:581:60: note: cannot convert ‘node_gethostname’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
NODE_SET_METHOD(target, "gethostname", node_gethostname);
^
../src/posix.cc:582:60: error: no matching function for call to ‘NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [12], v8::Handle<v8::Value> (&)(const int&))’
NODE_SET_METHOD(target, "sethostname", node_sethostname);
^
../src/posix.cc:582:60: note: candidate is:
In file included from ../src/posix.cc:1:0:
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(const TypeName& recv,
^
/root/.node-gyp/5.5.0/include/node/node.h:236:13: note: template argument deduction/substitution failed:
../src/posix.cc:582:60: note: cannot convert ‘node_sethostname’ (type ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
NODE_SET_METHOD(target, "sethostname", node_sethostname);
^
posix.target.mk:88: recipe for target 'Release/obj.target/posix/src/posix.o' failed
make: *** [Release/obj.target/posix/src/posix.o] Error 1
make: Leaving directory '/var/www/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/posix/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:276:23)
gyp ERR! stack at emitTwo (events.js:100:13)
gyp ERR! stack at ChildProcess.emit (events.js:185:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 3.16.0-4-amd64
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/posix
gyp ERR! node -v v5.5.0
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
npm WARN be.bastelstu.wcf.nodePush@1.0.0 No repository field.
npm WARN be.bastelstu.wcf.nodePush@1.0.0 No license field.
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v5.5.0
npm ERR! npm v3.6.0
npm ERR! code ELIFECYCLE
npm ERR! posix@1.0.4 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the posix@1.0.4 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 posix 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 posix
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls posix
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /var/www/wcf/acp/be.bastelstu.wcf.nodePush/npm-debug.log
Display More