CANNOT LINK EXECUTABLE: cannot locate symbol "signal" referenced by
signal was an inline function until platform android-21, now it's not inline anymore. When you use the ndk r10, android-21 is used by default but it's not fully retro-compatible with devices running former Android versions. In your case, signal can't be found on your device (but it would run properly on Lollipop). When using the NDK, you should use the platform (APP_PLATFORM:=android-XX) that corresponds to your android:minSdkVersion. So here you can set APP_PLATFORM:=android-15 inside Application.mk Makefile, and your lib will use the inline version of signal, so it will not look for its symbol at runtime.
APP_PLATFORM := android-16