[FFmpeg-user] compiling for android

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Jul 9 18:03:00 CEST 2014

Patrick Shirkey <pshirkey <at> boosthardware.com> writes:

> #define _GNU_SOURCE 1
> #include <math.h>
> int main(void)
> {
>  double a, b, c;
>  sincos(a, &b, &c);
>  return b*c;
> }
> /tmp/ccIGXQay.o:testlm.c:function main: error: undefined 
> reference to 'sincos'

You will have to find out why it fails.
A work-around in FFmpeg is possible but it 
needs at least an explanation (and the 
usual trolls will be against fixing the 

This is all assuming sincos is POSIX (or 
similar), if it is not the issue will be 
easily fixed.

Carl Eugen

More information about the ffmpeg-user mailing list