[MPlayer-users] Problems building from the repository
Alexander Strasser
eclipse7 at gmx.net
Tue Apr 1 01:23:55 EEST 2025
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? This 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-after-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-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/p11-kit-1 -I/usr/include/samba-4.0 -D_REENTRANT -D_REENTRANT -I/usr/lsd/Linux/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/include/bs2b -I/usr/lsd/Linux/include -I/usr/include/libxml2 -DWITH_GZFILEOP -c -o libvo/vo_png.o libvo/vo_png.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_license'? [-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
More information about the MPlayer-users
mailing list