Advertisement
Guest User

Untitled

a guest
Jun 6th, 2015
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 147.33 KB | None | 0 0
  1. [root@localhost bedrock]# npm install
  2. npm WARN package.json bedrock@1.0.2-dev No license field.
  3.  
  4. > posix@1.0.4 install /root/bedrock/node_modules/posix
  5. > node-gyp rebuild
  6.  
  7. make: Entering directory `/root/bedrock/node_modules/posix/build'
  8. CXX(target) Release/obj.target/posix/src/posix.o
  9. ../src/posix.cc:16:41: error: ‘Arguments’ does not name a type
  10. static Handle<Value> node_getppid(const Arguments& args) {
  11. ^
  12. ../src/posix.cc:16:52: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
  13. static Handle<Value> node_getppid(const Arguments& args) {
  14. ^
  15. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  16. from ../src/posix.cc:1:
  17. /root/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> node_getppid(const int&)’:
  18. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  19. V8_INLINE HandleScope() {}
  20. ^
  21. ../src/posix.cc:17:17: error: within this context
  22. HandleScope scope;
  23. ^
  24. ../src/posix.cc:19:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  25. if(args.Length() != 0) {
  26. ^
  27. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  28. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  29. ^
  30. ../src/posix.cc:20:16: note: in expansion of macro ‘EXCEPTION’
  31. return EXCEPTION("getppid: takes no arguments");
  32. ^
  33. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  34. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  35. ^
  36. ../src/posix.cc:20:16: note: in expansion of macro ‘EXCEPTION’
  37. return EXCEPTION("getppid: takes no arguments");
  38. ^
  39. ../src/posix.cc:23:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
  40. return scope.Close(Integer::New(getppid()));
  41. ^
  42. ../src/posix.cc:23:46: error: no matching function for call to ‘v8::Integer::New(__pid_t)’
  43. return scope.Close(Integer::New(getppid()));
  44. ^
  45. ../src/posix.cc:23:46: note: candidate is:
  46. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  47. from ../src/posix.cc:1:
  48. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  49. static Local<Integer> New(Isolate* isolate, int32_t value);
  50. ^
  51. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  52. ../src/posix.cc: At global scope:
  53. ../src/posix.cc:26:41: error: ‘Arguments’ does not name a type
  54. static Handle<Value> node_getpgid(const Arguments& args) {
  55. ^
  56. ../src/posix.cc:26:52: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
  57. static Handle<Value> node_getpgid(const Arguments& args) {
  58. ^
  59. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  60. from ../src/posix.cc:1:
  61. /root/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> node_getpgid(const int&)’:
  62. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  63. V8_INLINE HandleScope() {}
  64. ^
  65. ../src/posix.cc:27:17: error: within this context
  66. HandleScope scope;
  67. ^
  68. ../src/posix.cc:29:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  69. if(args.Length() != 1) {
  70. ^
  71. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  72. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  73. ^
  74. ../src/posix.cc:30:16: note: in expansion of macro ‘EXCEPTION’
  75. return EXCEPTION("getpgid: takes exactly one argument");
  76. ^
  77. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  78. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  79. ^
  80. ../src/posix.cc:30:16: note: in expansion of macro ‘EXCEPTION’
  81. return EXCEPTION("getpgid: takes exactly one argument");
  82. ^
  83. ../src/posix.cc:33:16: error: invalid types ‘const int[int]’ for array subscript
  84. if (!args[0]->IsNumber()) {
  85. ^
  86. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  87. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  88. ^
  89. ../src/posix.cc:34:16: note: in expansion of macro ‘EXCEPTION’
  90. return EXCEPTION("getpgid: first argument must be a integer");
  91. ^
  92. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  93. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  94. ^
  95. ../src/posix.cc:34:16: note: in expansion of macro ‘EXCEPTION’
  96. return EXCEPTION("getpgid: first argument must be a integer");
  97. ^
  98. ../src/posix.cc:37:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
  99. return scope.Close(Integer::New(getpgid(args[0]->IntegerValue())));
  100. ^
  101. ../src/posix.cc:37:51: error: invalid types ‘const int[int]’ for array subscript
  102. return scope.Close(Integer::New(getpgid(args[0]->IntegerValue())));
  103. ^
  104. ../src/posix.cc: At global scope:
  105. ../src/posix.cc:40:41: error: ‘Arguments’ does not name a type
  106. static Handle<Value> node_geteuid(const Arguments& args) {
  107. ^
  108. ../src/posix.cc:40:52: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
  109. static Handle<Value> node_geteuid(const Arguments& args) {
  110. ^
  111. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  112. from ../src/posix.cc:1:
  113. /root/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> node_geteuid(const int&)’:
  114. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  115. V8_INLINE HandleScope() {}
  116. ^
  117. ../src/posix.cc:41:17: error: within this context
  118. HandleScope scope;
  119. ^
  120. ../src/posix.cc:43:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  121. if(args.Length() != 0) {
  122. ^
  123. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  124. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  125. ^
  126. ../src/posix.cc:44:16: note: in expansion of macro ‘EXCEPTION’
  127. return EXCEPTION("geteuid: takes no arguments");
  128. ^
  129. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  130. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  131. ^
  132. ../src/posix.cc:44:16: note: in expansion of macro ‘EXCEPTION’
  133. return EXCEPTION("geteuid: takes no arguments");
  134. ^
  135. ../src/posix.cc:47:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
  136. return scope.Close(Integer::New(geteuid()));
  137. ^
  138. ../src/posix.cc:47:46: error: no matching function for call to ‘v8::Integer::New(__uid_t)’
  139. return scope.Close(Integer::New(geteuid()));
  140. ^
  141. ../src/posix.cc:47:46: note: candidate is:
  142. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  143. from ../src/posix.cc:1:
  144. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  145. static Local<Integer> New(Isolate* isolate, int32_t value);
  146. ^
  147. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  148. ../src/posix.cc: At global scope:
  149. ../src/posix.cc:50:41: error: ‘Arguments’ does not name a type
  150. static Handle<Value> node_getegid(const Arguments& args) {
  151. ^
  152. ../src/posix.cc:50:52: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
  153. static Handle<Value> node_getegid(const Arguments& args) {
  154. ^
  155. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  156. from ../src/posix.cc:1:
  157. /root/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> node_getegid(const int&)’:
  158. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  159. V8_INLINE HandleScope() {}
  160. ^
  161. ../src/posix.cc:51:17: error: within this context
  162. HandleScope scope;
  163. ^
  164. ../src/posix.cc:53:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  165. if(args.Length() != 0) {
  166. ^
  167. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  168. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  169. ^
  170. ../src/posix.cc:54:16: note: in expansion of macro ‘EXCEPTION’
  171. return EXCEPTION("getegid: takes no arguments");
  172. ^
  173. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  174. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  175. ^
  176. ../src/posix.cc:54:16: note: in expansion of macro ‘EXCEPTION’
  177. return EXCEPTION("getegid: takes no arguments");
  178. ^
  179. ../src/posix.cc:57:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
  180. return scope.Close(Integer::New(getegid()));
  181. ^
  182. ../src/posix.cc:57:46: error: no matching function for call to ‘v8::Integer::New(__gid_t)’
  183. return scope.Close(Integer::New(getegid()));
  184. ^
  185. ../src/posix.cc:57:46: note: candidate is:
  186. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  187. from ../src/posix.cc:1:
  188. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  189. static Local<Integer> New(Isolate* isolate, int32_t value);
  190. ^
  191. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  192. ../src/posix.cc: At global scope:
  193. ../src/posix.cc:60:40: error: ‘Arguments’ does not name a type
  194. static Handle<Value> node_setsid(const Arguments& args) {
  195. ^
  196. ../src/posix.cc:60:51: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
  197. static Handle<Value> node_setsid(const Arguments& args) {
  198. ^
  199. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  200. from ../src/posix.cc:1:
  201. /root/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> node_setsid(const int&)’:
  202. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  203. V8_INLINE HandleScope() {}
  204. ^
  205. ../src/posix.cc:61:17: error: within this context
  206. HandleScope scope;
  207. ^
  208. ../src/posix.cc:63:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  209. if(args.Length() != 0) {
  210. ^
  211. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  212. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  213. ^
  214. ../src/posix.cc:64:16: note: in expansion of macro ‘EXCEPTION’
  215. return EXCEPTION("setsid: takes no arguments");
  216. ^
  217. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  218. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  219. ^
  220. ../src/posix.cc:64:16: note: in expansion of macro ‘EXCEPTION’
  221. return EXCEPTION("setsid: takes no arguments");
  222. ^
  223. ../src/posix.cc:69:62: error: ‘ThrowException’ was not declared in this scope
  224. return ThrowException(ErrnoException(errno, "setsid"));
  225. ^
  226. ../src/posix.cc:72:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
  227. return scope.Close(Integer::New(sid));
  228. ^
  229. ../src/posix.cc:72:40: error: no matching function for call to ‘v8::Integer::New(pid_t&)’
  230. return scope.Close(Integer::New(sid));
  231. ^
  232. ../src/posix.cc:72:40: note: candidate is:
  233. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  234. from ../src/posix.cc:1:
  235. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  236. static Local<Integer> New(Isolate* isolate, int32_t value);
  237. ^
  238. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  239. ../src/posix.cc: At global scope:
  240. ../src/posix.cc:75:40: error: ‘Arguments’ does not name a type
  241. static Handle<Value> node_chroot(const Arguments& args) {
  242. ^
  243. ../src/posix.cc:75:51: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
  244. static Handle<Value> node_chroot(const Arguments& args) {
  245. ^
  246. ../src/posix.cc: In function ‘v8::Handle<v8::Value> node_chroot(const int&)’:
  247. ../src/posix.cc:76:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  248. if(args.Length() != 1) {
  249. ^
  250. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  251. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  252. ^
  253. ../src/posix.cc:77:16: note: in expansion of macro ‘EXCEPTION’
  254. return EXCEPTION("chroot: takes exactly one argument");
  255. ^
  256. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  257. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  258. ^
  259. ../src/posix.cc:77:16: note: in expansion of macro ‘EXCEPTION’
  260. return EXCEPTION("chroot: takes exactly one argument");
  261. ^
  262. ../src/posix.cc:80:16: error: invalid types ‘const int[int]’ for array subscript
  263. if (!args[0]->IsString()) {
  264. ^
  265. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  266. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  267. ^
  268. ../src/posix.cc:81:16: note: in expansion of macro ‘EXCEPTION’
  269. return EXCEPTION("chroot: first argument must be a string");
  270. ^
  271. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  272. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  273. ^
  274. ../src/posix.cc:81:16: note: in expansion of macro ‘EXCEPTION’
  275. return EXCEPTION("chroot: first argument must be a string");
  276. ^
  277. ../src/posix.cc:84:38: error: invalid types ‘const int[int]’ for array subscript
  278. String::Utf8Value dir_path(args[0]->ToString());
  279. ^
  280. ../src/posix.cc:88:71: error: ‘ThrowException’ was not declared in this scope
  281. return ThrowException(ErrnoException(errno, "chroot: chdir: "));
  282. ^
  283. ../src/posix.cc:92:62: error: ‘ThrowException’ was not declared in this scope
  284. return ThrowException(ErrnoException(errno, "chroot"));
  285. ^
  286. ../src/posix.cc:95:22: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
  287. return Undefined();
  288. ^
  289. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  290. from ../src/posix.cc:1:
  291. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:305:28: note: declared here
  292. friend Handle<Primitive> Undefined(Isolate* isolate);
  293. ^
  294. ../src/posix.cc: In function ‘v8::Handle<v8::Value> rlimit_value(rlim_t)’:
  295. ../src/posix.cc:120:21: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’
  296. return Null();
  297. ^
  298. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  299. from ../src/posix.cc:1:
  300. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:306:28: note: declared here
  301. friend Handle<Primitive> Null(Isolate* isolate);
  302. ^
  303. ../src/posix.cc:122:41: error: no matching function for call to ‘v8::Number::New(double)’
  304. return Number::New((double)limit);
  305. ^
  306. ../src/posix.cc:122:41: note: candidate is:
  307. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  308. from ../src/posix.cc:1:
  309. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
  310. static Local<Number> New(Isolate* isolate, double value);
  311. ^
  312. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:1999:24: note: candidate expects 2 arguments, 1 provided
  313. ../src/posix.cc: At global scope:
  314. ../src/posix.cc:126:43: error: ‘Arguments’ does not name a type
  315. static Handle<Value> node_getrlimit(const Arguments& args) {
  316. ^
  317. ../src/posix.cc:126:54: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
  318. static Handle<Value> node_getrlimit(const Arguments& args) {
  319. ^
  320. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  321. from ../src/posix.cc:1:
  322. /root/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> node_getrlimit(const int&)’:
  323. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  324. V8_INLINE HandleScope() {}
  325. ^
  326. ../src/posix.cc:127:17: error: within this context
  327. HandleScope scope;
  328. ^
  329. ../src/posix.cc:129:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  330. if(args.Length() != 1) {
  331. ^
  332. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  333. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  334. ^
  335. ../src/posix.cc:130:16: note: in expansion of macro ‘EXCEPTION’
  336. return EXCEPTION("getrlimit: requires exactly 1 argument");
  337. ^
  338. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  339. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  340. ^
  341. ../src/posix.cc:130:16: note: in expansion of macro ‘EXCEPTION’
  342. return EXCEPTION("getrlimit: requires exactly 1 argument");
  343. ^
  344. ../src/posix.cc:134:16: error: invalid types ‘const int[int]’ for array subscript
  345. if (!args[0]->IsString()) {
  346. ^
  347. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  348. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  349. ^
  350. ../src/posix.cc:135:16: note: in expansion of macro ‘EXCEPTION’
  351. return EXCEPTION("getrlimit: argument must be a string");
  352. ^
  353. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  354. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  355. ^
  356. ../src/posix.cc:135:16: note: in expansion of macro ‘EXCEPTION’
  357. return EXCEPTION("getrlimit: argument must be a string");
  358. ^
  359. ../src/posix.cc:138:41: error: invalid types ‘const int[int]’ for array subscript
  360. String::Utf8Value rlimit_name(args[0]->ToString());
  361. ^
  362. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  363. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  364. ^
  365. ../src/posix.cc:149:16: note: in expansion of macro ‘EXCEPTION’
  366. return EXCEPTION("getrlimit: unknown resource name");
  367. ^
  368. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  369. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  370. ^
  371. ../src/posix.cc:149:16: note: in expansion of macro ‘EXCEPTION’
  372. return EXCEPTION("getrlimit: unknown resource name");
  373. ^
  374. ../src/posix.cc:153:65: error: ‘ThrowException’ was not declared in this scope
  375. return ThrowException(ErrnoException(errno, "getrlimit"));
  376. ^
  377. ../src/posix.cc:156:38: error: no matching function for call to ‘v8::Object::New()’
  378. Local<Object> info = Object::New();
  379. ^
  380. ../src/posix.cc:156:38: note: candidate is:
  381. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  382. from ../src/posix.cc:1:
  383. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
  384. static Local<Object> New(Isolate* isolate);
  385. ^
  386. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2388:24: note: candidate expects 1 argument, 0 provided
  387. ../src/posix.cc:157:15: error: ‘New’ is not a member of ‘v8::String’
  388. info->Set(String::New("soft"), rlimit_value(limit.rlim_cur));
  389. ^
  390. ../src/posix.cc:158:15: error: ‘New’ is not a member of ‘v8::String’
  391. info->Set(String::New("hard"), rlimit_value(limit.rlim_max));
  392. ^
  393. ../src/posix.cc:160:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
  394. return scope.Close(info);
  395. ^
  396. ../src/posix.cc: At global scope:
  397. ../src/posix.cc:163:43: error: ‘Arguments’ does not name a type
  398. static Handle<Value> node_setrlimit(const Arguments& args) {
  399. ^
  400. ../src/posix.cc:163:54: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
  401. static Handle<Value> node_setrlimit(const Arguments& args) {
  402. ^
  403. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  404. from ../src/posix.cc:1:
  405. /root/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> node_setrlimit(const int&)’:
  406. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  407. V8_INLINE HandleScope() {}
  408. ^
  409. ../src/posix.cc:164:17: error: within this context
  410. HandleScope scope;
  411. ^
  412. ../src/posix.cc:166:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  413. if(args.Length() != 2) {
  414. ^
  415. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  416. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  417. ^
  418. ../src/posix.cc:167:16: note: in expansion of macro ‘EXCEPTION’
  419. return EXCEPTION("setrlimit: requires exactly 2 arguments");
  420. ^
  421. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  422. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  423. ^
  424. ../src/posix.cc:167:16: note: in expansion of macro ‘EXCEPTION’
  425. return EXCEPTION("setrlimit: requires exactly 2 arguments");
  426. ^
  427. ../src/posix.cc:170:41: error: invalid types ‘const int[int]’ for array subscript
  428. String::Utf8Value rlimit_name(args[0]->ToString());
  429. ^
  430. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  431. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  432. ^
  433. ../src/posix.cc:182:16: note: in expansion of macro ‘EXCEPTION’
  434. return EXCEPTION("setrlimit: unknown resource name");
  435. ^
  436. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  437. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  438. ^
  439. ../src/posix.cc:182:16: note: in expansion of macro ‘EXCEPTION’
  440. return EXCEPTION("setrlimit: unknown resource name");
  441. ^
  442. ../src/posix.cc:185:16: error: invalid types ‘const int[int]’ for array subscript
  443. if (!args[1]->IsObject()) {
  444. ^
  445. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  446. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  447. ^
  448. ../src/posix.cc:186:16: note: in expansion of macro ‘EXCEPTION’
  449. return EXCEPTION("getrlimit: second argument must be an object");
  450. ^
  451. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  452. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  453. ^
  454. ../src/posix.cc:186:16: note: in expansion of macro ‘EXCEPTION’
  455. return EXCEPTION("getrlimit: second argument must be an object");
  456. ^
  457. ../src/posix.cc:189:36: error: invalid types ‘const int[int]’ for array subscript
  458. Local<Object> limit_in = args[1]->ToObject(); // Cast
  459. ^
  460. ../src/posix.cc:190:30: error: ‘New’ is not a member of ‘v8::String’
  461. Local<String> soft_key = String::New("soft");
  462. ^
  463. ../src/posix.cc:191:30: error: ‘New’ is not a member of ‘v8::String’
  464. Local<String> hard_key = String::New("hard");
  465. ^
  466. ../src/posix.cc:222:69: error: ‘ThrowException’ was not declared in this scope
  467. return ThrowException(ErrnoException(errno, "getrlimit"));
  468. ^
  469. ../src/posix.cc:229:65: error: ‘ThrowException’ was not declared in this scope
  470. return ThrowException(ErrnoException(errno, "setrlimit"));
  471. ^
  472. ../src/posix.cc:232:22: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
  473. return Undefined();
  474. ^
  475. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  476. from ../src/posix.cc:1:
  477. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:305:28: note: declared here
  478. friend Handle<Primitive> Undefined(Isolate* isolate);
  479. ^
  480. ../src/posix.cc: At global scope:
  481. ../src/posix.cc:235:42: error: ‘Arguments’ does not name a type
  482. static Handle<Value> node_getpwnam(const Arguments& args) {
  483. ^
  484. ../src/posix.cc:235:53: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
  485. static Handle<Value> node_getpwnam(const Arguments& args) {
  486. ^
  487. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  488. from ../src/posix.cc:1:
  489. /root/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> node_getpwnam(const int&)’:
  490. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  491. V8_INLINE HandleScope() {}
  492. ^
  493. ../src/posix.cc:236:17: error: within this context
  494. HandleScope scope;
  495. ^
  496. ../src/posix.cc:238:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  497. if(args.Length() != 1) {
  498. ^
  499. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  500. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  501. ^
  502. ../src/posix.cc:239:16: note: in expansion of macro ‘EXCEPTION’
  503. return EXCEPTION("getpwnam: requires exactly 1 argument");
  504. ^
  505. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  506. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  507. ^
  508. ../src/posix.cc:239:16: note: in expansion of macro ‘EXCEPTION’
  509. return EXCEPTION("getpwnam: requires exactly 1 argument");
  510. ^
  511. ../src/posix.cc:244:14: error: invalid types ‘const int[int]’ for array subscript
  512. if(args[0]->IsNumber()) {
  513. ^
  514. ../src/posix.cc:245:30: error: invalid types ‘const int[int]’ for array subscript
  515. pwd = getpwuid(args[0]->Int32Value());
  516. ^
  517. ../src/posix.cc:247:68: error: ‘ThrowException’ was not declared in this scope
  518. return ThrowException(ErrnoException(errno, "getpwuid"));
  519. ^
  520. ../src/posix.cc:250:20: error: invalid types ‘const int[int]’ for array subscript
  521. else if (args[0]->IsString()) {
  522. ^
  523. ../src/posix.cc:251:39: error: invalid types ‘const int[int]’ for array subscript
  524. String::Utf8Value pwnam(args[0]->ToString());
  525. ^
  526. ../src/posix.cc:254:68: error: ‘ThrowException’ was not declared in this scope
  527. return ThrowException(ErrnoException(errno, "getpwnam"));
  528. ^
  529. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  530. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  531. ^
  532. ../src/posix.cc:258:16: note: in expansion of macro ‘EXCEPTION’
  533. return EXCEPTION("argument must be a number or a string");
  534. ^
  535. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  536. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  537. ^
  538. ../src/posix.cc:258:16: note: in expansion of macro ‘EXCEPTION’
  539. return EXCEPTION("argument must be a number or a string");
  540. ^
  541. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  542. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  543. ^
  544. ../src/posix.cc:262:16: note: in expansion of macro ‘EXCEPTION’
  545. return EXCEPTION("user id does not exist");
  546. ^
  547. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  548. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  549. ^
  550. ../src/posix.cc:262:16: note: in expansion of macro ‘EXCEPTION’
  551. return EXCEPTION("user id does not exist");
  552. ^
  553. ../src/posix.cc:265:37: error: no matching function for call to ‘v8::Object::New()’
  554. Local<Object> obj = Object::New();
  555. ^
  556. ../src/posix.cc:265:37: note: candidate is:
  557. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  558. from ../src/posix.cc:1:
  559. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
  560. static Local<Object> New(Isolate* isolate);
  561. ^
  562. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2388:24: note: candidate expects 1 argument, 0 provided
  563. ../src/posix.cc:266:14: error: ‘New’ is not a member of ‘v8::String’
  564. obj->Set(String::New("name"), String::New(pwd->pw_name));
  565. ^
  566. ../src/posix.cc:266:35: error: ‘New’ is not a member of ‘v8::String’
  567. obj->Set(String::New("name"), String::New(pwd->pw_name));
  568. ^
  569. ../src/posix.cc:267:14: error: ‘New’ is not a member of ‘v8::String’
  570. obj->Set(String::New("passwd"), String::New(pwd->pw_passwd));
  571. ^
  572. ../src/posix.cc:267:37: error: ‘New’ is not a member of ‘v8::String’
  573. obj->Set(String::New("passwd"), String::New(pwd->pw_passwd));
  574. ^
  575. ../src/posix.cc:268:14: error: ‘New’ is not a member of ‘v8::String’
  576. obj->Set(String::New("uid"), Number::New(pwd->pw_uid));
  577. ^
  578. ../src/posix.cc:268:57: error: no matching function for call to ‘v8::Number::New(__uid_t&)’
  579. obj->Set(String::New("uid"), Number::New(pwd->pw_uid));
  580. ^
  581. ../src/posix.cc:268:57: note: candidate is:
  582. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  583. from ../src/posix.cc:1:
  584. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
  585. static Local<Number> New(Isolate* isolate, double value);
  586. ^
  587. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:1999:24: note: candidate expects 2 arguments, 1 provided
  588. ../src/posix.cc:269:14: error: ‘New’ is not a member of ‘v8::String’
  589. obj->Set(String::New("gid"), Number::New(pwd->pw_gid));
  590. ^
  591. ../src/posix.cc:269:57: error: no matching function for call to ‘v8::Number::New(__gid_t&)’
  592. obj->Set(String::New("gid"), Number::New(pwd->pw_gid));
  593. ^
  594. ../src/posix.cc:269:57: note: candidate is:
  595. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  596. from ../src/posix.cc:1:
  597. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
  598. static Local<Number> New(Isolate* isolate, double value);
  599. ^
  600. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:1999:24: note: candidate expects 2 arguments, 1 provided
  601. ../src/posix.cc:270:14: error: ‘New’ is not a member of ‘v8::String’
  602. obj->Set(String::New("gecos"), String::New(pwd->pw_gecos));
  603. ^
  604. ../src/posix.cc:270:36: error: ‘New’ is not a member of ‘v8::String’
  605. obj->Set(String::New("gecos"), String::New(pwd->pw_gecos));
  606. ^
  607. ../src/posix.cc:271:14: error: ‘New’ is not a member of ‘v8::String’
  608. obj->Set(String::New("shell"), String::New(pwd->pw_shell));
  609. ^
  610. ../src/posix.cc:271:36: error: ‘New’ is not a member of ‘v8::String’
  611. obj->Set(String::New("shell"), String::New(pwd->pw_shell));
  612. ^
  613. ../src/posix.cc:272:14: error: ‘New’ is not a member of ‘v8::String’
  614. obj->Set(String::New("dir"), String::New(pwd->pw_dir));
  615. ^
  616. ../src/posix.cc:272:34: error: ‘New’ is not a member of ‘v8::String’
  617. obj->Set(String::New("dir"), String::New(pwd->pw_dir));
  618. ^
  619. ../src/posix.cc:274:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
  620. return scope.Close(obj);
  621. ^
  622. ../src/posix.cc: At global scope:
  623. ../src/posix.cc:277:42: error: ‘Arguments’ does not name a type
  624. static Handle<Value> node_getgrnam(const Arguments& args) {
  625. ^
  626. ../src/posix.cc:277:53: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
  627. static Handle<Value> node_getgrnam(const Arguments& args) {
  628. ^
  629. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  630. from ../src/posix.cc:1:
  631. /root/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> node_getgrnam(const int&)’:
  632. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  633. V8_INLINE HandleScope() {}
  634. ^
  635. ../src/posix.cc:278:17: error: within this context
  636. HandleScope scope;
  637. ^
  638. ../src/posix.cc:280:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  639. if(args.Length() != 1) {
  640. ^
  641. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  642. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  643. ^
  644. ../src/posix.cc:281:16: note: in expansion of macro ‘EXCEPTION’
  645. return EXCEPTION("getgrnam: requires exactly 1 argument");
  646. ^
  647. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  648. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  649. ^
  650. ../src/posix.cc:281:16: note: in expansion of macro ‘EXCEPTION’
  651. return EXCEPTION("getgrnam: requires exactly 1 argument");
  652. ^
  653. ../src/posix.cc:286:14: error: invalid types ‘const int[int]’ for array subscript
  654. if(args[0]->IsNumber()) {
  655. ^
  656. ../src/posix.cc:287:30: error: invalid types ‘const int[int]’ for array subscript
  657. grp = getgrgid(args[0]->Int32Value());
  658. ^
  659. ../src/posix.cc:289:68: error: ‘ThrowException’ was not declared in this scope
  660. return ThrowException(ErrnoException(errno, "getgrgid"));
  661. ^
  662. ../src/posix.cc:292:20: error: invalid types ‘const int[int]’ for array subscript
  663. else if (args[0]->IsString()) {
  664. ^
  665. ../src/posix.cc:293:39: error: invalid types ‘const int[int]’ for array subscript
  666. String::Utf8Value pwnam(args[0]->ToString());
  667. ^
  668. ../src/posix.cc:296:68: error: ‘ThrowException’ was not declared in this scope
  669. return ThrowException(ErrnoException(errno, "getgrnam"));
  670. ^
  671. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  672. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  673. ^
  674. ../src/posix.cc:300:16: note: in expansion of macro ‘EXCEPTION’
  675. return EXCEPTION("argument must be a number or a string");
  676. ^
  677. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  678. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  679. ^
  680. ../src/posix.cc:300:16: note: in expansion of macro ‘EXCEPTION’
  681. return EXCEPTION("argument must be a number or a string");
  682. ^
  683. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  684. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  685. ^
  686. ../src/posix.cc:304:16: note: in expansion of macro ‘EXCEPTION’
  687. return EXCEPTION("group id does not exist");
  688. ^
  689. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  690. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  691. ^
  692. ../src/posix.cc:304:16: note: in expansion of macro ‘EXCEPTION’
  693. return EXCEPTION("group id does not exist");
  694. ^
  695. ../src/posix.cc:307:37: error: no matching function for call to ‘v8::Object::New()’
  696. Local<Object> obj = Object::New();
  697. ^
  698. ../src/posix.cc:307:37: note: candidate is:
  699. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  700. from ../src/posix.cc:1:
  701. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
  702. static Local<Object> New(Isolate* isolate);
  703. ^
  704. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2388:24: note: candidate expects 1 argument, 0 provided
  705. ../src/posix.cc:308:14: error: ‘New’ is not a member of ‘v8::String’
  706. obj->Set(String::New("name"), String::New(grp->gr_name));
  707. ^
  708. ../src/posix.cc:308:35: error: ‘New’ is not a member of ‘v8::String’
  709. obj->Set(String::New("name"), String::New(grp->gr_name));
  710. ^
  711. ../src/posix.cc:309:14: error: ‘New’ is not a member of ‘v8::String’
  712. obj->Set(String::New("passwd"), String::New(grp->gr_passwd));
  713. ^
  714. ../src/posix.cc:309:37: error: ‘New’ is not a member of ‘v8::String’
  715. obj->Set(String::New("passwd"), String::New(grp->gr_passwd));
  716. ^
  717. ../src/posix.cc:310:14: error: ‘New’ is not a member of ‘v8::String’
  718. obj->Set(String::New("gid"), Number::New(grp->gr_gid));
  719. ^
  720. ../src/posix.cc:310:57: error: no matching function for call to ‘v8::Number::New(__gid_t&)’
  721. obj->Set(String::New("gid"), Number::New(grp->gr_gid));
  722. ^
  723. ../src/posix.cc:310:57: note: candidate is:
  724. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  725. from ../src/posix.cc:1:
  726. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
  727. static Local<Number> New(Isolate* isolate, double value);
  728. ^
  729. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:1999:24: note: candidate expects 2 arguments, 1 provided
  730. ../src/posix.cc:312:39: error: no matching function for call to ‘v8::Array::New()’
  731. Local<Array> members = Array::New();
  732. ^
  733. ../src/posix.cc:312:39: note: candidate is:
  734. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  735. from ../src/posix.cc:1:
  736. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2417:23: note: static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)
  737. static Local<Array> New(Isolate* isolate, int length = 0);
  738. ^
  739. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2417:23: note: candidate expects 2 arguments, 0 provided
  740. ../src/posix.cc:315:28: error: ‘New’ is not a member of ‘v8::String’
  741. (*members)->Set(i, String::New(*cur));
  742. ^
  743. ../src/posix.cc:317:14: error: ‘New’ is not a member of ‘v8::String’
  744. obj->Set(String::New("members"), members);
  745. ^
  746. ../src/posix.cc:319:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
  747. return scope.Close(obj);
  748. ^
  749. ../src/posix.cc: At global scope:
  750. ../src/posix.cc:322:44: error: ‘Arguments’ does not name a type
  751. static Handle<Value> node_initgroups(const Arguments& args) {
  752. ^
  753. ../src/posix.cc:322:55: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
  754. static Handle<Value> node_initgroups(const Arguments& args) {
  755. ^
  756. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  757. from ../src/posix.cc:1:
  758. /root/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> node_initgroups(const int&)’:
  759. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  760. V8_INLINE HandleScope() {}
  761. ^
  762. ../src/posix.cc:323:17: error: within this context
  763. HandleScope scope;
  764. ^
  765. ../src/posix.cc:325:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  766. if (args.Length() != 2) {
  767. ^
  768. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  769. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  770. ^
  771. ../src/posix.cc:326:16: note: in expansion of macro ‘EXCEPTION’
  772. return EXCEPTION("initgroups: requires exactly 2 arguments");
  773. ^
  774. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  775. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  776. ^
  777. ../src/posix.cc:326:16: note: in expansion of macro ‘EXCEPTION’
  778. return EXCEPTION("initgroups: requires exactly 2 arguments");
  779. ^
  780. ../src/posix.cc:329:16: error: invalid types ‘const int[int]’ for array subscript
  781. if (!args[0]->IsString() || !args[1]->IsNumber()) {
  782. ^
  783. ../src/posix.cc:329:40: error: invalid types ‘const int[int]’ for array subscript
  784. if (!args[0]->IsString() || !args[1]->IsNumber()) {
  785. ^
  786. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  787. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  788. ^
  789. ../src/posix.cc:330:16: note: in expansion of macro ‘EXCEPTION’
  790. return EXCEPTION("initgroups: first argument must be a string "
  791. ^
  792. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  793. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  794. ^
  795. ../src/posix.cc:330:16: note: in expansion of macro ‘EXCEPTION’
  796. return EXCEPTION("initgroups: first argument must be a string "
  797. ^
  798. ../src/posix.cc:334:34: error: invalid types ‘const int[int]’ for array subscript
  799. String::Utf8Value unam(args[0]->ToString());
  800. ^
  801. ../src/posix.cc:335:33: error: invalid types ‘const int[int]’ for array subscript
  802. if (initgroups(*unam, args[1]->Int32Value())) {
  803. ^
  804. ../src/posix.cc:336:66: error: ‘ThrowException’ was not declared in this scope
  805. return ThrowException(ErrnoException(errno, "initgroups"));
  806. ^
  807. ../src/posix.cc:339:22: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
  808. return Undefined();
  809. ^
  810. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  811. from ../src/posix.cc:1:
  812. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:305:28: note: declared here
  813. friend Handle<Primitive> Undefined(Isolate* isolate);
  814. ^
  815. ../src/posix.cc: At global scope:
  816. ../src/posix.cc:342:41: error: ‘Arguments’ does not name a type
  817. static Handle<Value> node_seteuid(const Arguments& args) {
  818. ^
  819. ../src/posix.cc:342:52: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
  820. static Handle<Value> node_seteuid(const Arguments& args) {
  821. ^
  822. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  823. from ../src/posix.cc:1:
  824. /root/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> node_seteuid(const int&)’:
  825. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  826. V8_INLINE HandleScope() {}
  827. ^
  828. ../src/posix.cc:343:17: error: within this context
  829. HandleScope scope;
  830. ^
  831. ../src/posix.cc:345:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  832. if(args.Length() != 1) {
  833. ^
  834. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  835. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  836. ^
  837. ../src/posix.cc:346:16: note: in expansion of macro ‘EXCEPTION’
  838. return EXCEPTION("seteuid: requires exactly 1 argument");
  839. ^
  840. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  841. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  842. ^
  843. ../src/posix.cc:346:16: note: in expansion of macro ‘EXCEPTION’
  844. return EXCEPTION("seteuid: requires exactly 1 argument");
  845. ^
  846. ../src/posix.cc:349:22: error: invalid types ‘const int[int]’ for array subscript
  847. if(seteuid(args[0]->Int32Value())) {
  848. ^
  849. ../src/posix.cc:350:63: error: ‘ThrowException’ was not declared in this scope
  850. return ThrowException(ErrnoException(errno, "seteuid"));
  851. ^
  852. ../src/posix.cc:353:22: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
  853. return Undefined();
  854. ^
  855. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  856. from ../src/posix.cc:1:
  857. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:305:28: note: declared here
  858. friend Handle<Primitive> Undefined(Isolate* isolate);
  859. ^
  860. ../src/posix.cc: At global scope:
  861. ../src/posix.cc:356:41: error: ‘Arguments’ does not name a type
  862. static Handle<Value> node_setegid(const Arguments& args) {
  863. ^
  864. ../src/posix.cc:356:52: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
  865. static Handle<Value> node_setegid(const Arguments& args) {
  866. ^
  867. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  868. from ../src/posix.cc:1:
  869. /root/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> node_setegid(const int&)’:
  870. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  871. V8_INLINE HandleScope() {}
  872. ^
  873. ../src/posix.cc:357:17: error: within this context
  874. HandleScope scope;
  875. ^
  876. ../src/posix.cc:359:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  877. if(args.Length() != 1) {
  878. ^
  879. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  880. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  881. ^
  882. ../src/posix.cc:360:16: note: in expansion of macro ‘EXCEPTION’
  883. return EXCEPTION("setegid: requires exactly 1 argument");
  884. ^
  885. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  886. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  887. ^
  888. ../src/posix.cc:360:16: note: in expansion of macro ‘EXCEPTION’
  889. return EXCEPTION("setegid: requires exactly 1 argument");
  890. ^
  891. ../src/posix.cc:363:22: error: invalid types ‘const int[int]’ for array subscript
  892. if(setegid(args[0]->Int32Value())) {
  893. ^
  894. ../src/posix.cc:364:63: error: ‘ThrowException’ was not declared in this scope
  895. return ThrowException(ErrnoException(errno, "setegid"));
  896. ^
  897. ../src/posix.cc:367:22: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
  898. return Undefined();
  899. ^
  900. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  901. from ../src/posix.cc:1:
  902. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:305:28: note: declared here
  903. friend Handle<Primitive> Undefined(Isolate* isolate);
  904. ^
  905. ../src/posix.cc: At global scope:
  906. ../src/posix.cc:370:42: error: ‘Arguments’ does not name a type
  907. static Handle<Value> node_setregid(const Arguments& args) {
  908. ^
  909. ../src/posix.cc:370:53: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
  910. static Handle<Value> node_setregid(const Arguments& args) {
  911. ^
  912. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  913. from ../src/posix.cc:1:
  914. /root/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> node_setregid(const int&)’:
  915. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  916. V8_INLINE HandleScope() {}
  917. ^
  918. ../src/posix.cc:371:17: error: within this context
  919. HandleScope scope;
  920. ^
  921. ../src/posix.cc:373:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  922. if(args.Length() != 2) {
  923. ^
  924. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  925. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  926. ^
  927. ../src/posix.cc:374:16: note: in expansion of macro ‘EXCEPTION’
  928. return EXCEPTION("setregid: requires exactly 2 arguments");
  929. ^
  930. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  931. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  932. ^
  933. ../src/posix.cc:374:16: note: in expansion of macro ‘EXCEPTION’
  934. return EXCEPTION("setregid: requires exactly 2 arguments");
  935. ^
  936. ../src/posix.cc:377:23: error: invalid types ‘const int[int]’ for array subscript
  937. if(setregid(args[0]->Int32Value(), args[1]->Int32Value())) {
  938. ^
  939. ../src/posix.cc:377:46: error: invalid types ‘const int[int]’ for array subscript
  940. if(setregid(args[0]->Int32Value(), args[1]->Int32Value())) {
  941. ^
  942. ../src/posix.cc:378:64: error: ‘ThrowException’ was not declared in this scope
  943. return ThrowException(ErrnoException(errno, "setregid"));
  944. ^
  945. ../src/posix.cc:381:22: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
  946. return Undefined();
  947. ^
  948. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  949. from ../src/posix.cc:1:
  950. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:305:28: note: declared here
  951. friend Handle<Primitive> Undefined(Isolate* isolate);
  952. ^
  953. ../src/posix.cc: At global scope:
  954. ../src/posix.cc:384:42: error: ‘Arguments’ does not name a type
  955. static Handle<Value> node_setreuid(const Arguments& args) {
  956. ^
  957. ../src/posix.cc:384:53: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
  958. static Handle<Value> node_setreuid(const Arguments& args) {
  959. ^
  960. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  961. from ../src/posix.cc:1:
  962. /root/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> node_setreuid(const int&)’:
  963. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  964. V8_INLINE HandleScope() {}
  965. ^
  966. ../src/posix.cc:385:17: error: within this context
  967. HandleScope scope;
  968. ^
  969. ../src/posix.cc:387:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  970. if(args.Length() != 2) {
  971. ^
  972. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  973. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  974. ^
  975. ../src/posix.cc:388:16: note: in expansion of macro ‘EXCEPTION’
  976. return EXCEPTION("setreuid: requires exactly 2 arguments");
  977. ^
  978. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  979. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  980. ^
  981. ../src/posix.cc:388:16: note: in expansion of macro ‘EXCEPTION’
  982. return EXCEPTION("setreuid: requires exactly 2 arguments");
  983. ^
  984. ../src/posix.cc:391:23: error: invalid types ‘const int[int]’ for array subscript
  985. if(setreuid(args[0]->Int32Value(), args[1]->Int32Value())) {
  986. ^
  987. ../src/posix.cc:391:46: error: invalid types ‘const int[int]’ for array subscript
  988. if(setreuid(args[0]->Int32Value(), args[1]->Int32Value())) {
  989. ^
  990. ../src/posix.cc:392:64: error: ‘ThrowException’ was not declared in this scope
  991. return ThrowException(ErrnoException(errno, "setreuid"));
  992. ^
  993. ../src/posix.cc:395:22: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
  994. return Undefined();
  995. ^
  996. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  997. from ../src/posix.cc:1:
  998. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:305:28: note: declared here
  999. friend Handle<Primitive> Undefined(Isolate* isolate);
  1000. ^
  1001. ../src/posix.cc: At global scope:
  1002. ../src/posix.cc:403:41: error: ‘Arguments’ does not name a type
  1003. static Handle<Value> node_openlog(const Arguments& args) {
  1004. ^
  1005. ../src/posix.cc:403:52: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
  1006. static Handle<Value> node_openlog(const Arguments& args) {
  1007. ^
  1008. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1009. from ../src/posix.cc:1:
  1010. /root/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> node_openlog(const int&)’:
  1011. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  1012. V8_INLINE HandleScope() {}
  1013. ^
  1014. ../src/posix.cc:404:17: error: within this context
  1015. HandleScope scope;
  1016. ^
  1017. ../src/posix.cc:406:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  1018. if(args.Length() != 3) {
  1019. ^
  1020. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  1021. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  1022. ^
  1023. ../src/posix.cc:407:16: note: in expansion of macro ‘EXCEPTION’
  1024. return EXCEPTION("openlog: requires exactly 3 arguments");
  1025. ^
  1026. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  1027. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  1028. ^
  1029. ../src/posix.cc:407:16: note: in expansion of macro ‘EXCEPTION’
  1030. return EXCEPTION("openlog: requires exactly 3 arguments");
  1031. ^
  1032. ../src/posix.cc:410:35: error: invalid types ‘const int[int]’ for array subscript
  1033. String::Utf8Value ident(args[0]->ToString());
  1034. ^
  1035. ../src/posix.cc:413:15: error: invalid types ‘const int[int]’ for array subscript
  1036. if(!args[1]->IsNumber() || !args[2]->IsNumber()) {
  1037. ^
  1038. ../src/posix.cc:413:39: error: invalid types ‘const int[int]’ for array subscript
  1039. if(!args[1]->IsNumber() || !args[2]->IsNumber()) {
  1040. ^
  1041. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  1042. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  1043. ^
  1044. ../src/posix.cc:414:16: note: in expansion of macro ‘EXCEPTION’
  1045. return EXCEPTION("openlog: invalid argument values");
  1046. ^
  1047. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  1048. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  1049. ^
  1050. ../src/posix.cc:414:16: note: in expansion of macro ‘EXCEPTION’
  1051. return EXCEPTION("openlog: invalid argument values");
  1052. ^
  1053. ../src/posix.cc:417:33: error: invalid types ‘const int[int]’ for array subscript
  1054. openlog(syslog_ident, args[1]->Int32Value(), args[2]->Int32Value());
  1055. ^
  1056. ../src/posix.cc:417:56: error: invalid types ‘const int[int]’ for array subscript
  1057. openlog(syslog_ident, args[1]->Int32Value(), args[2]->Int32Value());
  1058. ^
  1059. ../src/posix.cc:419:22: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
  1060. return Undefined();
  1061. ^
  1062. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1063. from ../src/posix.cc:1:
  1064. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:305:28: note: declared here
  1065. friend Handle<Primitive> Undefined(Isolate* isolate);
  1066. ^
  1067. ../src/posix.cc: At global scope:
  1068. ../src/posix.cc:422:42: error: ‘Arguments’ does not name a type
  1069. static Handle<Value> node_closelog(const Arguments& args) {
  1070. ^
  1071. ../src/posix.cc:422:53: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
  1072. static Handle<Value> node_closelog(const Arguments& args) {
  1073. ^
  1074. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1075. from ../src/posix.cc:1:
  1076. /root/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> node_closelog(const int&)’:
  1077. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  1078. V8_INLINE HandleScope() {}
  1079. ^
  1080. ../src/posix.cc:423:17: error: within this context
  1081. HandleScope scope;
  1082. ^
  1083. ../src/posix.cc:425:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  1084. if(args.Length() != 0) {
  1085. ^
  1086. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  1087. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  1088. ^
  1089. ../src/posix.cc:426:16: note: in expansion of macro ‘EXCEPTION’
  1090. return EXCEPTION("closelog: does not take any arguments");
  1091. ^
  1092. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  1093. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  1094. ^
  1095. ../src/posix.cc:426:16: note: in expansion of macro ‘EXCEPTION’
  1096. return EXCEPTION("closelog: does not take any arguments");
  1097. ^
  1098. ../src/posix.cc:432:22: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
  1099. return Undefined();
  1100. ^
  1101. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1102. from ../src/posix.cc:1:
  1103. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:305:28: note: declared here
  1104. friend Handle<Primitive> Undefined(Isolate* isolate);
  1105. ^
  1106. ../src/posix.cc: At global scope:
  1107. ../src/posix.cc:435:40: error: ‘Arguments’ does not name a type
  1108. static Handle<Value> node_syslog(const Arguments& args) {
  1109. ^
  1110. ../src/posix.cc:435:51: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
  1111. static Handle<Value> node_syslog(const Arguments& args) {
  1112. ^
  1113. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1114. from ../src/posix.cc:1:
  1115. /root/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> node_syslog(const int&)’:
  1116. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  1117. V8_INLINE HandleScope() {}
  1118. ^
  1119. ../src/posix.cc:436:17: error: within this context
  1120. HandleScope scope;
  1121. ^
  1122. ../src/posix.cc:438:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  1123. if(args.Length() != 2) {
  1124. ^
  1125. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  1126. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  1127. ^
  1128. ../src/posix.cc:439:16: note: in expansion of macro ‘EXCEPTION’
  1129. return EXCEPTION("syslog: requires exactly 2 arguments");
  1130. ^
  1131. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  1132. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  1133. ^
  1134. ../src/posix.cc:439:16: note: in expansion of macro ‘EXCEPTION’
  1135. return EXCEPTION("syslog: requires exactly 2 arguments");
  1136. ^
  1137. ../src/posix.cc:442:37: error: invalid types ‘const int[int]’ for array subscript
  1138. String::Utf8Value message(args[1]->ToString());
  1139. ^
  1140. ../src/posix.cc:444:18: error: invalid types ‘const int[int]’ for array subscript
  1141. syslog(args[0]->Int32Value(), "%s", *message);
  1142. ^
  1143. ../src/posix.cc:446:22: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
  1144. return Undefined();
  1145. ^
  1146. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1147. from ../src/posix.cc:1:
  1148. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:305:28: note: declared here
  1149. friend Handle<Primitive> Undefined(Isolate* isolate);
  1150. ^
  1151. ../src/posix.cc: At global scope:
  1152. ../src/posix.cc:449:44: error: ‘Arguments’ does not name a type
  1153. static Handle<Value> node_setlogmask(const Arguments& args) {
  1154. ^
  1155. ../src/posix.cc:449:55: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
  1156. static Handle<Value> node_setlogmask(const Arguments& args) {
  1157. ^
  1158. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1159. from ../src/posix.cc:1:
  1160. /root/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> node_setlogmask(const int&)’:
  1161. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  1162. V8_INLINE HandleScope() {}
  1163. ^
  1164. ../src/posix.cc:450:17: error: within this context
  1165. HandleScope scope;
  1166. ^
  1167. ../src/posix.cc:452:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  1168. if(args.Length() != 1) {
  1169. ^
  1170. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  1171. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  1172. ^
  1173. ../src/posix.cc:453:16: note: in expansion of macro ‘EXCEPTION’
  1174. return EXCEPTION("setlogmask: takes exactly 1 argument");
  1175. ^
  1176. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  1177. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  1178. ^
  1179. ../src/posix.cc:453:16: note: in expansion of macro ‘EXCEPTION’
  1180. return EXCEPTION("setlogmask: takes exactly 1 argument");
  1181. ^
  1182. ../src/posix.cc:456:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
  1183. return scope.Close(Integer::New(setlogmask(args[0]->Int32Value())));
  1184. ^
  1185. ../src/posix.cc:456:54: error: invalid types ‘const int[int]’ for array subscript
  1186. return scope.Close(Integer::New(setlogmask(args[0]->Int32Value())));
  1187. ^
  1188. ../src/posix.cc: At global scope:
  1189. ../src/posix.cc:463:57: error: ‘Arguments’ does not name a type
  1190. static Handle<Value> node_update_syslog_constants(const Arguments& args) {
  1191. ^
  1192. ../src/posix.cc:463:68: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
  1193. static Handle<Value> node_update_syslog_constants(const Arguments& args) {
  1194. ^
  1195. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1196. from ../src/posix.cc:1:
  1197. /root/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> node_update_syslog_constants(const int&)’:
  1198. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  1199. V8_INLINE HandleScope() {}
  1200. ^
  1201. ../src/posix.cc:464:17: error: within this context
  1202. HandleScope scope;
  1203. ^
  1204. ../src/posix.cc:466:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  1205. if((args.Length() != 1) || (!args[0]->IsObject())) {
  1206. ^
  1207. ../src/posix.cc:466:40: error: invalid types ‘const int[int]’ for array subscript
  1208. if((args.Length() != 1) || (!args[0]->IsObject())) {
  1209. ^
  1210. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  1211. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  1212. ^
  1213. ../src/posix.cc:467:16: note: in expansion of macro ‘EXCEPTION’
  1214. return EXCEPTION("invalid arguments");
  1215. ^
  1216. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  1217. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  1218. ^
  1219. ../src/posix.cc:467:16: note: in expansion of macro ‘EXCEPTION’
  1220. return EXCEPTION("invalid arguments");
  1221. ^
  1222. ../src/posix.cc:470:31: error: invalid types ‘const int[int]’ for array subscript
  1223. Local<Object> obj = args[0]->ToObject();
  1224. ^
  1225. ../src/posix.cc:460:14: error: ‘New’ is not a member of ‘v8::String’
  1226. obj->Set(String::New(name), Integer::New(flag)); \
  1227. ^
  1228. ../src/posix.cc:471:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1229. ADD_MASK_FLAG("emerg", LOG_EMERG);
  1230. ^
  1231. ../src/posix.cc:460:50: error: no matching function for call to ‘v8::Integer::New(int)’
  1232. obj->Set(String::New(name), Integer::New(flag)); \
  1233. ^
  1234. ../src/posix.cc:471:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1235. ADD_MASK_FLAG("emerg", LOG_EMERG);
  1236. ^
  1237. ../src/posix.cc:460:50: note: candidate is:
  1238. obj->Set(String::New(name), Integer::New(flag)); \
  1239. ^
  1240. ../src/posix.cc:471:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1241. ADD_MASK_FLAG("emerg", LOG_EMERG);
  1242. ^
  1243. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1244. from ../src/posix.cc:1:
  1245. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1246. static Local<Integer> New(Isolate* isolate, int32_t value);
  1247. ^
  1248. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1249. ../src/posix.cc:461:14: error: ‘New’ is not a member of ‘v8::String’
  1250. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1251. ^
  1252. ../src/posix.cc:471:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1253. ADD_MASK_FLAG("emerg", LOG_EMERG);
  1254. ^
  1255. ../src/posix.cc:461:68: error: no matching function for call to ‘v8::Integer::New(int)’
  1256. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1257. ^
  1258. ../src/posix.cc:471:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1259. ADD_MASK_FLAG("emerg", LOG_EMERG);
  1260. ^
  1261. ../src/posix.cc:461:68: note: candidate is:
  1262. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1263. ^
  1264. ../src/posix.cc:471:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1265. ADD_MASK_FLAG("emerg", LOG_EMERG);
  1266. ^
  1267. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1268. from ../src/posix.cc:1:
  1269. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1270. static Local<Integer> New(Isolate* isolate, int32_t value);
  1271. ^
  1272. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1273. ../src/posix.cc:460:14: error: ‘New’ is not a member of ‘v8::String’
  1274. obj->Set(String::New(name), Integer::New(flag)); \
  1275. ^
  1276. ../src/posix.cc:472:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1277. ADD_MASK_FLAG("alert", LOG_ALERT);
  1278. ^
  1279. ../src/posix.cc:460:50: error: no matching function for call to ‘v8::Integer::New(int)’
  1280. obj->Set(String::New(name), Integer::New(flag)); \
  1281. ^
  1282. ../src/posix.cc:472:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1283. ADD_MASK_FLAG("alert", LOG_ALERT);
  1284. ^
  1285. ../src/posix.cc:460:50: note: candidate is:
  1286. obj->Set(String::New(name), Integer::New(flag)); \
  1287. ^
  1288. ../src/posix.cc:472:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1289. ADD_MASK_FLAG("alert", LOG_ALERT);
  1290. ^
  1291. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1292. from ../src/posix.cc:1:
  1293. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1294. static Local<Integer> New(Isolate* isolate, int32_t value);
  1295. ^
  1296. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1297. ../src/posix.cc:461:14: error: ‘New’ is not a member of ‘v8::String’
  1298. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1299. ^
  1300. ../src/posix.cc:472:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1301. ADD_MASK_FLAG("alert", LOG_ALERT);
  1302. ^
  1303. ../src/posix.cc:461:68: error: no matching function for call to ‘v8::Integer::New(int)’
  1304. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1305. ^
  1306. ../src/posix.cc:472:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1307. ADD_MASK_FLAG("alert", LOG_ALERT);
  1308. ^
  1309. ../src/posix.cc:461:68: note: candidate is:
  1310. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1311. ^
  1312. ../src/posix.cc:472:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1313. ADD_MASK_FLAG("alert", LOG_ALERT);
  1314. ^
  1315. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1316. from ../src/posix.cc:1:
  1317. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1318. static Local<Integer> New(Isolate* isolate, int32_t value);
  1319. ^
  1320. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1321. ../src/posix.cc:460:14: error: ‘New’ is not a member of ‘v8::String’
  1322. obj->Set(String::New(name), Integer::New(flag)); \
  1323. ^
  1324. ../src/posix.cc:473:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1325. ADD_MASK_FLAG("crit", LOG_CRIT);
  1326. ^
  1327. ../src/posix.cc:460:50: error: no matching function for call to ‘v8::Integer::New(int)’
  1328. obj->Set(String::New(name), Integer::New(flag)); \
  1329. ^
  1330. ../src/posix.cc:473:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1331. ADD_MASK_FLAG("crit", LOG_CRIT);
  1332. ^
  1333. ../src/posix.cc:460:50: note: candidate is:
  1334. obj->Set(String::New(name), Integer::New(flag)); \
  1335. ^
  1336. ../src/posix.cc:473:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1337. ADD_MASK_FLAG("crit", LOG_CRIT);
  1338. ^
  1339. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1340. from ../src/posix.cc:1:
  1341. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1342. static Local<Integer> New(Isolate* isolate, int32_t value);
  1343. ^
  1344. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1345. ../src/posix.cc:461:14: error: ‘New’ is not a member of ‘v8::String’
  1346. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1347. ^
  1348. ../src/posix.cc:473:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1349. ADD_MASK_FLAG("crit", LOG_CRIT);
  1350. ^
  1351. ../src/posix.cc:461:68: error: no matching function for call to ‘v8::Integer::New(int)’
  1352. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1353. ^
  1354. ../src/posix.cc:473:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1355. ADD_MASK_FLAG("crit", LOG_CRIT);
  1356. ^
  1357. ../src/posix.cc:461:68: note: candidate is:
  1358. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1359. ^
  1360. ../src/posix.cc:473:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1361. ADD_MASK_FLAG("crit", LOG_CRIT);
  1362. ^
  1363. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1364. from ../src/posix.cc:1:
  1365. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1366. static Local<Integer> New(Isolate* isolate, int32_t value);
  1367. ^
  1368. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1369. ../src/posix.cc:460:14: error: ‘New’ is not a member of ‘v8::String’
  1370. obj->Set(String::New(name), Integer::New(flag)); \
  1371. ^
  1372. ../src/posix.cc:474:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1373. ADD_MASK_FLAG("err", LOG_ERR);
  1374. ^
  1375. ../src/posix.cc:460:50: error: no matching function for call to ‘v8::Integer::New(int)’
  1376. obj->Set(String::New(name), Integer::New(flag)); \
  1377. ^
  1378. ../src/posix.cc:474:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1379. ADD_MASK_FLAG("err", LOG_ERR);
  1380. ^
  1381. ../src/posix.cc:460:50: note: candidate is:
  1382. obj->Set(String::New(name), Integer::New(flag)); \
  1383. ^
  1384. ../src/posix.cc:474:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1385. ADD_MASK_FLAG("err", LOG_ERR);
  1386. ^
  1387. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1388. from ../src/posix.cc:1:
  1389. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1390. static Local<Integer> New(Isolate* isolate, int32_t value);
  1391. ^
  1392. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1393. ../src/posix.cc:461:14: error: ‘New’ is not a member of ‘v8::String’
  1394. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1395. ^
  1396. ../src/posix.cc:474:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1397. ADD_MASK_FLAG("err", LOG_ERR);
  1398. ^
  1399. ../src/posix.cc:461:68: error: no matching function for call to ‘v8::Integer::New(int)’
  1400. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1401. ^
  1402. ../src/posix.cc:474:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1403. ADD_MASK_FLAG("err", LOG_ERR);
  1404. ^
  1405. ../src/posix.cc:461:68: note: candidate is:
  1406. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1407. ^
  1408. ../src/posix.cc:474:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1409. ADD_MASK_FLAG("err", LOG_ERR);
  1410. ^
  1411. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1412. from ../src/posix.cc:1:
  1413. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1414. static Local<Integer> New(Isolate* isolate, int32_t value);
  1415. ^
  1416. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1417. ../src/posix.cc:460:14: error: ‘New’ is not a member of ‘v8::String’
  1418. obj->Set(String::New(name), Integer::New(flag)); \
  1419. ^
  1420. ../src/posix.cc:475:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1421. ADD_MASK_FLAG("warning", LOG_WARNING);
  1422. ^
  1423. ../src/posix.cc:460:50: error: no matching function for call to ‘v8::Integer::New(int)’
  1424. obj->Set(String::New(name), Integer::New(flag)); \
  1425. ^
  1426. ../src/posix.cc:475:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1427. ADD_MASK_FLAG("warning", LOG_WARNING);
  1428. ^
  1429. ../src/posix.cc:460:50: note: candidate is:
  1430. obj->Set(String::New(name), Integer::New(flag)); \
  1431. ^
  1432. ../src/posix.cc:475:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1433. ADD_MASK_FLAG("warning", LOG_WARNING);
  1434. ^
  1435. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1436. from ../src/posix.cc:1:
  1437. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1438. static Local<Integer> New(Isolate* isolate, int32_t value);
  1439. ^
  1440. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1441. ../src/posix.cc:461:14: error: ‘New’ is not a member of ‘v8::String’
  1442. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1443. ^
  1444. ../src/posix.cc:475:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1445. ADD_MASK_FLAG("warning", LOG_WARNING);
  1446. ^
  1447. ../src/posix.cc:461:68: error: no matching function for call to ‘v8::Integer::New(int)’
  1448. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1449. ^
  1450. ../src/posix.cc:475:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1451. ADD_MASK_FLAG("warning", LOG_WARNING);
  1452. ^
  1453. ../src/posix.cc:461:68: note: candidate is:
  1454. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1455. ^
  1456. ../src/posix.cc:475:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1457. ADD_MASK_FLAG("warning", LOG_WARNING);
  1458. ^
  1459. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1460. from ../src/posix.cc:1:
  1461. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1462. static Local<Integer> New(Isolate* isolate, int32_t value);
  1463. ^
  1464. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1465. ../src/posix.cc:460:14: error: ‘New’ is not a member of ‘v8::String’
  1466. obj->Set(String::New(name), Integer::New(flag)); \
  1467. ^
  1468. ../src/posix.cc:476:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1469. ADD_MASK_FLAG("notice", LOG_NOTICE);
  1470. ^
  1471. ../src/posix.cc:460:50: error: no matching function for call to ‘v8::Integer::New(int)’
  1472. obj->Set(String::New(name), Integer::New(flag)); \
  1473. ^
  1474. ../src/posix.cc:476:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1475. ADD_MASK_FLAG("notice", LOG_NOTICE);
  1476. ^
  1477. ../src/posix.cc:460:50: note: candidate is:
  1478. obj->Set(String::New(name), Integer::New(flag)); \
  1479. ^
  1480. ../src/posix.cc:476:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1481. ADD_MASK_FLAG("notice", LOG_NOTICE);
  1482. ^
  1483. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1484. from ../src/posix.cc:1:
  1485. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1486. static Local<Integer> New(Isolate* isolate, int32_t value);
  1487. ^
  1488. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1489. ../src/posix.cc:461:14: error: ‘New’ is not a member of ‘v8::String’
  1490. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1491. ^
  1492. ../src/posix.cc:476:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1493. ADD_MASK_FLAG("notice", LOG_NOTICE);
  1494. ^
  1495. ../src/posix.cc:461:68: error: no matching function for call to ‘v8::Integer::New(int)’
  1496. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1497. ^
  1498. ../src/posix.cc:476:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1499. ADD_MASK_FLAG("notice", LOG_NOTICE);
  1500. ^
  1501. ../src/posix.cc:461:68: note: candidate is:
  1502. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1503. ^
  1504. ../src/posix.cc:476:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1505. ADD_MASK_FLAG("notice", LOG_NOTICE);
  1506. ^
  1507. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1508. from ../src/posix.cc:1:
  1509. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1510. static Local<Integer> New(Isolate* isolate, int32_t value);
  1511. ^
  1512. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1513. ../src/posix.cc:460:14: error: ‘New’ is not a member of ‘v8::String’
  1514. obj->Set(String::New(name), Integer::New(flag)); \
  1515. ^
  1516. ../src/posix.cc:477:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1517. ADD_MASK_FLAG("info", LOG_INFO);
  1518. ^
  1519. ../src/posix.cc:460:50: error: no matching function for call to ‘v8::Integer::New(int)’
  1520. obj->Set(String::New(name), Integer::New(flag)); \
  1521. ^
  1522. ../src/posix.cc:477:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1523. ADD_MASK_FLAG("info", LOG_INFO);
  1524. ^
  1525. ../src/posix.cc:460:50: note: candidate is:
  1526. obj->Set(String::New(name), Integer::New(flag)); \
  1527. ^
  1528. ../src/posix.cc:477:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1529. ADD_MASK_FLAG("info", LOG_INFO);
  1530. ^
  1531. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1532. from ../src/posix.cc:1:
  1533. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1534. static Local<Integer> New(Isolate* isolate, int32_t value);
  1535. ^
  1536. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1537. ../src/posix.cc:461:14: error: ‘New’ is not a member of ‘v8::String’
  1538. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1539. ^
  1540. ../src/posix.cc:477:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1541. ADD_MASK_FLAG("info", LOG_INFO);
  1542. ^
  1543. ../src/posix.cc:461:68: error: no matching function for call to ‘v8::Integer::New(int)’
  1544. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1545. ^
  1546. ../src/posix.cc:477:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1547. ADD_MASK_FLAG("info", LOG_INFO);
  1548. ^
  1549. ../src/posix.cc:461:68: note: candidate is:
  1550. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1551. ^
  1552. ../src/posix.cc:477:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1553. ADD_MASK_FLAG("info", LOG_INFO);
  1554. ^
  1555. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1556. from ../src/posix.cc:1:
  1557. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1558. static Local<Integer> New(Isolate* isolate, int32_t value);
  1559. ^
  1560. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1561. ../src/posix.cc:460:14: error: ‘New’ is not a member of ‘v8::String’
  1562. obj->Set(String::New(name), Integer::New(flag)); \
  1563. ^
  1564. ../src/posix.cc:478:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1565. ADD_MASK_FLAG("debug", LOG_DEBUG);
  1566. ^
  1567. ../src/posix.cc:460:50: error: no matching function for call to ‘v8::Integer::New(int)’
  1568. obj->Set(String::New(name), Integer::New(flag)); \
  1569. ^
  1570. ../src/posix.cc:478:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1571. ADD_MASK_FLAG("debug", LOG_DEBUG);
  1572. ^
  1573. ../src/posix.cc:460:50: note: candidate is:
  1574. obj->Set(String::New(name), Integer::New(flag)); \
  1575. ^
  1576. ../src/posix.cc:478:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1577. ADD_MASK_FLAG("debug", LOG_DEBUG);
  1578. ^
  1579. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1580. from ../src/posix.cc:1:
  1581. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1582. static Local<Integer> New(Isolate* isolate, int32_t value);
  1583. ^
  1584. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1585. ../src/posix.cc:461:14: error: ‘New’ is not a member of ‘v8::String’
  1586. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1587. ^
  1588. ../src/posix.cc:478:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1589. ADD_MASK_FLAG("debug", LOG_DEBUG);
  1590. ^
  1591. ../src/posix.cc:461:68: error: no matching function for call to ‘v8::Integer::New(int)’
  1592. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1593. ^
  1594. ../src/posix.cc:478:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1595. ADD_MASK_FLAG("debug", LOG_DEBUG);
  1596. ^
  1597. ../src/posix.cc:461:68: note: candidate is:
  1598. obj->Set(String::New("mask_" name), Integer::New(LOG_MASK(flag)));
  1599. ^
  1600. ../src/posix.cc:478:5: note: in expansion of macro ‘ADD_MASK_FLAG’
  1601. ADD_MASK_FLAG("debug", LOG_DEBUG);
  1602. ^
  1603. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1604. from ../src/posix.cc:1:
  1605. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1606. static Local<Integer> New(Isolate* isolate, int32_t value);
  1607. ^
  1608. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1609. ../src/posix.cc:481:14: error: ‘New’ is not a member of ‘v8::String’
  1610. obj->Set(String::New("auth"), Integer::New(LOG_AUTH));
  1611. ^
  1612. ../src/posix.cc:481:56: error: no matching function for call to ‘v8::Integer::New(int)’
  1613. obj->Set(String::New("auth"), Integer::New(LOG_AUTH));
  1614. ^
  1615. ../src/posix.cc:481:56: note: candidate is:
  1616. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1617. from ../src/posix.cc:1:
  1618. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1619. static Local<Integer> New(Isolate* isolate, int32_t value);
  1620. ^
  1621. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1622. ../src/posix.cc:483:14: error: ‘New’ is not a member of ‘v8::String’
  1623. obj->Set(String::New("authpriv"), Integer::New(LOG_AUTHPRIV));
  1624. ^
  1625. ../src/posix.cc:483:64: error: no matching function for call to ‘v8::Integer::New(int)’
  1626. obj->Set(String::New("authpriv"), Integer::New(LOG_AUTHPRIV));
  1627. ^
  1628. ../src/posix.cc:483:64: note: candidate is:
  1629. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1630. from ../src/posix.cc:1:
  1631. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1632. static Local<Integer> New(Isolate* isolate, int32_t value);
  1633. ^
  1634. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1635. ../src/posix.cc:485:14: error: ‘New’ is not a member of ‘v8::String’
  1636. obj->Set(String::New("cron"), Integer::New(LOG_CRON));
  1637. ^
  1638. ../src/posix.cc:485:56: error: no matching function for call to ‘v8::Integer::New(int)’
  1639. obj->Set(String::New("cron"), Integer::New(LOG_CRON));
  1640. ^
  1641. ../src/posix.cc:485:56: note: candidate is:
  1642. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1643. from ../src/posix.cc:1:
  1644. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1645. static Local<Integer> New(Isolate* isolate, int32_t value);
  1646. ^
  1647. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1648. ../src/posix.cc:486:14: error: ‘New’ is not a member of ‘v8::String’
  1649. obj->Set(String::New("daemon"), Integer::New(LOG_DAEMON));
  1650. ^
  1651. ../src/posix.cc:486:60: error: no matching function for call to ‘v8::Integer::New(int)’
  1652. obj->Set(String::New("daemon"), Integer::New(LOG_DAEMON));
  1653. ^
  1654. ../src/posix.cc:486:60: note: candidate is:
  1655. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1656. from ../src/posix.cc:1:
  1657. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1658. static Local<Integer> New(Isolate* isolate, int32_t value);
  1659. ^
  1660. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1661. ../src/posix.cc:488:14: error: ‘New’ is not a member of ‘v8::String’
  1662. obj->Set(String::New("ftp"), Integer::New(LOG_FTP));
  1663. ^
  1664. ../src/posix.cc:488:54: error: no matching function for call to ‘v8::Integer::New(int)’
  1665. obj->Set(String::New("ftp"), Integer::New(LOG_FTP));
  1666. ^
  1667. ../src/posix.cc:488:54: note: candidate is:
  1668. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1669. from ../src/posix.cc:1:
  1670. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1671. static Local<Integer> New(Isolate* isolate, int32_t value);
  1672. ^
  1673. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1674. ../src/posix.cc:490:14: error: ‘New’ is not a member of ‘v8::String’
  1675. obj->Set(String::New("kern"), Integer::New(LOG_KERN));
  1676. ^
  1677. ../src/posix.cc:490:56: error: no matching function for call to ‘v8::Integer::New(int)’
  1678. obj->Set(String::New("kern"), Integer::New(LOG_KERN));
  1679. ^
  1680. ../src/posix.cc:490:56: note: candidate is:
  1681. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1682. from ../src/posix.cc:1:
  1683. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1684. static Local<Integer> New(Isolate* isolate, int32_t value);
  1685. ^
  1686. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1687. ../src/posix.cc:491:14: error: ‘New’ is not a member of ‘v8::String’
  1688. obj->Set(String::New("lpr"), Integer::New(LOG_LPR));
  1689. ^
  1690. ../src/posix.cc:491:54: error: no matching function for call to ‘v8::Integer::New(int)’
  1691. obj->Set(String::New("lpr"), Integer::New(LOG_LPR));
  1692. ^
  1693. ../src/posix.cc:491:54: note: candidate is:
  1694. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1695. from ../src/posix.cc:1:
  1696. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1697. static Local<Integer> New(Isolate* isolate, int32_t value);
  1698. ^
  1699. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1700. ../src/posix.cc:492:14: error: ‘New’ is not a member of ‘v8::String’
  1701. obj->Set(String::New("mail"), Integer::New(LOG_MAIL));
  1702. ^
  1703. ../src/posix.cc:492:56: error: no matching function for call to ‘v8::Integer::New(int)’
  1704. obj->Set(String::New("mail"), Integer::New(LOG_MAIL));
  1705. ^
  1706. ../src/posix.cc:492:56: note: candidate is:
  1707. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1708. from ../src/posix.cc:1:
  1709. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1710. static Local<Integer> New(Isolate* isolate, int32_t value);
  1711. ^
  1712. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1713. ../src/posix.cc:493:14: error: ‘New’ is not a member of ‘v8::String’
  1714. obj->Set(String::New("news"), Integer::New(LOG_NEWS));
  1715. ^
  1716. ../src/posix.cc:493:56: error: no matching function for call to ‘v8::Integer::New(int)’
  1717. obj->Set(String::New("news"), Integer::New(LOG_NEWS));
  1718. ^
  1719. ../src/posix.cc:493:56: note: candidate is:
  1720. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1721. from ../src/posix.cc:1:
  1722. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1723. static Local<Integer> New(Isolate* isolate, int32_t value);
  1724. ^
  1725. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1726. ../src/posix.cc:494:14: error: ‘New’ is not a member of ‘v8::String’
  1727. obj->Set(String::New("syslog"), Integer::New(LOG_SYSLOG));
  1728. ^
  1729. ../src/posix.cc:494:60: error: no matching function for call to ‘v8::Integer::New(int)’
  1730. obj->Set(String::New("syslog"), Integer::New(LOG_SYSLOG));
  1731. ^
  1732. ../src/posix.cc:494:60: note: candidate is:
  1733. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1734. from ../src/posix.cc:1:
  1735. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1736. static Local<Integer> New(Isolate* isolate, int32_t value);
  1737. ^
  1738. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1739. ../src/posix.cc:495:14: error: ‘New’ is not a member of ‘v8::String’
  1740. obj->Set(String::New("user"), Integer::New(LOG_USER));
  1741. ^
  1742. ../src/posix.cc:495:56: error: no matching function for call to ‘v8::Integer::New(int)’
  1743. obj->Set(String::New("user"), Integer::New(LOG_USER));
  1744. ^
  1745. ../src/posix.cc:495:56: note: candidate is:
  1746. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1747. from ../src/posix.cc:1:
  1748. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1749. static Local<Integer> New(Isolate* isolate, int32_t value);
  1750. ^
  1751. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1752. ../src/posix.cc:496:14: error: ‘New’ is not a member of ‘v8::String’
  1753. obj->Set(String::New("uucp"), Integer::New(LOG_UUCP));
  1754. ^
  1755. ../src/posix.cc:496:56: error: no matching function for call to ‘v8::Integer::New(int)’
  1756. obj->Set(String::New("uucp"), Integer::New(LOG_UUCP));
  1757. ^
  1758. ../src/posix.cc:496:56: note: candidate is:
  1759. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1760. from ../src/posix.cc:1:
  1761. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1762. static Local<Integer> New(Isolate* isolate, int32_t value);
  1763. ^
  1764. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1765. ../src/posix.cc:497:14: error: ‘New’ is not a member of ‘v8::String’
  1766. obj->Set(String::New("local0"), Integer::New(LOG_LOCAL0));
  1767. ^
  1768. ../src/posix.cc:497:60: error: no matching function for call to ‘v8::Integer::New(int)’
  1769. obj->Set(String::New("local0"), Integer::New(LOG_LOCAL0));
  1770. ^
  1771. ../src/posix.cc:497:60: note: candidate is:
  1772. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1773. from ../src/posix.cc:1:
  1774. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1775. static Local<Integer> New(Isolate* isolate, int32_t value);
  1776. ^
  1777. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1778. ../src/posix.cc:498:14: error: ‘New’ is not a member of ‘v8::String’
  1779. obj->Set(String::New("local1"), Integer::New(LOG_LOCAL1));
  1780. ^
  1781. ../src/posix.cc:498:60: error: no matching function for call to ‘v8::Integer::New(int)’
  1782. obj->Set(String::New("local1"), Integer::New(LOG_LOCAL1));
  1783. ^
  1784. ../src/posix.cc:498:60: note: candidate is:
  1785. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1786. from ../src/posix.cc:1:
  1787. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1788. static Local<Integer> New(Isolate* isolate, int32_t value);
  1789. ^
  1790. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1791. ../src/posix.cc:499:14: error: ‘New’ is not a member of ‘v8::String’
  1792. obj->Set(String::New("local2"), Integer::New(LOG_LOCAL2));
  1793. ^
  1794. ../src/posix.cc:499:60: error: no matching function for call to ‘v8::Integer::New(int)’
  1795. obj->Set(String::New("local2"), Integer::New(LOG_LOCAL2));
  1796. ^
  1797. ../src/posix.cc:499:60: note: candidate is:
  1798. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1799. from ../src/posix.cc:1:
  1800. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1801. static Local<Integer> New(Isolate* isolate, int32_t value);
  1802. ^
  1803. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1804. ../src/posix.cc:500:14: error: ‘New’ is not a member of ‘v8::String’
  1805. obj->Set(String::New("local3"), Integer::New(LOG_LOCAL3));
  1806. ^
  1807. ../src/posix.cc:500:60: error: no matching function for call to ‘v8::Integer::New(int)’
  1808. obj->Set(String::New("local3"), Integer::New(LOG_LOCAL3));
  1809. ^
  1810. ../src/posix.cc:500:60: note: candidate is:
  1811. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1812. from ../src/posix.cc:1:
  1813. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1814. static Local<Integer> New(Isolate* isolate, int32_t value);
  1815. ^
  1816. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1817. ../src/posix.cc:501:14: error: ‘New’ is not a member of ‘v8::String’
  1818. obj->Set(String::New("local4"), Integer::New(LOG_LOCAL4));
  1819. ^
  1820. ../src/posix.cc:501:60: error: no matching function for call to ‘v8::Integer::New(int)’
  1821. obj->Set(String::New("local4"), Integer::New(LOG_LOCAL4));
  1822. ^
  1823. ../src/posix.cc:501:60: note: candidate is:
  1824. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1825. from ../src/posix.cc:1:
  1826. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1827. static Local<Integer> New(Isolate* isolate, int32_t value);
  1828. ^
  1829. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1830. ../src/posix.cc:502:14: error: ‘New’ is not a member of ‘v8::String’
  1831. obj->Set(String::New("local5"), Integer::New(LOG_LOCAL5));
  1832. ^
  1833. ../src/posix.cc:502:60: error: no matching function for call to ‘v8::Integer::New(int)’
  1834. obj->Set(String::New("local5"), Integer::New(LOG_LOCAL5));
  1835. ^
  1836. ../src/posix.cc:502:60: note: candidate is:
  1837. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1838. from ../src/posix.cc:1:
  1839. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1840. static Local<Integer> New(Isolate* isolate, int32_t value);
  1841. ^
  1842. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1843. ../src/posix.cc:503:14: error: ‘New’ is not a member of ‘v8::String’
  1844. obj->Set(String::New("local6"), Integer::New(LOG_LOCAL6));
  1845. ^
  1846. ../src/posix.cc:503:60: error: no matching function for call to ‘v8::Integer::New(int)’
  1847. obj->Set(String::New("local6"), Integer::New(LOG_LOCAL6));
  1848. ^
  1849. ../src/posix.cc:503:60: note: candidate is:
  1850. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1851. from ../src/posix.cc:1:
  1852. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1853. static Local<Integer> New(Isolate* isolate, int32_t value);
  1854. ^
  1855. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1856. ../src/posix.cc:504:14: error: ‘New’ is not a member of ‘v8::String’
  1857. obj->Set(String::New("local7"), Integer::New(LOG_LOCAL7));
  1858. ^
  1859. ../src/posix.cc:504:60: error: no matching function for call to ‘v8::Integer::New(int)’
  1860. obj->Set(String::New("local7"), Integer::New(LOG_LOCAL7));
  1861. ^
  1862. ../src/posix.cc:504:60: note: candidate is:
  1863. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1864. from ../src/posix.cc:1:
  1865. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1866. static Local<Integer> New(Isolate* isolate, int32_t value);
  1867. ^
  1868. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1869. ../src/posix.cc:507:14: error: ‘New’ is not a member of ‘v8::String’
  1870. obj->Set(String::New("pid"), Integer::New(LOG_PID));
  1871. ^
  1872. ../src/posix.cc:507:54: error: no matching function for call to ‘v8::Integer::New(int)’
  1873. obj->Set(String::New("pid"), Integer::New(LOG_PID));
  1874. ^
  1875. ../src/posix.cc:507:54: note: candidate is:
  1876. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1877. from ../src/posix.cc:1:
  1878. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1879. static Local<Integer> New(Isolate* isolate, int32_t value);
  1880. ^
  1881. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1882. ../src/posix.cc:508:14: error: ‘New’ is not a member of ‘v8::String’
  1883. obj->Set(String::New("cons"), Integer::New(LOG_CONS));
  1884. ^
  1885. ../src/posix.cc:508:56: error: no matching function for call to ‘v8::Integer::New(int)’
  1886. obj->Set(String::New("cons"), Integer::New(LOG_CONS));
  1887. ^
  1888. ../src/posix.cc:508:56: note: candidate is:
  1889. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1890. from ../src/posix.cc:1:
  1891. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1892. static Local<Integer> New(Isolate* isolate, int32_t value);
  1893. ^
  1894. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1895. ../src/posix.cc:509:14: error: ‘New’ is not a member of ‘v8::String’
  1896. obj->Set(String::New("ndelay"), Integer::New(LOG_NDELAY));
  1897. ^
  1898. ../src/posix.cc:509:60: error: no matching function for call to ‘v8::Integer::New(int)’
  1899. obj->Set(String::New("ndelay"), Integer::New(LOG_NDELAY));
  1900. ^
  1901. ../src/posix.cc:509:60: note: candidate is:
  1902. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1903. from ../src/posix.cc:1:
  1904. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1905. static Local<Integer> New(Isolate* isolate, int32_t value);
  1906. ^
  1907. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1908. ../src/posix.cc:510:14: error: ‘New’ is not a member of ‘v8::String’
  1909. obj->Set(String::New("odelay"), Integer::New(LOG_ODELAY));
  1910. ^
  1911. ../src/posix.cc:510:60: error: no matching function for call to ‘v8::Integer::New(int)’
  1912. obj->Set(String::New("odelay"), Integer::New(LOG_ODELAY));
  1913. ^
  1914. ../src/posix.cc:510:60: note: candidate is:
  1915. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1916. from ../src/posix.cc:1:
  1917. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1918. static Local<Integer> New(Isolate* isolate, int32_t value);
  1919. ^
  1920. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1921. ../src/posix.cc:511:14: error: ‘New’ is not a member of ‘v8::String’
  1922. obj->Set(String::New("nowait"), Integer::New(LOG_NOWAIT));
  1923. ^
  1924. ../src/posix.cc:511:60: error: no matching function for call to ‘v8::Integer::New(int)’
  1925. obj->Set(String::New("nowait"), Integer::New(LOG_NOWAIT));
  1926. ^
  1927. ../src/posix.cc:511:60: note: candidate is:
  1928. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1929. from ../src/posix.cc:1:
  1930. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
  1931. static Local<Integer> New(Isolate* isolate, int32_t value);
  1932. ^
  1933. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
  1934. ../src/posix.cc:513:22: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
  1935. return Undefined();
  1936. ^
  1937. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1938. from ../src/posix.cc:1:
  1939. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:305:28: note: declared here
  1940. friend Handle<Primitive> Undefined(Isolate* isolate);
  1941. ^
  1942. ../src/posix.cc: At global scope:
  1943. ../src/posix.cc:516:45: error: ‘Arguments’ does not name a type
  1944. static Handle<Value> node_gethostname(const Arguments& args) {
  1945. ^
  1946. ../src/posix.cc:516:56: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
  1947. static Handle<Value> node_gethostname(const Arguments& args) {
  1948. ^
  1949. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1950. from ../src/posix.cc:1:
  1951. /root/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> node_gethostname(const int&)’:
  1952. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  1953. V8_INLINE HandleScope() {}
  1954. ^
  1955. ../src/posix.cc:517:17: error: within this context
  1956. HandleScope scope;
  1957. ^
  1958. ../src/posix.cc:519:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  1959. if(args.Length() != 0) {
  1960. ^
  1961. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  1962. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  1963. ^
  1964. ../src/posix.cc:520:16: note: in expansion of macro ‘EXCEPTION’
  1965. return EXCEPTION("gethostname: takes no arguments");
  1966. ^
  1967. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  1968. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  1969. ^
  1970. ../src/posix.cc:520:16: note: in expansion of macro ‘EXCEPTION’
  1971. return EXCEPTION("gethostname: takes no arguments");
  1972. ^
  1973. ../src/posix.cc:530:67: error: ‘ThrowException’ was not declared in this scope
  1974. return ThrowException(ErrnoException(errno, "gethostname"));
  1975. ^
  1976. ../src/posix.cc:533:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
  1977. return scope.Close(String::New(hostname));
  1978. ^
  1979. ../src/posix.cc:533:24: error: ‘New’ is not a member of ‘v8::String’
  1980. return scope.Close(String::New(hostname));
  1981. ^
  1982. ../src/posix.cc: At global scope:
  1983. ../src/posix.cc:536:45: error: ‘Arguments’ does not name a type
  1984. static Handle<Value> node_sethostname(const Arguments& args) {
  1985. ^
  1986. ../src/posix.cc:536:56: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
  1987. static Handle<Value> node_sethostname(const Arguments& args) {
  1988. ^
  1989. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  1990. from ../src/posix.cc:1:
  1991. /root/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> node_sethostname(const int&)’:
  1992. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  1993. V8_INLINE HandleScope() {}
  1994. ^
  1995. ../src/posix.cc:537:17: error: within this context
  1996. HandleScope scope;
  1997. ^
  1998. ../src/posix.cc:539:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
  1999. if (args.Length() != 1) {
  2000. ^
  2001. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  2002. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  2003. ^
  2004. ../src/posix.cc:540:16: note: in expansion of macro ‘EXCEPTION’
  2005. return EXCEPTION("sethostname: takes exactly 1 argument");
  2006. ^
  2007. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  2008. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  2009. ^
  2010. ../src/posix.cc:540:16: note: in expansion of macro ‘EXCEPTION’
  2011. return EXCEPTION("sethostname: takes exactly 1 argument");
  2012. ^
  2013. ../src/posix.cc:543:16: error: invalid types ‘const int[int]’ for array subscript
  2014. if (!args[0]->IsString()) {
  2015. ^
  2016. ../src/posix.cc:11:56: error: ‘New’ is not a member of ‘v8::String’
  2017. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  2018. ^
  2019. ../src/posix.cc:544:16: note: in expansion of macro ‘EXCEPTION’
  2020. return EXCEPTION("sethostname: first argument must be a string");
  2021. ^
  2022. ../src/posix.cc:11:73: error: ‘ThrowException’ was not declared in this scope
  2023. #define EXCEPTION(msg) ThrowException(Exception::Error(String::New(msg)))
  2024. ^
  2025. ../src/posix.cc:544:16: note: in expansion of macro ‘EXCEPTION’
  2026. return EXCEPTION("sethostname: first argument must be a string");
  2027. ^
  2028. ../src/posix.cc:547:33: error: invalid types ‘const int[int]’ for array subscript
  2029. String::Utf8Value str(args[0]);
  2030. ^
  2031. ../src/posix.cc:551:67: error: ‘ThrowException’ was not declared in this scope
  2032. return ThrowException(ErrnoException(errno, "sethostname"));
  2033. ^
  2034. ../src/posix.cc:554:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
  2035. return scope.Close(Undefined());
  2036. ^
  2037. ../src/posix.cc:554:34: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
  2038. return scope.Close(Undefined());
  2039. ^
  2040. In file included from /root/.node-gyp/0.12.4/src/node.h:61:0,
  2041. from ../src/posix.cc:1:
  2042. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:305:28: note: declared here
  2043. friend Handle<Primitive> Undefined(Isolate* isolate);
  2044. ^
  2045. /root/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘void init(v8::Handle<v8::Object>)’:
  2046. /root/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
  2047. V8_INLINE HandleScope() {}
  2048. ^
  2049. ../src/posix.cc:559:17: error: within this context
  2050. HandleScope scope;
  2051. ^
  2052. ../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&))’
  2053. NODE_SET_METHOD(target, "chroot", node_chroot);
  2054. ^
  2055. ../src/posix.cc:560:50: note: candidate is:
  2056. In file included from ../src/posix.cc:1:0:
  2057. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  2058. inline void NODE_SET_METHOD(const TypeName& recv,
  2059. ^
  2060. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template argument deduction/substitution failed:
  2061. ../src/posix.cc:560:50: note: cannot convert ‘node_chroot’ (type ‘v8::Handle<v8::Value>(const int&)’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
  2062. NODE_SET_METHOD(target, "chroot", node_chroot);
  2063. ^
  2064. ../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&))’
  2065. NODE_SET_METHOD(target, "closelog", node_closelog);
  2066. ^
  2067. ../src/posix.cc:561:54: note: candidate is:
  2068. In file included from ../src/posix.cc:1:0:
  2069. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  2070. inline void NODE_SET_METHOD(const TypeName& recv,
  2071. ^
  2072. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template argument deduction/substitution failed:
  2073. ../src/posix.cc:561:54: note: cannot convert ‘node_closelog’ (type ‘v8::Handle<v8::Value>(const int&)’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
  2074. NODE_SET_METHOD(target, "closelog", node_closelog);
  2075. ^
  2076. ../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&))’
  2077. NODE_SET_METHOD(target, "getegid", node_getegid);
  2078. ^
  2079. ../src/posix.cc:562:52: note: candidate is:
  2080. In file included from ../src/posix.cc:1:0:
  2081. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  2082. inline void NODE_SET_METHOD(const TypeName& recv,
  2083. ^
  2084. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template argument deduction/substitution failed:
  2085. ../src/posix.cc:562:52: note: cannot convert ‘node_getegid’ (type ‘v8::Handle<v8::Value>(const int&)’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
  2086. NODE_SET_METHOD(target, "getegid", node_getegid);
  2087. ^
  2088. ../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&))’
  2089. NODE_SET_METHOD(target, "geteuid", node_geteuid);
  2090. ^
  2091. ../src/posix.cc:563:52: note: candidate is:
  2092. In file included from ../src/posix.cc:1:0:
  2093. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  2094. inline void NODE_SET_METHOD(const TypeName& recv,
  2095. ^
  2096. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template argument deduction/substitution failed:
  2097. ../src/posix.cc:563:52: note: cannot convert ‘node_geteuid’ (type ‘v8::Handle<v8::Value>(const int&)’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
  2098. NODE_SET_METHOD(target, "geteuid", node_geteuid);
  2099. ^
  2100. ../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&))’
  2101. NODE_SET_METHOD(target, "getpgid", node_getpgid);
  2102. ^
  2103. ../src/posix.cc:564:52: note: candidate is:
  2104. In file included from ../src/posix.cc:1:0:
  2105. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  2106. inline void NODE_SET_METHOD(const TypeName& recv,
  2107. ^
  2108. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template argument deduction/substitution failed:
  2109. ../src/posix.cc:564:52: note: cannot convert ‘node_getpgid’ (type ‘v8::Handle<v8::Value>(const int&)’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
  2110. NODE_SET_METHOD(target, "getpgid", node_getpgid);
  2111. ^
  2112. ../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&))’
  2113. NODE_SET_METHOD(target, "getppid", node_getppid);
  2114. ^
  2115. ../src/posix.cc:565:52: note: candidate is:
  2116. In file included from ../src/posix.cc:1:0:
  2117. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  2118. inline void NODE_SET_METHOD(const TypeName& recv,
  2119. ^
  2120. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template argument deduction/substitution failed:
  2121. ../src/posix.cc:565:52: note: cannot convert ‘node_getppid’ (type ‘v8::Handle<v8::Value>(const int&)’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
  2122. NODE_SET_METHOD(target, "getppid", node_getppid);
  2123. ^
  2124. ../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&))’
  2125. NODE_SET_METHOD(target, "getpwnam", node_getpwnam);
  2126. ^
  2127. ../src/posix.cc:566:54: note: candidate is:
  2128. In file included from ../src/posix.cc:1:0:
  2129. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  2130. inline void NODE_SET_METHOD(const TypeName& recv,
  2131. ^
  2132. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template argument deduction/substitution failed:
  2133. ../src/posix.cc:566:54: note: cannot convert ‘node_getpwnam’ (type ‘v8::Handle<v8::Value>(const int&)’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
  2134. NODE_SET_METHOD(target, "getpwnam", node_getpwnam);
  2135. ^
  2136. ../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&))’
  2137. NODE_SET_METHOD(target, "getgrnam", node_getgrnam);
  2138. ^
  2139. ../src/posix.cc:567:54: note: candidate is:
  2140. In file included from ../src/posix.cc:1:0:
  2141. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  2142. inline void NODE_SET_METHOD(const TypeName& recv,
  2143. ^
  2144. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template argument deduction/substitution failed:
  2145. ../src/posix.cc:567:54: note: cannot convert ‘node_getgrnam’ (type ‘v8::Handle<v8::Value>(const int&)’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
  2146. NODE_SET_METHOD(target, "getgrnam", node_getgrnam);
  2147. ^
  2148. ../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&))’
  2149. NODE_SET_METHOD(target, "getrlimit", node_getrlimit);
  2150. ^
  2151. ../src/posix.cc:568:56: note: candidate is:
  2152. In file included from ../src/posix.cc:1:0:
  2153. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  2154. inline void NODE_SET_METHOD(const TypeName& recv,
  2155. ^
  2156. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template argument deduction/substitution failed:
  2157. ../src/posix.cc:568:56: note: cannot convert ‘node_getrlimit’ (type ‘v8::Handle<v8::Value>(const int&)’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
  2158. NODE_SET_METHOD(target, "getrlimit", node_getrlimit);
  2159. ^
  2160. ../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&))’
  2161. NODE_SET_METHOD(target, "initgroups", node_initgroups);
  2162. ^
  2163. ../src/posix.cc:569:58: note: candidate is:
  2164. In file included from ../src/posix.cc:1:0:
  2165. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  2166. inline void NODE_SET_METHOD(const TypeName& recv,
  2167. ^
  2168. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template argument deduction/substitution failed:
  2169. ../src/posix.cc:569:58: note: cannot convert ‘node_initgroups’ (type ‘v8::Handle<v8::Value>(const int&)’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
  2170. NODE_SET_METHOD(target, "initgroups", node_initgroups);
  2171. ^
  2172. ../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&))’
  2173. NODE_SET_METHOD(target, "openlog", node_openlog);
  2174. ^
  2175. ../src/posix.cc:570:52: note: candidate is:
  2176. In file included from ../src/posix.cc:1:0:
  2177. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  2178. inline void NODE_SET_METHOD(const TypeName& recv,
  2179. ^
  2180. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template argument deduction/substitution failed:
  2181. ../src/posix.cc:570:52: note: cannot convert ‘node_openlog’ (type ‘v8::Handle<v8::Value>(const int&)’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
  2182. NODE_SET_METHOD(target, "openlog", node_openlog);
  2183. ^
  2184. ../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&))’
  2185. NODE_SET_METHOD(target, "setegid", node_setegid);
  2186. ^
  2187. ../src/posix.cc:571:52: note: candidate is:
  2188. In file included from ../src/posix.cc:1:0:
  2189. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  2190. inline void NODE_SET_METHOD(const TypeName& recv,
  2191. ^
  2192. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template argument deduction/substitution failed:
  2193. ../src/posix.cc:571:52: note: cannot convert ‘node_setegid’ (type ‘v8::Handle<v8::Value>(const int&)’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
  2194. NODE_SET_METHOD(target, "setegid", node_setegid);
  2195. ^
  2196. ../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&))’
  2197. NODE_SET_METHOD(target, "seteuid", node_seteuid);
  2198. ^
  2199. ../src/posix.cc:572:52: note: candidate is:
  2200. In file included from ../src/posix.cc:1:0:
  2201. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  2202. inline void NODE_SET_METHOD(const TypeName& recv,
  2203. ^
  2204. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template argument deduction/substitution failed:
  2205. ../src/posix.cc:572:52: note: cannot convert ‘node_seteuid’ (type ‘v8::Handle<v8::Value>(const int&)’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
  2206. NODE_SET_METHOD(target, "seteuid", node_seteuid);
  2207. ^
  2208. ../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&))’
  2209. NODE_SET_METHOD(target, "setlogmask", node_setlogmask);
  2210. ^
  2211. ../src/posix.cc:573:58: note: candidate is:
  2212. In file included from ../src/posix.cc:1:0:
  2213. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  2214. inline void NODE_SET_METHOD(const TypeName& recv,
  2215. ^
  2216. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template argument deduction/substitution failed:
  2217. ../src/posix.cc:573:58: note: cannot convert ‘node_setlogmask’ (type ‘v8::Handle<v8::Value>(const int&)’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
  2218. NODE_SET_METHOD(target, "setlogmask", node_setlogmask);
  2219. ^
  2220. ../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&))’
  2221. NODE_SET_METHOD(target, "setregid", node_setregid);
  2222. ^
  2223. ../src/posix.cc:574:54: note: candidate is:
  2224. In file included from ../src/posix.cc:1:0:
  2225. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  2226. inline void NODE_SET_METHOD(const TypeName& recv,
  2227. ^
  2228. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template argument deduction/substitution failed:
  2229. ../src/posix.cc:574:54: note: cannot convert ‘node_setregid’ (type ‘v8::Handle<v8::Value>(const int&)’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
  2230. NODE_SET_METHOD(target, "setregid", node_setregid);
  2231. ^
  2232. ../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&))’
  2233. NODE_SET_METHOD(target, "setreuid", node_setreuid);
  2234. ^
  2235. ../src/posix.cc:575:54: note: candidate is:
  2236. In file included from ../src/posix.cc:1:0:
  2237. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  2238. inline void NODE_SET_METHOD(const TypeName& recv,
  2239. ^
  2240. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template argument deduction/substitution failed:
  2241. ../src/posix.cc:575:54: note: cannot convert ‘node_setreuid’ (type ‘v8::Handle<v8::Value>(const int&)’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
  2242. NODE_SET_METHOD(target, "setreuid", node_setreuid);
  2243. ^
  2244. ../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&))’
  2245. NODE_SET_METHOD(target, "setrlimit", node_setrlimit);
  2246. ^
  2247. ../src/posix.cc:576:56: note: candidate is:
  2248. In file included from ../src/posix.cc:1:0:
  2249. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  2250. inline void NODE_SET_METHOD(const TypeName& recv,
  2251. ^
  2252. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template argument deduction/substitution failed:
  2253. ../src/posix.cc:576:56: note: cannot convert ‘node_setrlimit’ (type ‘v8::Handle<v8::Value>(const int&)’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
  2254. NODE_SET_METHOD(target, "setrlimit", node_setrlimit);
  2255. ^
  2256. ../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&))’
  2257. NODE_SET_METHOD(target, "setsid", node_setsid);
  2258. ^
  2259. ../src/posix.cc:577:50: note: candidate is:
  2260. In file included from ../src/posix.cc:1:0:
  2261. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  2262. inline void NODE_SET_METHOD(const TypeName& recv,
  2263. ^
  2264. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template argument deduction/substitution failed:
  2265. ../src/posix.cc:577:50: note: cannot convert ‘node_setsid’ (type ‘v8::Handle<v8::Value>(const int&)’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
  2266. NODE_SET_METHOD(target, "setsid", node_setsid);
  2267. ^
  2268. ../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&))’
  2269. NODE_SET_METHOD(target, "syslog", node_syslog);
  2270. ^
  2271. ../src/posix.cc:578:50: note: candidate is:
  2272. In file included from ../src/posix.cc:1:0:
  2273. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  2274. inline void NODE_SET_METHOD(const TypeName& recv,
  2275. ^
  2276. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template argument deduction/substitution failed:
  2277. ../src/posix.cc:578:50: note: cannot convert ‘node_syslog’ (type ‘v8::Handle<v8::Value>(const int&)’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
  2278. NODE_SET_METHOD(target, "syslog", node_syslog);
  2279. ^
  2280. ../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&))’
  2281. node_update_syslog_constants);
  2282. ^
  2283. ../src/posix.cc:580:49: note: candidate is:
  2284. In file included from ../src/posix.cc:1:0:
  2285. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  2286. inline void NODE_SET_METHOD(const TypeName& recv,
  2287. ^
  2288. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template argument deduction/substitution failed:
  2289. ../src/posix.cc:580:49: note: cannot convert ‘node_update_syslog_constants’ (type ‘v8::Handle<v8::Value>(const int&)’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
  2290. node_update_syslog_constants);
  2291. ^
  2292. ../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&))’
  2293. NODE_SET_METHOD(target, "gethostname", node_gethostname);
  2294. ^
  2295. ../src/posix.cc:581:60: note: candidate is:
  2296. In file included from ../src/posix.cc:1:0:
  2297. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  2298. inline void NODE_SET_METHOD(const TypeName& recv,
  2299. ^
  2300. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template argument deduction/substitution failed:
  2301. ../src/posix.cc:581:60: note: cannot convert ‘node_gethostname’ (type ‘v8::Handle<v8::Value>(const int&)’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
  2302. NODE_SET_METHOD(target, "gethostname", node_gethostname);
  2303. ^
  2304. ../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&))’
  2305. NODE_SET_METHOD(target, "sethostname", node_sethostname);
  2306. ^
  2307. ../src/posix.cc:582:60: note: candidate is:
  2308. In file included from ../src/posix.cc:1:0:
  2309. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  2310. inline void NODE_SET_METHOD(const TypeName& recv,
  2311. ^
  2312. /root/.node-gyp/0.12.4/src/node.h:228:13: note: template argument deduction/substitution failed:
  2313. ../src/posix.cc:582:60: note: cannot convert ‘node_sethostname’ (type ‘v8::Handle<v8::Value>(const int&)’) to type ‘v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}’
  2314. NODE_SET_METHOD(target, "sethostname", node_sethostname);
  2315. ^
  2316. make: *** [Release/obj.target/posix/src/posix.o] Error 1
  2317. make: Leaving directory `/root/bedrock/node_modules/posix/build'
  2318. gyp ERR! build error
  2319. gyp ERR! stack Error: `make` failed with exit code: 2
  2320. gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
  2321. gyp ERR! stack at ChildProcess.emit (events.js:110:17)
  2322. gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
  2323. gyp ERR! System Linux 3.10.0-229.el7.x86_64
  2324. gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  2325. gyp ERR! cwd /root/bedrock/node_modules/posix
  2326. gyp ERR! node -v v0.12.4
  2327. gyp ERR! node-gyp -v v1.0.3
  2328. gyp ERR! not ok
  2329. npm WARN prefer global grunt-cli@0.1.13 should be installed with -g
  2330.  
  2331. > contextify@0.1.14 install /root/bedrock/node_modules/jsonld/node_modules/jsdom/node_modules/contextify
  2332. > node-gyp rebuild
  2333.  
  2334. make: Entering directory `/root/bedrock/node_modules/jsonld/node_modules/jsdom/node_modules/contextify/build'
  2335. CXX(target) Release/obj.target/contextify/src/contextify.o
  2336. SOLINK_MODULE(target) Release/obj.target/contextify.node
  2337. SOLINK_MODULE(target) Release/obj.target/contextify.node: Finished
  2338. COPY Release/contextify.node
  2339. make: Leaving directory `/root/bedrock/node_modules/jsonld/node_modules/jsdom/node_modules/contextify/build'
  2340. npm WARN optional dep failed, continuing posix@1.0.4
  2341. chai-as-promised@5.1.0 node_modules/chai-as-promised
  2342.  
  2343. underscore@1.7.0 node_modules/underscore
  2344.  
  2345. pkginfo@0.3.0 node_modules/pkginfo
  2346.  
  2347. async@0.9.2 node_modules/async
  2348.  
  2349. commander@2.8.1 node_modules/commander
  2350. └── graceful-readlink@1.0.1
  2351.  
  2352. async-node-events@0.0.7 node_modules/async-node-events
  2353. └── is-async@0.0.2
  2354.  
  2355. mkdirp@0.5.1 node_modules/mkdirp
  2356. └── minimist@0.0.8
  2357.  
  2358. chai@2.3.0 node_modules/chai
  2359. ├── assertion-error@1.0.0
  2360. └── deep-eql@0.1.3 (type-detect@0.1.1)
  2361.  
  2362. winston@1.0.0 node_modules/winston
  2363. ├── cycle@1.0.3
  2364. ├── stack-trace@0.0.9
  2365. ├── eyes@0.1.8
  2366. ├── isstream@0.1.2
  2367. └── colors@1.0.3
  2368.  
  2369. mocha@2.2.5 node_modules/mocha
  2370. ├── escape-string-regexp@1.0.2
  2371. ├── supports-color@1.2.1
  2372. ├── growl@1.8.1
  2373. ├── commander@2.3.0
  2374. ├── diff@1.4.0
  2375. ├── debug@2.0.0 (ms@0.6.2)
  2376. ├── mkdirp@0.5.0 (minimist@0.0.8)
  2377. ├── glob@3.2.3 (inherits@2.0.1, graceful-fs@2.0.3, minimatch@0.2.14)
  2378. └── jade@0.26.3 (commander@0.6.1, mkdirp@0.3.0)
  2379.  
  2380. grunt-cli@0.1.13 node_modules/grunt-cli
  2381. ├── resolve@0.3.1
  2382. ├── nopt@1.0.10 (abbrev@1.0.7)
  2383. └── findup-sync@0.1.3 (glob@3.2.11, lodash@2.4.2)
  2384.  
  2385. grunt@0.4.5 node_modules/grunt
  2386. ├── dateformat@1.0.2-1.2.3
  2387. ├── which@1.0.9
  2388. ├── eventemitter2@0.4.14
  2389. ├── getobject@0.1.0
  2390. ├── rimraf@2.2.8
  2391. ├── colors@0.6.2
  2392. ├── async@0.1.22
  2393. ├── grunt-legacy-util@0.2.0
  2394. ├── hooker@0.2.3
  2395. ├── nopt@1.0.10 (abbrev@1.0.7)
  2396. ├── exit@0.1.2
  2397. ├── minimatch@0.2.14 (sigmund@1.0.1, lru-cache@2.6.4)
  2398. ├── glob@3.1.21 (inherits@1.0.0, graceful-fs@1.2.3)
  2399. ├── lodash@0.9.2
  2400. ├── coffee-script@1.3.3
  2401. ├── underscore.string@2.2.1
  2402. ├── iconv-lite@0.2.11
  2403. ├── findup-sync@0.1.3 (glob@3.2.11, lodash@2.4.2)
  2404. ├── grunt-legacy-log@0.1.2 (grunt-legacy-log-utils@0.1.1, underscore.string@2.3.3, lodash@2.4.2)
  2405. └── js-yaml@2.0.5 (argparse@0.1.16, esprima@1.0.4)
  2406.  
  2407. winston-mail@0.4.0 node_modules/winston-mail
  2408. ├── underscore@1.4.4
  2409. └── emailjs@0.3.13 (bufferjs@1.1.0, starttls@0.2.1, mimelib@0.2.14, moment@1.7.0)
  2410.  
  2411. istanbul@0.3.14 node_modules/istanbul
  2412. ├── supports-color@1.3.1
  2413. ├── which@1.0.9
  2414. ├── abbrev@1.0.7
  2415. ├── nopt@3.0.2
  2416. ├── wordwrap@0.0.3
  2417. ├── once@1.3.2 (wrappy@1.0.1)
  2418. ├── esprima@2.1.0
  2419. ├── resolve@1.1.6
  2420. ├── fileset@0.1.5 (minimatch@0.4.0, glob@3.2.11)
  2421. ├── escodegen@1.6.1 (esutils@1.1.6, estraverse@1.9.3, optionator@0.5.0, source-map@0.1.43, esprima@1.2.5)
  2422. ├── handlebars@3.0.0 (optimist@0.6.1, source-map@0.1.43, uglify-js@2.3.6)
  2423. └── js-yaml@3.3.1 (esprima@2.2.0, argparse@1.0.2)
  2424.  
  2425. grunt-jscs@1.8.0 node_modules/grunt-jscs
  2426. ├── vow@0.4.9
  2427. ├── hooker@0.2.3
  2428. ├── lodash@2.4.2
  2429. └── jscs@1.13.1 (strip-json-comments@1.0.2, pathval@0.1.1, commander@2.6.0, estraverse@1.9.3, exit@0.1.2, chalk@1.0.0, cli-table@0.3.1, glob@5.0.10, minimatch@2.0.8, vow-fs@0.3.4, lodash.assign@3.0.0, prompt@0.2.14, esprima-harmony-jscs@1.1.0-bin, esprima@1.2.5, xmlbuilder@2.6.4)
  2430.  
  2431. grunt-contrib-jshint@0.11.2 node_modules/grunt-contrib-jshint
  2432. ├── hooker@0.2.3
  2433. └── jshint@2.8.0 (strip-json-comments@1.0.2, exit@0.1.2, console-browserify@1.1.0, shelljs@0.3.0, minimatch@2.0.8, cli@0.6.6, htmlparser2@3.8.3, lodash@3.7.0)
  2434.  
  2435. jsonld@0.3.22 node_modules/jsonld
  2436. ├── jsonldify@0.1.2
  2437. ├── through@2.3.7
  2438. ├── xmldom@0.1.19
  2439. ├── commander@1.3.2 (keypress@0.1.0)
  2440. ├── es6-promise@2.0.1
  2441. ├── request@2.44.0 (caseless@0.6.0, forever-agent@0.5.2, aws-sign2@0.5.0, stringstream@0.0.4, oauth-sign@0.4.0, tunnel-agent@0.4.0, json-stringify-safe@5.0.1, qs@1.2.2, node-uuid@1.4.3, mime-types@1.0.2, form-data@0.1.4, http-signature@0.10.1, bl@0.9.4, tough-cookie@1.2.0, hawk@1.1.1)
  2442. └── jsdom@0.7.0 (cssom@0.2.5, nwmatcher@1.3.4, htmlparser2@3.8.3, cssstyle@0.2.28, contextify@0.1.14)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement