| Summary: | Build failed when try to build with configure script for Android | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Andrii Hontarenko <andrii.hontarenko> |
| Component: | build | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | andrii.hontarenko |
| Version: | 2.0.7 | ||
| Hardware: | ARM | ||
| OS: | Android (All) | ||
| Attachments: | Patch that fixes my issues with build for Android. | ||
Fixed, thanks! https://hg.libsdl.org/SDL/rev/5c8fc26757d7 |
Created attachment 3113 [details] Patch that fixes my issues with build for Android. I am building with following commands: ./configure --prefix=${PREFIX_PATH} CC="${CROSS_COMPILER}gcc" AR="${CROSS_COMPILER}ar" RANLIB="${CROSS_COMPILER}ranlib" --host=arm-linux-androideabi make clean make -j${BUILD_THREADS} make install where CROSS_COMPILER is following: arm-linux-androideabi-gcc (GCC) 4.9.x 20150123 (prerelease) Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I had couple of errors related to undefined symbol Android_AddHaptic and Android_RemoveHaptic, and some other, when I resolved first part. Please, take a look into patch in the attachments. This patch helps me to fix issues with build. Maybe it will be useful. Please, let me know if I am doing something wrong. Thanks.