-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[liblzma] Build error on arm64-android when trying to build GDAL for arm64-android #41178
Comments
vcpkg CI uses NDK r26. |
Thanks for the quick response. I will pull down r26 and give that a shot!
…On Wed, Sep 25, 2024 at 10:13 PM Kai Pastor ***@***.***> wrote:
vcpkg CI uses NDK r26.
—
Reply to this email directly, view it on GitHub
<#41178 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BHVVHEE3R654VDKQ2OTVXP3ZYN3XFAVCNFSM6AAAAABO355BY6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZVG43DQMRSG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
So, I was indeed able to build using the default So, to summarize:
Here is the general output:
Here is my log file:
|
There is no error logged. The vcpkg CI build Android on Linux. This is targeting POSIX on POSIX. Windows hosts might work to some extent, but with GDAL at the end of a long pipeline, you are very likely to run into problems. This is targeting POSIX on WINDOWS partially using a POSIX runtime (MSYS2). Many ways to fail. For example host tools built by |
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment. |
Thanks for posting this issue. Please reopen this issue if this is still a problem for you. |
Hi, when attempting to install
GDAL
(and exactly liblzma), I received the following error. I installed this using the NDK 21.3.6528147 toolchain, but also faced difficulty installing GDAL with another NDK's toolchain (25.1.8937393 in that case).The command(s) I used to try and install gdal for arm64-android. Please let me know if there is a workaround.
In file included from /home/auterion/repos/auterion-qgroundcontrol/libs/libgdal/vcpkg/buildtrees/liblzma/src/v5.6.2-7484848813.clean/src/liblzma/check/crc32_fast.c:21:
/home/auterion/repos/auterion-qgroundcontrol/libs/libgdal/vcpkg/buildtrees/liblzma/src/v5.6.2-7484848813.clean/src/liblzma/check/crc32_arm64.h:57:9: warning: implicit declaration of function '__crc32b' is invalid in C99 [-Wimplicit-function-declaration]
crc = __crc32b(crc, *buf);
^
/home/auterion/repos/auterion-qgroundcontrol/libs/libgdal/vcpkg/buildtrees/liblzma/src/v5.6.2-7484848813.clean/src/liblzma/check/crc32_arm64.h:67:9: warning: implicit declaration of function '__crc32d' is invalid in C99 [-Wimplicit-function-declaration]
crc = __crc32d(crc, aligned_read64le(buf));
^
/home/auterion/repos/auterion-qgroundcontrol/libs/libgdal/vcpkg/buildtrees/liblzma/src/v5.6.2-7484848813.clean/src/liblzma/check/crc32_arm64.h:82:32: error: use of undeclared identifier 'HWCAP_CRC32'
return (getauxval(AT_HWCAP) & HWCAP_CRC32) != 0;
^
The text was updated successfully, but these errors were encountered: