Re: Problems building from the repository
Alexander Strasser <[email protected]> Tue, 1 Apr 2025 00:23:55 +0200
| Newsgroups | gmane.comp.video.mplayer.user |
|---|---|
| Message-ID | <[email protected]> |
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 th= e direction of a fix please? This attempt was with just a ./configure for c= onfiguration. The problem happens with 2 separate gcc packages. Ones is fro= m their repository... Still no luck. > > Best regards and thanks ahead of time, > > George... > > cc -MMD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -W= redundant-decls -Werror=3Dformat-security -Wstrict-prototypes -Wmissing-pro= totypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-state= ment -std=3Dc11 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=3D2= 00112 -D_XOPEN_SOURCE=3D600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=3Dnati= ve -mtune=3Dnative -pipe -fomit-frame-pointer -fno-tree-vectorize -fno-asyn= chronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -D_LARG= EFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/p11-kit-1 -I/usr/inc= lude/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/inc= lude/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthre= ad -DZLIB_CONST -I/usr/include/opus -I/usr/include/bs2b -I/usr/lsd/Linux/in= clude -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_cl= ose'; did you mean 'avcodec_license'? [-Wimplicit-function-declaration] > =A0 129 |=A0=A0=A0=A0=A0=A0=A0=A0 avcodec_close(avctx); > =A0=A0=A0=A0=A0 |=A0=A0=A0=A0=A0=A0=A0=A0 ^~~~~~~~~~~~~ > =A0=A0=A0=A0=A0 |=A0=A0=A0=A0=A0=A0=A0=A0 avcodec_license > libvo/vo_png.c: In function 'draw_image': > libvo/vo_png.c:176:5: warning: 'av_init_packet' is deprecated [-Wdeprecat= ed-declarations] > =A0 176 |=A0=A0=A0=A0 av_init_packet(&pkt); > =A0=A0=A0=A0=A0 |=A0=A0=A0=A0 ^~~~~~~~~~~~~~ > In file included from ffmpeg/libavcodec/avcodec.h:44, > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 from libvo/vo_png.c:43: > ffmpeg/libavcodec/packet.h:666:6: note: declared here > =A0 666 | void av_init_packet(AVPacket *pkt); > =A0=A0=A0=A0=A0 |=A0=A0=A0=A0=A0 ^~~~~~~~~~~~~~ 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