On Sat, Feb 20, 2016 at 02:36:08PM -0500, Vittorio Giovara wrote:
> On Sat, Feb 20, 2016 at 12:57 PM, Diego Biurrun <di...@biurrun.de> wrote:
> > On Sat, Feb 20, 2016 at 11:22:18AM -0500, Vittorio Giovara wrote:
> >> On Sat, Feb 20, 2016 at 6:46 AM, Diego Biurrun <di...@biurrun.de> wrote:
> >> > On Sat, Feb 20, 2016 at 04:22:37AM -0500, Vittorio Giovara wrote:
> >> >> The test program fails to build with `configure --disable-decoders`.
> >> >
> >> > I cannot reproduce.
> >>
> >> my full config line is
> >>
> >> ./configure --enable-debug --cc=gcc-5 --enable-nonfree --enable-gnutls
> >> --disable-doc --disable-vda --disable-decoders --enable-decoder=wmv2
> >
> > make distclean && ./configure --enable-debug --disable-doc --disable-vda 
> > --disable-decoders --enable-decoder=wmv2 && make -j 8 libavcodec/dct-test
> >
> > works fine here
> 
> I am able to reproduce with that exact same line, on OSX, with clang and gcc

Are you on Git HEAD and did you distclean?  The wmv2 decoder depends on
idctdsp, which ..

> >> >> --- a/libavcodec/Makefile
> >> >> +++ b/libavcodec/Makefile
> >> >> @@ -797,7 +797,7 @@ HOSTPROGS = aac_tablegen                            
> >> >>                     \
> >> >>
> >> >> -$(SUBDIR)dct-test$(EXESUF): $(SUBDIR)dctref.o $(SUBDIR)aandcttab.o
> >> >> +$(SUBDIR)dct-test$(EXESUF): $(SUBDIR)idctdsp.o $(SUBDIR)dctref.o 
> >> >> $(SUBDIR)aandcttab.o
> >> >
> >> > What symbols does dct-test use from idctdsp?  I see none.
> >>
> >> When I then run make fate I get
> >>
> >> LD    libavcodec/dct-test
> >> Undefined symbols for architecture x86_64:
> >>   "_ff_add_pixels_clamped", referenced from:
> >>       _ff_jref_idct_add in libavcodec.a(jrevdct.o)
> >>       _ff_simple_idct_add_mmx in libavcodec.a(simple_idct.o)
> >>   "_ff_put_pixels_clamped", referenced from:
> >>       _ff_jref_idct_put in libavcodec.a(jrevdct.o)
> >>       _ff_simple_idct_put_mmx in libavcodec.a(simple_idct.o)
> >> ld: symbol(s) not found for architecture x86_64
> >
> > Please post the verbose command so that we can actually get some 
> > information.
> 
> $ make -j 8 libavcodec/dct-test V=1
> gcc -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat
> -Llibavresample -Llibavutil -Llibswscale
> -Wl,-dynamic,-search_paths_first -Qunused-arguments  -o
> libavcodec/dct-test libavcodec/dct-test.o libavcodec/dctref.o
> libavcodec/aandcttab.o libavcodec/libavcodec.a -lavutil -framework
> Foundation -framework AVFoundation -framework CoreVideo -framework
> CoreMedia -lm -lbz2 -lz -pthread
> Undefined symbols for architecture x86_64:
>   "_ff_add_pixels_clamped", referenced from:
>       _ff_jref_idct_add in libavcodec.a(jrevdct.o)
>       _ff_simple_idct_add_mmx in libavcodec.a(simple_idct.o)
>   "_ff_put_pixels_clamped", referenced from:
>       _ff_jref_idct_put in libavcodec.a(jrevdct.o)
>       _ff_simple_idct_put_mmx in libavcodec.a(simple_idct.o)

.. contains these symbols.

I'd say find out why idctdsp is not enabled.

Diego
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to