[MPlayer-users] Problems building from the repository (Alexander Strasser)
George R Goffe
grgoffe at yahoo.com
Mon Jun 2 00:32:01 EEST 2025
Hi Alexander,
Please accept my apology for missing your response to my post about "avcodec_close".
>Hi George!
>
>On 2025-03-31 14:49 +0000, George R Goffe wrote:
>> Howdy,
>>
>> This problem has been the bane of my existence... sort of.
>>
>> Here's what I'm seeing. Can anyone take a look at this and point me in the direction of a fix please? Th
is attempt was with just a ./configure for configuration. The problem happens with 2 separate gcc packages.
Ones is from their repository... Still no luck.
>>
>> Best regards and thanks ahead of time,
>>
>> George...
>>
>> cc -MMD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-
security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-a
fter-statement -std=c11 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600
-D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -fomit-frame-pointer -fno-tree-vectoriz
e -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -D
PIC -D_REENTRANT -I/usr/include/p11-kit-1 -I/usr/include/samba-4.0 -D_REENTRANT -D_REENTRANT -I/usr/lsd/Lin
ux/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.
0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DZLIB_CONST -I/usr/include/opus -I/usr/i
nclude/bs2b -I/usr/lsd/Linux/include -I/usr/include/libxml2 -DWITH_GZFILEOP -c -o libvo/vo_png.o libvo/vo_p
ng.c
>> libvo/vo_png.c: In function 'config':
>> libvo/vo_png.c:129:9: error: implicit declaration of function 'avcodec_close'; did you mean 'avcodec_lic
ense'? [-Wimplicit-function-declaration]
>> ? 129 |???????? avcodec_close(avctx);
>> ????? |???????? ^~~~~~~~~~~~~
>> ????? |???????? avcodec_license
>> libvo/vo_png.c: In function 'draw_image':
>> libvo/vo_png.c:176:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
>> ? 176 |???? av_init_packet(&pkt);
>> ????? |???? ^~~~~~~~~~~~~~
>> In file included from ffmpeg/libavcodec/avcodec.h:44,
>> ???????????????? from libvo/vo_png.c:43:
>> ffmpeg/libavcodec/packet.h:666:6: note: declared here
>> ? 666 | void av_init_packet(AVPacket *pkt);
>> ????? |????? ^~~~~~~~~~~~~~
>
>The problem is that MPlayers sources don't compile after the recent
>major bump of FFmpeg. Thus building of MPlayer with FFmpeg git master
>fails.
>
>To avoid build failure you can either compile against latest FFmpeg 7.1
>release or against a ffmpeg master version before the bump which
>happened IIRC last week on Friday.
>
>Sorry for the inconvenience :(
>
>Best regards,
> Alexander
Since my post about this problem I have continued checking MPlayer status.
Again, sorry for missing your post.
The problem still exists as of this date. I have questions about this. Is anyone working this problem? Should I contact the FFmpeg people?
As a note. I did find a version of MPlayer that does build at "https://github.com/rpmfusion/mplayer.git". It seems to work as I have had no problems. I WANT to use the svn version of MPlayer in an effort to further the cause as it were.
Thank you SO MUCH for responding.
Best regards,
George...
More information about the MPlayer-users
mailing list