Using gn to build for android on mac is not yet supported, sorry (and I
realize that the make based version is also no longer supported...) sorry
about that :/

On Wed, Jan 25, 2017 at 2:08 AM Mindy DelliCarpini <[email protected]>
wrote:

>
>
> I built libv8_base, libv8_libbase,  these as full static libraries:
>
>
> args.gn:
>
> is_debug = false
>
> target_cpu = "arm"
>
> v8_target_cpu = "arm"
>
> target_os="android"
>
> v8_static_library = true
>
>
> Errors:
>
> ...android-ndk-r10b/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld:
> error: jni/libpng.a: no archive symbol table (run ranlib)
>
>
> ...android-ndk-r10b/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld:
> error: jni/libv8_libbase.a: no archive symbol table (run ranlib)
>
>
> ...android-ndk-r10b/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld:
> error: jni/libv8_libplatform.a: no archive symbol table (run ranlib)
>
>
> Follow by a bunch of unsatisfied linker errors:
>
>
> jni/BoomListPackagesAndroid.cpp:124: error: undefined reference to
> 'v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)'
>
> jni/BoomListPackagesAndroid.cpp:125: error: undefined reference to
> 'v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)'
>
> jni/BoomListPackagesAndroid.cpp:126: error: undefined reference to
> 'v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)'
>
> jni/../../src/common/js/v8/BoomEngine.v8.cpp:31: error: undefined
> reference to 'v8::Isolate::GetCurrent()'
>
> ....
>
>
> I'm building on MacOSX for Android; I would guess the linker errors are
> because of the no archive symbol table error at the top...
>
> How can I fix them?
>
>
>
>
>
> --
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to