 <p>As I suppos the main reason was compiler settings, I make some modifications in <strong><em>makefile</em></strong> and my .a archive linked to shared library, here are modifications.</p> <pre><code>GCC := C:\Tools\ndk-toolchain\ndk-standalone\bin\arm-linux-androideabi-gcc.exe GPP := C:\Tools\ndk-toolchain\ndk-standalone\bin\arm-linux-androideabi-g++.exe AR := C:\Tools\ndk-toolchain\ndk-standalone\bin\arm-linux-androideabi-ar.exe OPTIONS :=\ -fpic \ -ffunction-sections \ -funwind-tables \ -fstack-protector \ -D__ARM_ARCH_5__ \ -D__ARM_ARCH_5T__ \ -D__ARM_ARCH_5E__ \ -D__ARM_ARCH_5TE__ \ -Wno-psabi \ -march=armv5te \ -mtune=xscale \ -msoft-float \ -mthumb \ -Os \ -fomit-frame-pointer \ -fno-strict-aliasing \ -finline-limit=64 \ -DANDROID \ -Wa, \ -O2 \ -DNDEBUG \ -g \ default: all all: obj $(AR) r libtestlibrary.a *.o obj: $(GCC) $(OPTIONS) -c *.c </code></pre>