Am Mo., 12. Aug. 2019 um 00:16 Uhr schrieb Jonathan Alland
<[email protected]>:

> I am trying to compile a build of ffmpeg on macOS X 10.6.8. My hope is to 
> eventually get a
> statically linked binary which is also Snow Leopard compatible.

I wonder what you need this binary for.

> I am using the following options:
>
> ./configure --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus 
> --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass 
> --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug 
> --enable-libmp3lame --enable-libopenjpeg --enable-libopus 
> --enable-librubberband --enable-libsnappy --enable-libsoxr --enable-libspeex 
> --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx 
> --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 
> --enable-libxvid --enable-libzmq --enable-version3 
> --pkg-config-flags=--static --enable-nonfree --enable-libfdk-aac 
> --extra-ldflags=-L/opt/local/lib
>
> The compilation fails at libavcodec/audiotoolboxenc.o. The last few lines are:
>
> CC      libavcodec/audiotoolboxenc.o
> warning: unknown warning option: -Werror=partial-availability
> warning: unknown warning option: -Wempty-body
> warning: unknown warning option: -Wno-unused-const-variable
> warning: unknown warning option: -Wno-bool-operation
> libavcodec/audiotoolboxenc.c:70:20: error: use of undeclared identifier
>       'kAudioFormatMPEG4AAC_ELD'
>             return kAudioFormatMPEG4AAC_ELD;

Use --disable-audiotoolbox (and possibly --disable-videotoolbox)

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to