Hi, I have added two shared libraries and using first into second. But when I am trying to build second library, getting error as "arm-eabi/bin/ld: cannot find -labc.so."
say I have lib abc and lib xyz. xyz uses abc. abc compiles fine but when xyz is getting compiled it can't find abc. makefiles are below. Let me know if I am missing something or similar code example you are aware cheers DR First - Android.mk ---------------------------------------- LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_SRC_FILES := \ abc.cpp LOCAL_C_INCLUDES += \ $(JNI_H_INCLUDE) LOCAL_SHARED_LIBRARIES := \ libcutils \ libhardware \ libhardware_legacy \ libnativehelper \ libsystem_server \ libutils \ libui LOCAL_MODULE:= abc LOCAL_CFLAGS += -fvisibility=hidden LOCAL_PRELINK_MODULE:=false LOCAL_MODULE_CLASS := SHARED_LIBRARIES include $(BUILD_SHARED_LIBRARY) ----------------------------------------- Second Android.mk ----------------------------------------- LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_SRC_FILES := \ xyz.cpp LOCAL_SHARED_LIBRARIES := abc LOCAL_C_INCLUDES += \ $(LOCAL_PATH) LOCAL_CFLAGS += -fvisibility=hidden LOCAL_PRELINK_MODULE:=false LOCAL_MODULE_CLASS := SHARED_LIBRARIES LOCAL_MODULE:= xyz ------------------------------------------ include $(BUILD_SHARED_LIBRARY) -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting