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

Rich Felker dalias
Mon Oct 23 05:33:13 CEST 2006


On Sun, Oct 22, 2006 at 06:33:16PM +0100, M?ns Rullg?rd 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
> >
> > Yes, if libdts uses libm then -lm MUST be after -ldts.
> 
> Assuming libdts is a static lib, yes.  If it were an EVIL shared lib,
> it could link to libm all by itself.

I'm talking about the specification, not some particular
implementation like SYSV ELF shared libraries. If you're writing
correct software you write it to the spec rather than to a particular
implementation.

Rich





More information about the ffmpeg-devel mailing list