[Ffmpeg-devel] Re: Latest SVN failing to configure

Aaron Williams aaronw
Thu Oct 26 01:22:02 CEST 2006


Hi

On Thu, 26 Oct 2006, MXns_RullgXrd wrote:

> Sebastian Freundt <sfreundt at easy-call.net> writes:
>
> > Pavlov Konstantin <thresh at cpms.ru> writes:
> >
> >> On Tuesday 24 October 2006 20:41, Aaron Williams wrote:
> >>> The latest svn version is failing to configure.  On an Athlon64 system
> >>> it no longer recognizes dts.  Looks like it's forgetting to include the
> >>> math library when linking:
> >>>
> >>> check_cpp
> >>> BEGIN /tmp/ffmpeg-conf-2777-24927-26328.c
> >>>      1    #include <dts.h>
> >>>      2    int x;
> >>> END /tmp/ffmpeg-conf-2777-24927-26328.c
> >>> gcc -march=athlon64 -fomit-frame-pointer -E -o
> >>> /tmp/ffmpeg-conf-10660-24927-4214.o /tmp/ffmpeg-conf-2777-24927-26328.c
> >>> check_func dts_init
> >>> check_ld
> >>> check_cc
> >>> BEGIN /tmp/ffmpeg-conf-2777-24927-26328.c
> >>>      1    extern int dts_init();
> >>>      2    int main(){
> >>>      3        dts_init();
> >>>      4    }
> >>> END /tmp/ffmpeg-conf-2777-24927-26328.c
> >>> gcc -march=athlon64 -fomit-frame-pointer -c -o
> >>> /tmp/ffmpeg-conf-10660-24927-4214.o /tmp/ffmpeg-conf-2777-24927-26328.c
> >>> gcc -Wl,--warn-common -Wl,--as-needed -o
> >>> /tmp/ffmpeg-conf-7477-24927-31302 /tmp/ffmpeg-conf-10660-24927-4214.o
> >>> -lm -lz -ldts
> >>> /usr/local/lib/libdts.a(parse.o): In function `dts_init':
> >>> parse.c:(.text+0x59a): undefined reference to `cos'
> >>> parse.c:(.text+0x5f2): undefined reference to `cos'
> >>> parse.c:(.text+0x638): undefined reference to `cos'
> >>> parse.c:(.text+0x67d): undefined reference to `sin'
> >>> collect2: ld returned 1 exit status
> >>> ERROR: libdts not found
> >>
> >> It looks more like your dts wasnt linked with -lm, which is
> >> erroneus with ld ran with -as-needed.
> >
> > Oh, I solved the problem (temporarily) by putting the $extralibs after
> > -ldts.
>
> It should work with latest svn.  Please try and report.
>
> --
> M?ns Rullg?rd
> mru at inprovide.com

The latest svn works again.  Thanks.





More information about the ffmpeg-devel mailing list