I'm trying to build android_rpc from the docker image given in 
https://tvm.apache.org/docs/tutorials/frontend/deploy_model_on_android.html#sphx-glr-tutorials-frontend-deploy-model-on-android-py

I pulled libOpenCL.so from the android board and tried run 
/apps/android_rpc/app/src/main/jni/build.sh and it shows and error as below:

    clang++: error: linker command failed with exit code 1 (use -v to see 
invocation)
    make: *** 
[/opt/android-sdk-linux/ndk/21.3.6528147/build/core/build-binary.mk:725: 
/workspace/apps/android_rpc/app/src/main/obj/local/arm64-v8a/libtvm4j_runtime_packed.so]
 Error 1
    make: Leaving directory '/workspace/apps/android_rpc/app/src/main/jni'

I ran the command following the guide from 
https://github.com/apache/incubator-tvm/blob/main/jvm/README.md:
    make jvmpkg
    make jvminstall

Building /apps/android_deploy/ works for me, but /apps/anroid_rpc does not. I 
don't see any error regarding tvm4j in case of /apps/android_deploy /

Does anyone have an idea?





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/error-building-android-rpc/8204/1) to 
respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/71734e9266f1a686224a55ba455a98a742e8f171db3d2bd891251cd60d6a783d).

Reply via email to