Hello every one I have a tool.S like this
.text .align2 .global asm_call asm_call: mov r0 , #0 mov r1 , #1 and I wrote a test.c like this #include <stdio.h> void asm_call(); int main(int argc , char **argv) { asm_call(); } My make file like this LOCAL_PATH :=$(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE_TAGS := optional LOCAL_MODULE := test arm_src_files := tool.S LOCAL_SRC_FILES := test.c LOCAL_SHARED_LIBRARIES :=libdl include $(BUILD_EXECUTABLE) when I run mmm ./external/test there is an error said : error undefined reference to 'asm_call' I'v tryed to add 'extern' before 'asm_call' in c code like this : extern void asm_call() , and the result remain the same . Can any one give me some advise ? Thanks. -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel