Skip to content
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

Build failure in libcurl with NDK r26 #17

Closed
triplef opened this issue Oct 25, 2023 · 2 comments
Closed

Build failure in libcurl with NDK r26 #17

triplef opened this issue Oct 25, 2023 · 2 comments

Comments

@triplef
Copy link
Member

triplef commented Oct 25, 2023

libcurl/lib/formdata.c:796:10: error: call to undeclared function 'fseeko'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  return fseeko(stream, (off_t)offset, whence);
         ^

This error was also discussed in curl/curl#12086.

@triplef triplef reopened this Oct 25, 2023
triplef added a commit that referenced this issue Oct 25, 2023
Fixes build errors in libcurl with NDK r26 due to fseeko not being available with API level 23 on armeabi-v7a.

Fixes #17.
@triplef
Copy link
Member Author

triplef commented Oct 25, 2023

Fixed by updating Android target SDK to 24, which has fseeko available on armeabi-v7a.

@SirLynix
Copy link

SirLynix commented Apr 3, 2024

Here's the fix for Android < 24: curl/curl#13264, in case someone hits the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants