Your message dated Mon, 27 Nov 2006 16:16:16 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#400590: libdts-dev: simple test program fails linking with 
 -Wl,--as-needed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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();
       }

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
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.

--- End Message ---

Reply via email to