[MPlayer-users] Compile error with actual ffmpeg source (undefined reference to `ff_mediacodec...)

max muster steyding at yahoo.de
Thu Dec 1 16:12:21 EET 2022


 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


More information about the MPlayer-users mailing list