Compile error with actual ffmpeg source (undefined reference to `ff_mediacodec...)

max muster <[email protected]> Thu, 1 Dec 2022 14:12:21 +0000 (UTC)
Newsgroups gmane.comp.video.mplayer.user
Message-ID <[email protected]>
 Hello,
i've got the following error if i compile mplayer from actual SVN and actual FFMPEG git in MSYS2 environment:
D:/master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ffmpeg/libavcodec/mediacodecenc.o:mediacodecenc.c:(.text.unlikely+0x38): undefined reference to `ff_mediacodec_surface_unref'D:/master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ffmpeg/libavcodec/mediacodecenc.o:mediacodecenc.c:(.text.unlikely+0xe0): undefined reference to `ff_AMediaCodec_createEncoderByType'
D:/master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ffmpeg/libavcodec/mediacodecenc.o:mediacodecenc.c:(.text.unlikely+0x118): undefined reference to `ff_AMediaFormat_new'
D:/master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ffmpeg/libavcodec/mediacodecenc.o:mediacodecenc.c:(.text.unlikely+0x1da): undefined reference to `ff_mediacodec_surface_ref'
D:/master/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ffmpeg/libavcodec/mediacodecenc.o:mediacodecenc.c:(.text.unlikely+0x223): undefined reference to `ff_mediacodec_surface_ref'
collect2.exe: error: ld returned 1 exit status
make: *** [Makefile:751: mplayer.exe] Error 1

Regards, Mark