[Ffmpeg-devel] Re: have cos and sin left libm??

sean seandarcy2
Sun Oct 22 20:15:32 CEST 2006

V?ctor Paesa wrote:

> Most probably, the order of libraries matters in your plaform.
> Could you try:
> gcc -Wl,--warn-common -Wl,--as-needed -pthread -o
>  /tmp/ffmpeg-conf-22367-19483-692 /tmp/ffmpeg-conf-3
>  1736-19483-25707.o -ldts -lz -lm
> Regards,
> V?ctor

That worked, but I couldn't figure out how to patch 
configure to generate that order. So I hacked configure to 
remove --as-needed.

I suppose the better solution is to change the order of 
included libs, but I couldn't figure out how.


More information about the ffmpeg-devel mailing list