[MPlayer-users] Problems building from the repository (Alexander Strasser)

Ludger Haarhoff lhaarhoff at freenet.de
Mon Jun 2 09:04:00 EEST 2025


Hi George, I'm not Alexander.Please take care that your mail reach the receiver. Regards Ludger
-------- Ursprüngliche Nachricht --------Von: George R Goffe <grgoffe-at-yahoo.com at ffmpeg.org> Datum: 01.06.25  23:32  (GMT+01:00) An: mplayer-users at mplayerhq.hu Betreff: Re: [MPlayer-users] Problems building from the repository
  (Alexander Strasser) 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? 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,>  AlexanderSince 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..._______________________________________________MPlayer-users mailing listMPlayer-users at mplayerhq.huhttps://lists.mplayerhq.hu/mailman/listinfo/mplayer-users


More information about the MPlayer-users mailing list