[Libav-user] FFmpeg 2.1.3 and Git HEAD builds fail on OS X

Lucas Soltic lucas.soltic at orange.fr
Wed Feb 19 15:40:50 CET 2014


Hello,

I'm running OS X 10.9 and I'm not able to build FFmpeg dynamic libraries with decoders disabled. 
I use this configure command:
../configure --disable-yasm --enable-shared --disable-decoders

For FFmpeg 2.1.3, it fails with the following:
LD	libavcodec/libavcodec.55.dylib
Undefined symbols for architecture x86_64:
  "_ff_hevc_compute_poc", referenced from:
      _hevc_parse in hevc_parser.o
  "_ff_hevc_decode_nal_pps", referenced from:
      _hevc_parse in hevc_parser.o
  "_ff_hevc_decode_nal_sei", referenced from:
      _hevc_parse in hevc_parser.o
  "_ff_hevc_decode_nal_sps", referenced from:
      _hevc_parse in hevc_parser.o
  "_ff_hevc_decode_nal_vps", referenced from:
      _hevc_parse in hevc_parser.o
  "_ff_hevc_extract_rbsp", referenced from:
      _hevc_parse in hevc_parser.o

Full build log here: http://pastebin.com/wiayd4tA

For FFmpeg HEAD from the git repository (git://source.ffmpeg.org/ffmpeg.git), it fails with the following:
LD	libavfilter/libavfilter.4.dylib
Undefined symbols for architecture x86_64:
  "_av_dct_calc", referenced from:
      _filter_frame in vf_dctdnoiz.o
  "_av_dct_end", referenced from:
      _uninit in vf_dctdnoiz.o
  "_av_dct_init", referenced from:
      _init in vf_dctdnoiz.o

Full build log here: http://pastebin.com/WCwmh6TW

If I remove the --disable-decoders configure flag, then both FFmpeg 2.1.3 and FFmpeg HEAD build fine. However I wish to use this option in order to enable only a few decoders in my build, for legal reasons, thus this is a blocking issue to me.

My OS:
uname -rsv
Darwin 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64

And compiler:
clang -v
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix

Regards,
Lucas SOLTIC


More information about the Libav-user mailing list