Skip to content

NDK Build Error #12

@mdshopon

Description

@mdshopon

I got the following error while running 'make' command in jni-build folder

ndk-build make[1]: Entering directory '/home/codehead/TensorFlowAndroidMNIST/jni-build' Android NDK: WARNING:jni/Android.mk:tensorflow_mnist: non-system libraries in linker flags: jni/libs/armeabi-v7a/libprotos_all_cc.a jni/libs/armeabi-v7a/libprotobuf.a jni/libs/armeabi-v7a/libprotobuf_lite.a /home/codehead/Downloads/android-ndk-r12b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/libgnustl_static.a /home/codehead/Downloads/android-ndk-r12b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/libsupc++.a Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the Android NDK: current module [armeabi-v7a] Install : libtensorflow_mnist.so => libs/armeabi-v7a/libtensorflow_mnist.so make[1]: Leaving directory '/home/codehead/TensorFlowAndroidMNIST/jni-build'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions