Bug#400590: libdts-dev: simple test program fails linking with -Wl,--as-needed

2006-11-27 Thread A Mennucc
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

Bug#400590: libdts-dev: simple test program fails linking with -Wl,--as-needed

2006-11-27 Thread Sam Hocevar
On Mon, Nov 27, 2006, A Mennucc wrote: $ 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

Bug#400590: libdts-dev: simple test program fails linking with -Wl,--as-needed

2006-11-27 Thread Sam Hocevar
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

Bug#400590: libdts-dev: simple test program fails linking with -Wl,--as-needed

2006-11-27 Thread A Mennucc
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