-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Error when cross-compiling using Android NDK toolchain on an x86_64 Linux machine #1767
Comments
Line 13 in |
Here's the env:
Here are the steps used for compilation (nothing out of ordinary or preprocessing):
|
Thank you very much. That took the build further along until it hit another block:
But I see master already has updates there. Am really thinking 3.17.1 might not be the right version for use icross compiled Android/ARM builds |
Sorry, I replied too quickly. Several other changes are required to iperf_pthread.c/h files. See the code changes of PR #1687. |
Awesome. Thank you so much for the pointer. That patch did the trick. |
Version of iperf3:
3.17.1
Operating system (and distribution, if any):
Ubuntu 24.04.1 LTS
Other relevant information (for example, non-default compilers,
libraries, cross-compiling, etc.):
Cross compiling for ARM64 (aarch64) using Android prebuilt toolchain r26d
Bug Report
Clean compilation of up to date 3.17.1 branch results in compilation errors when cross-compiling.
Expected Behavior
Compilation completes just like it does for PC (x86_64).
Actual Behavior
make throws the following error:
The text was updated successfully, but these errors were encountered: