-
-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android NDK Build Error #91
Comments
For ARM architectures the source code includes the header file Maybe you are using outdated tools, maybe you did not specify all necessary preprocessor symbols. All I can say is that using the Android build instructions provided by the SQLite project (see top 2 "Building a Custom aar File") work for me flawlessly (after adjusting the file |
Thank you. |
You are welcome. Could you solve your problem? If yes, how? Other developers might have had similar issues. |
Unable to compile sqlite3mc SQLEET Cross-Compilation :- root@sysadmin-VirtualBox:/home/sysadmin/sqleet-jni# ndk-build APP_ABI="all" NDK_APP_LIBS_OUT=libs/ Sqlite3 Cross-Compilation |
If you don't mind can you share your Android.mk file |
When I compile the Android bindings for SQLite3MC I perform the following steps:
$ export ANDROID_HOME=~/Android/Sdk/
$ cd sqlite3
$ ../gradlew assembleRelease |
sysadmin@sysadmin-VirtualBox:~/Desktop/sqlite/sqlite3$ ../gradlew assembleRelease
FAILURE: Build failed with an exception.
/home/sysadmin/Desktop/sqlite/sqlite3/src/main/jni/sqlite/sqlite3.c:259195:14: warning: implicit declaration of function 'vaeseq_u8' is invalid in C99 [-Wimplicit-function-declaration]
BUILD FAILED in 31s |
Building succeeds only for "Build sqliteX_armeabi-v7a" |
Unfortunately I'm not able to reproduce the problems you experience. Did you apply any further changes to the build files? For example, you seem to use a different NDK version than that that is referenced in the original SQLite Android files. |
I'm going to close this issue for now, because I can't reproduce the problem. For me the Android build works without any issues. Therefore I suspect that something is wrong with your environment or that you applied some unmentioned changes causing the problem. If you still feel that this project is to blame for the problem, you have to provide more detailed information (versions and settings of the tools you are using, and so on). |
I can reproduce the issue with the errors
And remaining are the following errors:
|
@Nailik Thanks for testing. I have to admit that I hadn't installed NDK version 25 in my test environment. Indeed it works for NDK versions up to 23, but not for higher ones. I compared the include files Defining the symbol #define __ARM_FEATURE_AES 1 after line 259095 of #define __ARM_FEATURE_CRYPTO 1 should fix the issue. Could you please confirm? TIA. |
I can confirm, that this line fixes the issues ! |
Thanks for confirming. Commit 4edf735 applies this fix. A new release (including the amalgamation) will be made shortly after the release of the next SQLite version. |
The text was updated successfully, but these errors were encountered: