On Mon, Nov 27, 2006, A Mennucc wrote:
> Package: libdts-dev
> Version: 0.0.2-svn-1
> Severity: normal
> 
> hi
> 
> I am trying to compile ffmpeg ;
> ffmpeg uses a very simple test program (see attachment) and then
>  tries to compile it, but fails as follows
> 
> $ gcc -fomit-frame-pointer -pthread -c pippo.c
> $ gcc -Wl,--warn-common -Wl,--as-needed -pthread -o pippo pippo.o -lm -lz 
> -ldts
> /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/libdts.a(parse.o): In 
> function `dts_init':
> (.text+0xcf): undefined reference to `cos'

   You just need to put -lm after -ldts.

-- 
Sam.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to