node-android icon indicating copy to clipboard operation
node-android copied to clipboard

ndk-build的时候出错

Open ahkimkoo opened this issue 10 years ago • 0 comments

[armeabi] Compile++ thumb: nodeJNI <= node_jni.cc [armeabi] SharedLibrary : libnodeJNI.so /media/cherokee/project/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /media/cherokee/project/project/node-android/jni/node-latest/libnode.a(cares_wrap.o): in function node::cares_wrap::IsIP(v8::FunctionCallbackInfov8::Value const&):cares_wrap.cc(.text._ZN4node10cares_wrapL4IsIPERKN2v820FunctionCallbackInfoINS1_5ValueEEE+0x58): error: undefined reference to 'node::Utf8Value::Utf8Value(v8::Handlev8::Value)' /media/cherokee/project/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /media/cherokee/project/project/node-android/jni/node-latest/libnode.a(cares_wrap.o): in function node::cares_wrap::SetServers(v8::FunctionCallbackInfov8::Value const&):cares_wrap.cc(.text._ZN4node10cares_wrapL10SetServersERKN2v820FunctionCallbackInfoINS1_5ValueEEE+0x1ac): error: undefined reference to 'node::Utf8Value::Utf8Value(v8::Handlev8::Value)' /media/cherokee/project/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /media/cherokee/project/project/node-android/jni/node-latest/libnode.a(cares_wrap.o): in function void node::cares_wrap::Querynode::cares_wrap::QueryAWrap(v8::FunctionCallbackInfov8::Value const&):cares_wrap.cc(.text._ZN4node10cares_wrapL5QueryINS0_10QueryAWrapEEEvRKN2v820FunctionCallbackInfoINS3_5ValueEEE+0x150): error: undefined reference to 'node::Utf8Value::Utf8Value(v8::Handlev8::Value)' /media/cherokee/project/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /media/cherokee/project/project/node-android/jni/node-latest/libnode.a(cares_wrap.o): in function void node::cares_wrap::Querynode::cares_wrap::GetHostByAddrWrap(v8::FunctionCallbackInfov8::Value const&):cares_wrap.cc(.text._ZN4node10cares_wrapL5QueryINS0_17GetHostByAddrWrapEEEvRKN2v820FunctionCallbackInfoINS3_5ValueEEE+0x150): error: undefined reference to 'node::Utf8Value::Utf8Value(v8::Handlev8::Value)' collect2: ld returned 1 exit status make: *** [/media/cherokee/project/project/node-android/obj/local/armeabi/libnodeJNI.so] Error 1

这个会是什么原因引起的呢?

ahkimkoo avatar Jul 17 '14 13:07 ahkimkoo