Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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")
- touch /home/w/android/node-android/jni/node-lastver/out/Release/obj.target/deps/v8/tools/gyp/v8.stamp
- 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
- ../src/node_android.cc:41:32: error: 'Arguments' does not name a type
- static Handle<Value> Log(const Arguments& args) {
- ^
- ../src/node_android.cc:41:43: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
- static Handle<Value> Log(const Arguments& args) {
- ^
- In file included from ../src/node.h:61:0,
- from ../src/node_android.cc:23:
- ../deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> node::Log(const int&)':
- ../deps/v8/include/v8.h:845:13: error: 'v8::HandleScope::HandleScope()' is protected
- V8_INLINE HandleScope() {}
- ^
- ../src/node_android.cc:42:15: error: within this context
- HandleScope scope;
- ^
- ../src/node_android.cc:44:18: error: request for member 'Length' in 'args', which is of non-class type 'const int'
- int len = args.Length();
- ^
- ../src/node_android.cc:34:61: error: 'New' is not a member of 'v8::String'
- #define TYPE_ERROR(msg) ThrowException(Exception::TypeError(String::New(msg)));
- ^
- ../src/node_android.cc:45:23: note: in expansion of macro 'TYPE_ERROR'
- if (len < 1) return TYPE_ERROR("level required");
- ^
- ../src/node_android.cc:34:78: error: 'ThrowException' was not declared in this scope
- #define TYPE_ERROR(msg) ThrowException(Exception::TypeError(String::New(msg)));
- ^
- ../src/node_android.cc:45:23: note: in expansion of macro 'TYPE_ERROR'
- if (len < 1) return TYPE_ERROR("level required");
- ^
- ../src/node_android.cc:34:61: error: 'New' is not a member of 'v8::String'
- #define TYPE_ERROR(msg) ThrowException(Exception::TypeError(String::New(msg)));
- ^
- ../src/node_android.cc:46:23: note: in expansion of macro 'TYPE_ERROR'
- if (len < 2) return TYPE_ERROR("tag required");
- ^
- ../src/node_android.cc:34:78: error: 'ThrowException' was not declared in this scope
- #define TYPE_ERROR(msg) ThrowException(Exception::TypeError(String::New(msg)));
- ^
- ../src/node_android.cc:46:23: note: in expansion of macro 'TYPE_ERROR'
- if (len < 2) return TYPE_ERROR("tag required");
- ^
- ../src/node_android.cc:34:61: error: 'New' is not a member of 'v8::String'
- #define TYPE_ERROR(msg) ThrowException(Exception::TypeError(String::New(msg)));
- ^
- ../src/node_android.cc:47:23: note: in expansion of macro 'TYPE_ERROR'
- if (len < 3) return TYPE_ERROR("message required");
- ^
- ../src/node_android.cc:34:78: error: 'ThrowException' was not declared in this scope
- #define TYPE_ERROR(msg) ThrowException(Exception::TypeError(String::New(msg)));
- ^
- ../src/node_android.cc:47:23: note: in expansion of macro 'TYPE_ERROR'
- if (len < 3) return TYPE_ERROR("message required");
- ^
- ../src/node_android.cc:48:14: error: invalid types 'const int[int]' for array subscript
- if (!args[0]->IsInt32()) return TYPE_ERROR("level must be an integer");
- ^
- ../src/node_android.cc:34:61: error: 'New' is not a member of 'v8::String'
- #define TYPE_ERROR(msg) ThrowException(Exception::TypeError(String::New(msg)));
- ^
- ../src/node_android.cc:48:35: note: in expansion of macro 'TYPE_ERROR'
- if (!args[0]->IsInt32()) return TYPE_ERROR("level must be an integer");
- ^
- ../src/node_android.cc:34:78: error: 'ThrowException' was not declared in this scope
- #define TYPE_ERROR(msg) ThrowException(Exception::TypeError(String::New(msg)));
- ^
- ../src/node_android.cc:48:35: note: in expansion of macro 'TYPE_ERROR'
- if (!args[0]->IsInt32()) return TYPE_ERROR("level must be an integer");
- ^
- ../src/node_android.cc:49:14: error: invalid types 'const int[int]' for array subscript
- if (!args[1]->IsString()) return TYPE_ERROR("tag must be a string");
- ^
- ../src/node_android.cc:34:61: error: 'New' is not a member of 'v8::String'
- #define TYPE_ERROR(msg) ThrowException(Exception::TypeError(String::New(msg)));
- ^
- ../src/node_android.cc:49:36: note: in expansion of macro 'TYPE_ERROR'
- if (!args[1]->IsString()) return TYPE_ERROR("tag must be a string");
- ^
- ../src/node_android.cc:34:78: error: 'ThrowException' was not declared in this scope
- #define TYPE_ERROR(msg) ThrowException(Exception::TypeError(String::New(msg)));
- ^
- ../src/node_android.cc:49:36: note: in expansion of macro 'TYPE_ERROR'
- if (!args[1]->IsString()) return TYPE_ERROR("tag must be a string");
- ^
- ../src/node_android.cc:51:27: error: invalid types 'const int[int]' for array subscript
- const int level = args[0]->Int32Value();
- ^
- ../src/node_android.cc:52:31: error: invalid types 'const int[int]' for array subscript
- String::Utf8Value tag(args[1]);
- ^
- ../src/node_android.cc:53:31: error: invalid types 'const int[int]' for array subscript
- String::Utf8Value msg(args[2]);
- ^
- ../src/node_android.cc:57:20: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
- return Undefined();
- ^
- In file included from ../src/node.h:61:0,
- from ../src/node_android.cc:23:
- ../deps/v8/include/v8.h:336:28: note: declared here
- friend Handle<Primitive> Undefined(Isolate* isolate);
- ^
- ../deps/v8/include/v8.h: In static member function 'static void node::Android::Initialize(v8::Handle<v8::Object>)':
- ../deps/v8/include/v8.h:845:13: error: 'v8::HandleScope::HandleScope()' is protected
- V8_INLINE HandleScope() {}
- ^
- ../src/node_android.cc:61:15: error: within this context
- HandleScope scope;
- ^
- ../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&))'
- NODE_SET_METHOD(target, "log", Log);
- ^
- ../src/node_android.cc:63:37: note: candidate is:
- In file included from ../src/node_android.cc:23:0:
- ../src/node.h:195:13: note: template<class TypeName> void node::NODE_SET_METHOD(const TypeName&, const char*, v8::FunctionCallback)
- inline void NODE_SET_METHOD(const TypeName& recv,
- ^
- ../src/node.h:195:13: note: template argument deduction/substitution failed:
- ../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>&)}'
- NODE_SET_METHOD(target, "log", Log);
- ^
- make[1]: *** [/home/w/android/node-android/jni/node-lastver/out/Release/obj.target/node/src/node_android.o] Erreur 1
- make[1]: quittant le répertoire « /home/w/android/node-android/jni/node-lastver/out »
- make: *** [node] Erreur 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement