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' /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/libdts.a(parse.o): In function `dts_init': (.text+0x135): undefined reference to `cos' /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/libdts.a(parse.o): In function `dts_init': (.text+0x187): undefined reference to `cos' /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/libdts.a(parse.o): In function `dts_init': (.text+0x1d0): undefined reference to `sin' collect2: ld returned 1 exit status a. -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (500, 'testing'), (450, 'unstable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-1-amd64 Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) -- no debconf information
extern int dts_init(); int main(){ dts_init(); }
signature.asc
Description: Digital signature