[Ffmpeg-devel] Latest SVN failing to configure
Tue Oct 24 21:52:02 CEST 2006
I'm a bit sorry about the tone of my last email. The problem in configure
seems to be caused by the addition of -Wl,--as-needed. This seems to
somehow make the order of the libraries important, or else it breaks
something in the linker. In my testing, if I remove this, I no longer
need to add -lm after -ldts.
On Tue, 24 Oct 2006, Aaron Williams wrote:
> On Tue, 24 Oct 2006, Pavlov Konstantin wrote:
> > On Tuesday 24 October 2006 21:44, Aaron Williams wrote:
> > > I have some more information. ?libdts is not a .so file. ?I found that
> > > if I added -lm after -ldts then it works fine. ?I also ran into a
> > > problem with lame, which also required -lm after -lmp3lame.
> > >
> > > svn diff configure
> > > Index: configure
> > > ===================================================================
> > > --- configure ? (revision 6789)
> > > +++ configure ? (working copy)
> > > @@ -1302,9 +1302,9 @@
> > > ?fi
> > >
> > > ?# these are off by default, so fail if requested and not available
> > > -enabled dts ? ? && require libdts dts.h dts_init -ldts
> > > +enabled dts ? ? && require libdts dts.h dts_init -ldts -lm
> > > ?enabled libgsm ?&& require libgsm gsm.h gsm_create -lgsm
> > > -enabled mp3lame && require LAME lame/lame.h lame_init -lmp3lame
> > > +enabled mp3lame && require LAME lame/lame.h lame_init -lmp3lame -lm
> > > ?enabled vorbis ?&& require libvorbis vorbis/vorbisenc.h
> > > vorbis_info_init -lvorbis -lvorbisenc -logg
> > > ?enabled libogg ?&& require libogg ogg/ogg.h ogg_sync_init -logg
> > > ?enabled xvid ? ?&& require XviD xvid.h xvid_global -lxvidcore
> > This is not the real fix to the problem.
> > Fixing your builds of dts/lame is.
> > --
> > Pavlov Konstantin,
> > CPMS Network,
> > jid: thresh at altlinux.org
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at mplayerhq.hu
> > http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
> Would you please tell me what is wrong with using the standard ./configure
> ; make ; make install is for dts, or lame for that matter? There are
> very few configure options in libdts.
> The output is libdts.a and libdts_pic.a. I did not touch my build of
> libdts or lame between last week, when everything worked fine, and the
> latest SVN, which does not. The libraries for lame and dts also did not
> change between then and now. Could you please tell me what is wrong with
> the dts build or what I need to hack up for it to work with ffmpeg,
> because I can't find a problem with it.
> Note that this is compiled on an Athlon64 with GCC 4.1.0.
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
More information about the ffmpeg-devel