I use sorccu's Github code to build shared library by just editing the .mk file last line to "include $(BUILD_SHARED_LIBRARY)". https://github.com/openstf/android-libjpeg-turbo But it failed with:
.......
[armeabi] Compile thumb : sohucs-jpeg <= transupp.c
[armeabi] Compile thumb : sohucs-jpeg <= jdatadst-tj.c
[armeabi] Compile thumb : sohucs-jpeg <= jdatasrc-tj.c
[armeabi] SharedLibrary : libsohucs-jpeg.so
D:/eclipse/workspace/HelloNeon/jni/vendor/libjpeg-turbo/libjpeg-turbo-1.4.1/jccolor.c:603: error: undefined reference to 'jsimd_can_rgb_gray'
D:/eclipse/workspace/HelloNeon/jni/vendor/libjpeg-turbo/libjpeg-turbo-1.4.1/jccolor.c:658: error: undefined reference to 'jsimd_can_rgb_ycc'
.......
My ndk-build version is r10e, and I use eclipse 4.5.1 MARS, win7. The other platform: armeabi-v7a armeabi-v7a-hard arm64-v8a x86 x86_64, build fine, without error.
I have read the issue of sorccu github. It is not my problem. https://github.com/openstf/android-libjpeg-turbo/issues/1 I aim to build share library of libjpeg-turbo of armabi.
Someone can help me ?