Hi All, I am new to ARM as well as ARM NEON, i would like to code few of my c++ module to arm neon assembly module in android environment. I am using GNU assembler. I have faced problem in calling equivalent assembly module for my c++ module in my workspace. I have faced the following problems. 1. When i enable both the c++ and assembly function, the compiler build the project successfully instead of showing error as "multiple definition for the function", and shows error in assembly program if any syntax error in the instruction. 2. But when i enable assembly function alone and disable the c++ module, i got the error as "undefined reference" to the function, though i gave ".global function name" at the starting of the program. I don't know to make any changes in make file. My make file details as follows LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := ColorConv #LOCAL_ARM_MODE := arm LOCAL_ARM_NEON := true # remove this if you want armv5 mode LOCAL_SRC_FILES :=\ LOCAL_CPP_EXTENSION := .cpp LOCAL_CFLAGS := -mfpu=neon -DANDROID_NDK -fPIC -Wall -fexceptions -ffloat-store -Wuninitialized -g -I hevc/hdr/ #ASFLAGS := -x assembler-with-cpp #-DHAVE_NEON=1 -std=c99 -pedantic -v LOCAL_C_INCLUDES :=$(LOCAL_PATH)/hevc/hdr/ LOCAL_LDLIBS := -llog -ljnigraphics -lGLESv1_CM -ldl -lz include $(BUILD_SHARED_LIBRARY) Please, guide me to solve this problem. Thanks in Advance, Vigneshwaran V
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
Log in with Google account
No account? Register here.