You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use libteec.so to make SHARED_LIBRARIES
I modify the Android.mk of Helloword like this
LOCAL_PATH := $(call my-dir)
OPTEE_CLIENT_EXPORT = $(LOCAL_PATH)/…/…/optee_client/out/export
include $(CLEAR_VARS)
LOCAL_CFLAGS += -DANDROID_BUILD
LOCAL_CFLAGS += -Wall
LOCAL_SRC_FILES += host/main.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/ta/include
$(OPTEE_CLIENT_EXPORT)/include \
LOCAL_SHARED_LIBRARIES := libteec
LOCAL_MODULE := optee_example_hello_world
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_TAGS := optional
**include $(BUILD_SHARED_LIBRARY)** ==> **include $(BUILD_EXECUTABLE) is OK but BUILD_SHARED_LIBRARY is fail**
include $(LOCAL_PATH)/ta/Android.mk
I always get the following error.
ninja: error: ‘**out/target/product/hikey960/obj_arm/lib/libteec.so.toc’**, needed by ‘out/target/product/hikey960/obj_arm/SHARED_LIBRARIES/libmhjni_intermediates/LINKED/libmhjni.so’, missing and no known rule to make it
12:47:18 ninja failed with: exit status 1
The text was updated successfully, but these errors were encountered:
Ah, have you built libteec.so first? If not, then out/target/product/hikey960/obj_arm/lib/libteec.so.toc is missing, which is required for optee_example_hello_world.so.
This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this issue will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time.
Hi All
I want to use libteec.so to make SHARED_LIBRARIES
I modify the Android.mk of Helloword like this
I always get the following error.
The text was updated successfully, but these errors were encountered: