I am trying to build a exe using shared objects generated on android
platfrom. I am able to build them without compile time linking errors
but when i try to execute them li gives me linker problem. in which
path i need to place the shared object to get them linked against
executable on the hardware target ?

Here is the error message

bionic/linker/linker.c:1078| ERROR:  3639 cannot locate '(null)'...
bionic/linker/linker.c:1579| ERROR: failed to link libtest1.so
bionic/linker/linker.c:1519| ERROR:  3639 could not load 'libtest1.so'
bionic/linker/linker.c:1579| ERROR: failed to link ./libtest
bionic/linker/linker.c:1677| ERROR: CANNOT LINK EXECUTABLE './libtest'
#



Make file goes here

LOCAL_PATH := $(call my-dir)
MY_LOCAL_PATH := $(LOCAL_PATH)
include $(CLEAR_VARS)

LOCAL_PREBUILT_LIBS := libtest1.so libtest2.so libtest3.so \

include $(BUILD_MULTI_PREBUILT)

LOCAL_PATH := $(MY_LOCAL_PATH)
include $(CLEAR_VARS)

LOCAL_SRC_FILES :=  \
                                main.c \
                                test.c \

LOCAL_C_INCLUDES += \
                                        $(MY_LOCAL_PATH) \

LOCAL_MODULE := libtest

LOCAL_SHARED_LIBRARIES +=  libtest1 libtest2 libtest3

LOCAL_LDLIBS := -lrt -lpthread

include $(BUILD_EXECUTABLE)

Can any one help ?

Regards
Girish
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to