[FFmpeg-user] compiling for android
Carl Eugen Hoyos
cehoyos at ag.or.at
Wed Jul 9 12:38:54 CEST 2014
Patrick Shirkey <pshirkey <at> boosthardware.com> writes:
> -DCNU_SOURCE is an ifdef in math.h included in the NDK.
> #ifdef _GNU_SOURCE
Now please remove it from your configure line, as said
it is not just wrong but also unneeded: If it turns out
that it is needed, it would be a serious bug in FFmpeg,
please report it (in that case)!
> > The following compiles fine here (no cross-compiling) with
> > gcc -lm. If it doesn't work for your cross-compiler, I
> > suspect you have to fix it before you can compile FFmpeg.
> >
> > #define _GNU_SOURCE
> > #include <math.h>
> > int main(void)
> > {
> > double a, b, c;
> > sincos(a, &b, &c);
> > return b*c;
> > }
> - I have tried several options for trying to bypass
> the problem
Did you try to compile the code I posted?
Without any options?
With -fno-builtin-sincos?
Carl Eugen
More information about the ffmpeg-user
mailing list