[FFmpeg-user] compile failure during make
Gyan Doshi
ffmpeg at gyani.pro
Fri Mar 8 08:28:22 EET 2024
On 2024-03-08 06:06 am, Jim Worrall wrote:
> I’ve been building ffmpeg on a Mac since 2017, and this is the first time I’ve run into this kind of problem. I pulled the latest git head today. After getting all the dependencies set up, I configure ffmpeg successfully like this:
>
> ./configure \
> --prefix=${TARGET} \
> --extra-cflags="-fno-stack-check" \
> --pkg-config-flags="--static" \
> --enable-nonfree --enable-gpl --enable-version3 \
> --enable-libx264 --enable-libx265 --enable-neon \
> --enable-libfdk-aac --disable-lzma \
> --enable-libfreetype \
> --enable-libfontconfig \
> --enable-libfribidi \
> --enable-libass \
> --enable-libzimg
>
> Then the 'make' command fails pretty quickly. Starting with the first error:
The library major versions have been bumped so there's a change in ABI /
API.
Do a make distclean and rerun configure.
Regards,
Gyan
>
> libavdevice/avfoundation.m:1298:6: error: field designator 'priv_data_size' does not refer to any field in type 'const AVInputFormat' (aka 'const struct AVInputFormat')
> .priv_data_size = sizeof(AVFContext),
> ^
> libavdevice/avfoundation.m:1299:6: error: field designator 'read_header' does not refer to any field in type 'const AVInputFormat' (aka 'const struct AVInputFormat')
> .read_header = avf_read_header,
> ^
> libavdevice/avfoundation.m:1300:6: error: field designator 'read_packet' does not refer to any field in type 'const AVInputFormat' (aka 'const struct AVInputFormat')
> .read_packet = avf_read_packet,
> ^
> libavdevice/avfoundation.m:1301:6: error: field designator 'read_close' does not refer to any field in type 'const AVInputFormat' (aka 'const struct AVInputFormat')
> .read_close = avf_close,
> ^
> 8 warnings and 4 errors generated.
> make: *** [libavdevice/avfoundation.o] Error 1
> JimsMBPro:ffmpeg jim$
>
> To me it looks like an internal ffmpeg problem, but I’m far from an expert at compiling. Any idea what is wrong?
>
> Jim
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list