Advertisement
Guest User

Untitled

a guest
May 23rd, 2014
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.33 KB | None | 0 0
  1. ln -f "/home/w/android/node-android/jni/node-lastver/out/Release/obj.target/deps/v8/tools/gyp/libv8_nosnapshot.arm.a" "/home/w/android/node-android/jni/node-lastver/out/Release/libv8_nosnapshot.arm.a" 2>/dev/null || (rm -rf "/home/w/android/node-android/jni/node-lastver/out/Release/libv8_nosnapshot.arm.a" && cp -af "/home/w/android/node-android/jni/node-lastver/out/Release/obj.target/deps/v8/tools/gyp/libv8_nosnapshot.arm.a" "/home/w/android/node-android/jni/node-lastver/out/Release/libv8_nosnapshot.arm.a")
  2. touch /home/w/android/node-android/jni/node-lastver/out/Release/obj.target/deps/v8/tools/gyp/v8.stamp
  3. arm-linux-androideabi-g++ '-DOPENSSL_NO_SSL2=1' '-D_GLIBCXX_USE_C99_MATH' '-DNODE_WANT_INTERNALS=1' '-DARCH="arm"' '-DPLATFORM="android"' '-DNODE_TAG=""' '-DNODE_V8_OPTIONS=""' '-DHAVE_OPENSSL=1' '-D__POSIX__' '-DHTTP_PARSER_STRICT=0' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I../src -I../tools/msvs/genfiles -I../deps/uv/src/ares -I/home/w/android/node-android/jni/node-lastver/out/Release/obj/gen -I../deps/openssl/openssl/include -I../deps/v8/include -I../deps/zlib -I../deps/http_parser -I../deps/cares/include -I../deps/uv/include -Wall -Wextra -Wno-unused-parameter -O3 -ffunction-sections -fdata-sections -fno-tree-vrp -fno-omit-frame-pointer -fno-rtti -fno-exceptions -MMD -MF /home/w/android/node-android/jni/node-lastver/out/Release/.deps//home/w/android/node-android/jni/node-lastver/out/Release/obj.target/node/src/node_android.o.d.raw -c -o /home/w/android/node-android/jni/node-lastver/out/Release/obj.target/node/src/node_android.o ../src/node_android.cc
  4. ../src/node_android.cc:41:32: error: 'Arguments' does not name a type
  5. static Handle<Value> Log(const Arguments& args) {
  6. ^
  7. ../src/node_android.cc:41:43: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
  8. static Handle<Value> Log(const Arguments& args) {
  9. ^
  10. In file included from ../src/node.h:61:0,
  11. from ../src/node_android.cc:23:
  12. ../deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> node::Log(const int&)':
  13. ../deps/v8/include/v8.h:845:13: error: 'v8::HandleScope::HandleScope()' is protected
  14. V8_INLINE HandleScope() {}
  15. ^
  16. ../src/node_android.cc:42:15: error: within this context
  17. HandleScope scope;
  18. ^
  19. ../src/node_android.cc:44:18: error: request for member 'Length' in 'args', which is of non-class type 'const int'
  20. int len = args.Length();
  21. ^
  22. ../src/node_android.cc:34:61: error: 'New' is not a member of 'v8::String'
  23. #define TYPE_ERROR(msg) ThrowException(Exception::TypeError(String::New(msg)));
  24. ^
  25. ../src/node_android.cc:45:23: note: in expansion of macro 'TYPE_ERROR'
  26. if (len < 1) return TYPE_ERROR("level required");
  27. ^
  28. ../src/node_android.cc:34:78: error: 'ThrowException' was not declared in this scope
  29. #define TYPE_ERROR(msg) ThrowException(Exception::TypeError(String::New(msg)));
  30. ^
  31. ../src/node_android.cc:45:23: note: in expansion of macro 'TYPE_ERROR'
  32. if (len < 1) return TYPE_ERROR("level required");
  33. ^
  34. ../src/node_android.cc:34:61: error: 'New' is not a member of 'v8::String'
  35. #define TYPE_ERROR(msg) ThrowException(Exception::TypeError(String::New(msg)));
  36. ^
  37. ../src/node_android.cc:46:23: note: in expansion of macro 'TYPE_ERROR'
  38. if (len < 2) return TYPE_ERROR("tag required");
  39. ^
  40. ../src/node_android.cc:34:78: error: 'ThrowException' was not declared in this scope
  41. #define TYPE_ERROR(msg) ThrowException(Exception::TypeError(String::New(msg)));
  42. ^
  43. ../src/node_android.cc:46:23: note: in expansion of macro 'TYPE_ERROR'
  44. if (len < 2) return TYPE_ERROR("tag required");
  45. ^
  46. ../src/node_android.cc:34:61: error: 'New' is not a member of 'v8::String'
  47. #define TYPE_ERROR(msg) ThrowException(Exception::TypeError(String::New(msg)));
  48. ^
  49. ../src/node_android.cc:47:23: note: in expansion of macro 'TYPE_ERROR'
  50. if (len < 3) return TYPE_ERROR("message required");
  51. ^
  52. ../src/node_android.cc:34:78: error: 'ThrowException' was not declared in this scope
  53. #define TYPE_ERROR(msg) ThrowException(Exception::TypeError(String::New(msg)));
  54. ^
  55. ../src/node_android.cc:47:23: note: in expansion of macro 'TYPE_ERROR'
  56. if (len < 3) return TYPE_ERROR("message required");
  57. ^
  58. ../src/node_android.cc:48:14: error: invalid types 'const int[int]' for array subscript
  59. if (!args[0]->IsInt32()) return TYPE_ERROR("level must be an integer");
  60. ^
  61. ../src/node_android.cc:34:61: error: 'New' is not a member of 'v8::String'
  62. #define TYPE_ERROR(msg) ThrowException(Exception::TypeError(String::New(msg)));
  63. ^
  64. ../src/node_android.cc:48:35: note: in expansion of macro 'TYPE_ERROR'
  65. if (!args[0]->IsInt32()) return TYPE_ERROR("level must be an integer");
  66. ^
  67. ../src/node_android.cc:34:78: error: 'ThrowException' was not declared in this scope
  68. #define TYPE_ERROR(msg) ThrowException(Exception::TypeError(String::New(msg)));
  69. ^
  70. ../src/node_android.cc:48:35: note: in expansion of macro 'TYPE_ERROR'
  71. if (!args[0]->IsInt32()) return TYPE_ERROR("level must be an integer");
  72. ^
  73. ../src/node_android.cc:49:14: error: invalid types 'const int[int]' for array subscript
  74. if (!args[1]->IsString()) return TYPE_ERROR("tag must be a string");
  75. ^
  76. ../src/node_android.cc:34:61: error: 'New' is not a member of 'v8::String'
  77. #define TYPE_ERROR(msg) ThrowException(Exception::TypeError(String::New(msg)));
  78. ^
  79. ../src/node_android.cc:49:36: note: in expansion of macro 'TYPE_ERROR'
  80. if (!args[1]->IsString()) return TYPE_ERROR("tag must be a string");
  81. ^
  82. ../src/node_android.cc:34:78: error: 'ThrowException' was not declared in this scope
  83. #define TYPE_ERROR(msg) ThrowException(Exception::TypeError(String::New(msg)));
  84. ^
  85. ../src/node_android.cc:49:36: note: in expansion of macro 'TYPE_ERROR'
  86. if (!args[1]->IsString()) return TYPE_ERROR("tag must be a string");
  87. ^
  88. ../src/node_android.cc:51:27: error: invalid types 'const int[int]' for array subscript
  89. const int level = args[0]->Int32Value();
  90. ^
  91. ../src/node_android.cc:52:31: error: invalid types 'const int[int]' for array subscript
  92. String::Utf8Value tag(args[1]);
  93. ^
  94. ../src/node_android.cc:53:31: error: invalid types 'const int[int]' for array subscript
  95. String::Utf8Value msg(args[2]);
  96. ^
  97. ../src/node_android.cc:57:20: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
  98. return Undefined();
  99. ^
  100. In file included from ../src/node.h:61:0,
  101. from ../src/node_android.cc:23:
  102. ../deps/v8/include/v8.h:336:28: note: declared here
  103. friend Handle<Primitive> Undefined(Isolate* isolate);
  104. ^
  105. ../deps/v8/include/v8.h: In static member function 'static void node::Android::Initialize(v8::Handle<v8::Object>)':
  106. ../deps/v8/include/v8.h:845:13: error: 'v8::HandleScope::HandleScope()' is protected
  107. V8_INLINE HandleScope() {}
  108. ^
  109. ../src/node_android.cc:61:15: error: within this context
  110. HandleScope scope;
  111. ^
  112. ../src/node_android.cc:63:37: error: no matching function for call to 'NODE_SET_METHOD(v8::Handle<v8::Object>&, const char [4], v8::Handle<v8::Value> (&)(const int&))'
  113. NODE_SET_METHOD(target, "log", Log);
  114. ^
  115. ../src/node_android.cc:63:37: note: candidate is:
  116. In file included from ../src/node_android.cc:23:0:
  117. ../src/node.h:195:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
  118. inline void NODE_SET_METHOD(const TypeName& recv,
  119. ^
  120. ../src/node.h:195:13: note: template argument deduction/substitution failed:
  121. ../src/node_android.cc:63:37: note: cannot convert 'node::Log' (type 'v8::Handle<v8::Value>(const int&)') to type 'v8::FunctionCallback {aka void (*)(const v8::FunctionCallbackInfo<v8::Value>&)}'
  122. NODE_SET_METHOD(target, "log", Log);
  123. ^
  124. make[1]: *** [/home/w/android/node-android/jni/node-lastver/out/Release/obj.target/node/src/node_android.o] Erreur 1
  125. make[1]: quittant le répertoire « /home/w/android/node-android/jni/node-lastver/out »
  126. make: *** [node] Erreur 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement