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

#undef HAVE_POSIX_MEMALIGN #6

Open
Chainfire opened this issue Oct 25, 2014 · 3 comments
Open

#undef HAVE_POSIX_MEMALIGN #6

Chainfire opened this issue Oct 25, 2014 · 3 comments

Comments

@Chainfire
Copy link

Tried building on my box today, got (fatal) implicit declaration of posix_memalign at line 95 of libavutil/mem.c.

Checked config.h, HAVE_POSIX_MEMALIGN == 1, however Android doesn't. Undef'ing it fixed the issue.

@trshafer
Copy link
Member

which version of android are you running against. I think we built ours against jellybean. If you have a pull request modification we'll accept it if it doesn't break backward changes.

@icastell
Copy link

I had the same issue compiling with the latest ndk version (r10c). I changed for r10 ndk version and everything works. So its a problem using the latest ndk.

@jeffreywescott
Copy link
Contributor

@icastell -- we'd love a pull request for this if you get it working on r10c!

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

No branches or pull requests

4 participants