On Mon, Nov 27, 2006 at 04:16:16PM +0100, Sam Hocevar wrote:
> 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.

uh! curious fact!

why?

a.

-- 
Andrea Mennucc

"The EULA sounds like it was written by a team of lawyers who want to tell 
me what I can't do, and the GPL sounds like it was written by a human 
being who wants me to know what I can do."
Anonymous,    http://www.securityfocus.com/columnists/420


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

Reply via email to