[MPlayer-users] compilation succeeds, make install fails ...
Antonio Olivares
olivares14031 at yahoo.com
Fri May 26 19:54:39 EEST 2023
Dear mplayer-users,
on fedora 37 aarch64 system. I try compiling mplayer from source, compiliation succeeds, but install fails :
...
In function 'check_intra_mode',
inlined from 'intra_recon' at libavcodec/vp9recon.c:273:24,
inlined from 'ff_vp9_intra_recon_8bpp' at libavcodec/vp9recon.c:290:5:
libavcodec/vp9recon.c:178:21: warning: 'top' may be used uninitialized [-Wmaybe-uninitialized]
178 | memcpy(&(*a)[4 * bytesperpixel], &top[4 * bytesperpixel], 4 * bytesperpixel);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavcodec/vp9recon.c: In function 'ff_vp9_intra_recon_8bpp':
libavcodec/vp9recon.c:97:18: note: 'top' was declared here
97 | uint8_t *top, *topleft;
| ^~~
In file included from libavcodec/get_bits.h:32,
from libavcodec/vp9dec.h:36:
In function 'check_intra_mode',
inlined from 'intra_recon' at libavcodec/vp9recon.c:244:20,
inlined from 'ff_vp9_intra_recon_16bpp' at libavcodec/vp9recon.c:295:5:
./libavutil/intreadwrite.h:594:59: warning: 'topleft' may be used uninitialized [-Wmaybe-uninitialized]
594 | (((av_alias##n*)(d))->u##n = ((const av_alias##n*)(s))->u##n)
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
./libavutil/intreadwrite.h:597:28: note: in expansion of macro 'AV_COPY'
597 | # define AV_COPY16(d, s) AV_COPY(16, d, s)
| ^~~~~~~
libavcodec/vp9recon.c:160:9: note: in expansion of macro 'AV_COPY16'
160 | AV_COPY16(&(c)[(i1) * 2], &(v)[(i2) * 2]); \
| ^~~~~~~~~
libavcodec/vp9recon.c:163:21: note: in expansion of macro 'assign_bpp'
163 | assign_bpp(*a, -1, topleft, -1);
| ^~~~~~~~~~
libavcodec/vp9recon.c: In function 'ff_vp9_intra_recon_16bpp':
libavcodec/vp9recon.c:97:24: note: 'topleft' was declared here
97 | uint8_t *top, *topleft;
| ^~~~~~~
In function 'check_intra_mode',
inlined from 'intra_recon' at libavcodec/vp9recon.c:244:20,
inlined from 'ff_vp9_intra_recon_16bpp' at libavcodec/vp9recon.c:295:5:
libavcodec/vp9recon.c:178:21: warning: 'top' may be used uninitialized [-Wmaybe-uninitialized]
178 | memcpy(&(*a)[4 * bytesperpixel], &top[4 * bytesperpixel], 4 * bytesperpixel);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavcodec/vp9recon.c: In function 'ff_vp9_intra_recon_16bpp':
libavcodec/vp9recon.c:97:18: note: 'top' was declared here
97 | uint8_t *top, *topleft;
| ^~~
In function 'check_intra_mode',
inlined from 'intra_recon' at libavcodec/vp9recon.c:273:24,
inlined from 'ff_vp9_intra_recon_16bpp' at libavcodec/vp9recon.c:295:5:
./libavutil/intreadwrite.h:594:59: warning: 'topleft' may be used uninitialized [-Wmaybe-uninitialized]
594 | (((av_alias##n*)(d))->u##n = ((const av_alias##n*)(s))->u##n)
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
./libavutil/intreadwrite.h:597:28: note: in expansion of macro 'AV_COPY'
597 | # define AV_COPY16(d, s) AV_COPY(16, d, s)
| ^~~~~~~
libavcodec/vp9recon.c:160:9: note: in expansion of macro 'AV_COPY16'
160 | AV_COPY16(&(c)[(i1) * 2], &(v)[(i2) * 2]); \
| ^~~~~~~~~
libavcodec/vp9recon.c:163:21: note: in expansion of macro 'assign_bpp'
163 | assign_bpp(*a, -1, topleft, -1);
| ^~~~~~~~~~
libavcodec/vp9recon.c: In function 'ff_vp9_intra_recon_16bpp':
libavcodec/vp9recon.c:97:24: note: 'topleft' was declared here
97 | uint8_t *top, *topleft;
| ^~~~~~~
In function 'check_intra_mode',
inlined from 'intra_recon' at libavcodec/vp9recon.c:273:24,
inlined from 'ff_vp9_intra_recon_16bpp' at libavcodec/vp9recon.c:295:5:
libavcodec/vp9recon.c:178:21: warning: 'top' may be used uninitialized [-Wmaybe-uninitialized]
178 | memcpy(&(*a)[4 * bytesperpixel], &top[4 * bytesperpixel], 4 * bytesperpixel);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavcodec/vp9recon.c: In function 'ff_vp9_intra_recon_16bpp':
libavcodec/vp9recon.c:97:18: note: 'top' was declared here
97 | uint8_t *top, *topleft;
| ^~~
AR libavcodec/libavcodec.a
make[1]: Leaving directory '/home/olivares/Downloads/mplayer/ffmpeg'
[olivares at fedora mplayer]$
...
203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len);
| ~~~~~~~~~~~~~~~^~~
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=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DZLIB_CONST -I/usr/include/libxml2 -c -o libmpdemux/muxer_mpeg.o libmpdemux/muxer_mpeg.c
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=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DZLIB_CONST -I/usr/include/libxml2 -c -o libmpdemux/muxer_rawaudio.o libmpdemux/muxer_rawaudio.c
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=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DZLIB_CONST -I/usr/include/libxml2 -c -o libmpdemux/muxer_rawvideo.o libmpdemux/muxer_rawvideo.c
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=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DZLIB_CONST -I/usr/include/libxml2 -c -o libmpcodecs/ae_lavc.o libmpcodecs/ae_lavc.c
libmpcodecs/ae_lavc.c: In function 'bind_lavc':
libmpcodecs/ae_lavc.c:53:9: warning: 'channels' is deprecated [-Wdeprecated-declarations]
53 | mux_a->wf->nChannels = lavc_actx->channels;
| ^~~~~
In file included from libmpcodecs/ae_lavc.c:39:
ffmpeg/libavcodec/avcodec.h:1066:9: note: declared here
1066 | int channels;
| ^~~~~~~~
libmpcodecs/ae_lavc.c: In function 'mpae_init_lavc':
libmpcodecs/ae_lavc.c:154:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
154 | lavc_acodec = avcodec_find_encoder_by_name(lavc_param_acodec);
| ^
libmpcodecs/ae_lavc.c:195:9: warning: 'channels' is deprecated [-Wdeprecated-declarations]
195 | lavc_actx->channels = encoder->params.channels;
| ^~~~~~~~~
ffmpeg/libavcodec/avcodec.h:1066:9: note: declared here
1066 | int channels;
| ^~~~~~~~
libmpcodecs/ae_lavc.c:222:17: warning: 'channels' is deprecated [-Wdeprecated-declarations]
222 | int framesize = (blkalign - 4 * lavc_actx->channels) * 8 / (4 * lavc_actx->channels) + 1;
| ^~~
ffmpeg/libavcodec/avcodec.h:1066:9: note: declared here
1066 | int channels;
| ^~~~~~~~
libmpcodecs/ae_lavc.c:222:17: warning: 'channels' is deprecated [-Wdeprecated-declarations]
222 | int framesize = (blkalign - 4 * lavc_actx->channels) * 8 / (4 * lavc_actx->channels) + 1;
| ^~~
ffmpeg/libavcodec/avcodec.h:1066:9: note: declared here
1066 | int channels;
| ^~~~~~~~
libmpcodecs/ae_lavc.c:241:17: warning: 'channels' is deprecated [-Wdeprecated-declarations]
241 | lavc_actx->frame_size = (lavc_actx->block_align - 4 * lavc_actx->channels) * 8 / (4 * lavc_actx->channels) + 1;
| ^~~~~~~~~
ffmpeg/libavcodec/avcodec.h:1066:9: note: declared here
1066 | int channels;
| ^~~~~~~~
libmpcodecs/ae_lavc.c:241:17: warning: 'channels' is deprecated [-Wdeprecated-declarations]
241 | lavc_actx->frame_size = (lavc_actx->block_align - 4 * lavc_actx->channels) * 8 / (4 * lavc_actx->channels) + 1;
| ^~~~~~~~~
ffmpeg/libavcodec/avcodec.h:1066:9: note: declared here
1066 | int channels;
| ^~~~~~~~
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=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DZLIB_CONST -I/usr/include/libxml2 -c -o libmpcodecs/ve_lavc.o libmpcodecs/ve_lavc.c
In file included from /usr/include/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from libmpcodecs/ve_lavc.c:21:
/usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
| ^~~~~~~
libmpcodecs/ve_lavc.c: In function 'put_image':
libmpcodecs/ve_lavc.c:725:13: warning: 'top_field_first' is deprecated [-Wdeprecated-declarations]
725 | pic->top_field_first= !!(mpi->fields & MP_IMGFIELD_TOP_FIRST);
| ^~~
In file included from ffmpeg/libavcodec/avcodec.h:35,
from libmpcodecs/ve_lavc.c:58:
ffmpeg/libavutil/frame.h:528:9: note: declared here
528 | int top_field_first;
| ^~~~~~~~~~~~~~~
libmpcodecs/ve_lavc.c:727:13: warning: 'top_field_first' is deprecated [-Wdeprecated-declarations]
727 | pic->top_field_first= 1;
| ^~~
ffmpeg/libavutil/frame.h:528:9: note: declared here
528 | int top_field_first;
| ^~~~~~~~~~~~~~~
libmpcodecs/ve_lavc.c:730:13: warning: 'top_field_first' is deprecated [-Wdeprecated-declarations]
730 | pic->top_field_first= lavc_param_top;
| ^~~
ffmpeg/libavutil/frame.h:528:9: note: declared here
528 | int top_field_first;
| ^~~~~~~~~~~~~~~
libmpcodecs/ve_lavc.c: In function 'encode_frame':
libmpcodecs/ve_lavc.c:743:9: warning: 'frame_number' is deprecated [-Wdeprecated-declarations]
743 | pts= lavc_venc_context->frame_number * av_q2d(lavc_venc_context->time_base);
| ^~~
ffmpeg/libavcodec/avcodec.h:1100:9: note: declared here
1100 | int frame_number;
| ^~~~~~~~~~~~
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=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DZLIB_CONST -I/usr/include/libxml2 -c -o libmpdemux/muxer_lavf.o libmpdemux/muxer_lavf.c
libmpdemux/muxer_lavf.c: In function 'fix_parameters':
libmpdemux/muxer_lavf.c:195:17: warning: 'channels' is deprecated [-Wdeprecated-declarations]
195 | ctx->channels = stream->wf->nChannels;
| ^~~
In file included from ffmpeg/libavformat/avformat.h:314,
from libmpdemux/muxer_lavf.c:40:
ffmpeg/libavcodec/codec_par.h:173:14: note: declared here
173 | int channels;
| ^~~~~~~~
libmpdemux/muxer_lavf.c:202:20: warning: the comparison will always evaluate as 'true' for the pointer operand in 'stream->wf + 18' must not be NULL [-Waddress]
202 | if(stream->wf+1 && stream->wf->cbSize)
| ^~~~~~
libmpdemux/muxer_lavf.c: In function 'write_chunk':
libmpdemux/muxer_lavf.c:257:9: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
257 | av_init_packet(&pkt);
| ^~~~~~~~~~~~~~
In file included from ffmpeg/libavformat/avformat.h:316:
ffmpeg/libavcodec/packet.h:512:6: note: declared here
512 | void av_init_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
libmpdemux/muxer_lavf.c: In function 'muxer_init_muxer_lavf':
libmpdemux/muxer_lavf.c:358:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
358 | fmt = av_guess_format(conf_format, NULL, NULL);
| ^
libmpdemux/muxer_lavf.c:360:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
360 | fmt = av_guess_format(NULL, out_filename, NULL);
| ^
libmpdemux/muxer_lavf.c: In function 'write_header':
libmpdemux/muxer_lavf.c:296:9: warning: ignoring return value of 'avformat_write_header' declared with attribute 'warn_unused_result' [-Wunused-result]
296 | avformat_write_header(priv->oc, &opts);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DZLIB_CONST -I/usr/include/libxml2 -c -o libmpcodecs/ae_lame.o libmpcodecs/ae_lame.c
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=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DZLIB_CONST -I/usr/include/libxml2 -c -o libmpcodecs/ve_xvid4.o libmpcodecs/ve_xvid4.c
./codec-cfg etc/codecs.conf > codecs.conf.h
Reading optional codecs config file etc/codecs.conf: 226 audio & 469 video codecs
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=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DZLIB_CONST -I/usr/include/libxml2 -c -o codec-cfg.o codec-cfg.c
codec-cfg.c: In function 'parse_codec_cfg':
codec-cfg.c:632:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
632 | video_codecs = builtin_video_codecs;
| ^
codec-cfg.c:633:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
633 | audio_codecs = builtin_audio_codecs;
| ^
codec-cfg.c:636:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
636 | codec_strs = builtin_codec_strs;
| ^
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=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DZLIB_CONST -I/usr/include/libxml2 -c -o mpcommon.o mpcommon.c
make -C ffmpeg libswscale/libswscale.a
make[1]: Entering directory '/home/olivares/Downloads/mplayer/ffmpeg'
CC libswscale/utils.o
In file included from libswscale/utils.c:51:
./libavutil/thread.h:27:5: warning: "HAVE_PRCTL" is not defined, evaluates to 0 [-Wundef]
27 | #if HAVE_PRCTL
| ^~~~~~~~~~
./libavutil/thread.h: In function 'ff_thread_setname':
./libavutil/thread.h:197:5: warning: "HAVE_PRCTL" is not defined, evaluates to 0 [-Wundef]
197 | #if HAVE_PRCTL
| ^~~~~~~~~~
In file included from ./libavutil/aarch64/cpu.h:23,
from libswscale/utils.c:52:
libswscale/utils.c: In function 'initFilter':
./libavutil/cpu_internal.h:27:6: error: 'HAVE_LSX' undeclared (first use in this function); did you mean 'HAVE_LASX'?
27 | (HAVE_ ## cpuext ## suffix && ((flags) & AV_CPU_FLAG_ ## cpuext))
| ^~~~~
./libavutil/cpu_internal.h:43:31: note: in expansion of macro 'CPUEXT_SUFFIX'
43 | #define CPUEXT(flags, cpuext) CPUEXT_SUFFIX(flags, , cpuext)
| ^~~~~~~~~~~~~
./libavutil/loongarch/cpu.h:28:25: note: in expansion of macro 'CPUEXT'
28 | #define have_lsx(flags) CPUEXT(flags, LSX)
| ^~~~~~
libswscale/utils.c:656:33: note: in expansion of macro 'have_lsx'
656 | if (have_lasx(cpu_flags) || have_lsx(cpu_flags)) {
| ^~~~~~~~
./libavutil/cpu_internal.h:27:6: note: each undeclared identifier is reported only once for each function it appears in
27 | (HAVE_ ## cpuext ## suffix && ((flags) & AV_CPU_FLAG_ ## cpuext))
| ^~~~~
./libavutil/cpu_internal.h:43:31: note: in expansion of macro 'CPUEXT_SUFFIX'
43 | #define CPUEXT(flags, cpuext) CPUEXT_SUFFIX(flags, , cpuext)
| ^~~~~~~~~~~~~
./libavutil/loongarch/cpu.h:28:25: note: in expansion of macro 'CPUEXT'
28 | #define have_lsx(flags) CPUEXT(flags, LSX)
| ^~~~~~
libswscale/utils.c:656:33: note: in expansion of macro 'have_lsx'
656 | if (have_lasx(cpu_flags) || have_lsx(cpu_flags)) {
| ^~~~~~~~
libswscale/utils.c: In function 'sws_init_single_context':
./libavutil/cpu_internal.h:27:6: error: 'HAVE_LSX' undeclared (first use in this function); did you mean 'HAVE_LASX'?
27 | (HAVE_ ## cpuext ## suffix && ((flags) & AV_CPU_FLAG_ ## cpuext))
| ^~~~~
./libavutil/cpu_internal.h:43:31: note: in expansion of macro 'CPUEXT_SUFFIX'
43 | #define CPUEXT(flags, cpuext) CPUEXT_SUFFIX(flags, , cpuext)
| ^~~~~~~~~~~~~
./libavutil/loongarch/cpu.h:28:25: note: in expansion of macro 'CPUEXT'
28 | #define have_lsx(flags) CPUEXT(flags, LSX)
| ^~~~~~
libswscale/utils.c:1809:37: note: in expansion of macro 'have_lsx'
1809 | have_lsx(cpu_flags) ? 8 :
| ^~~~~~~~
make[1]: *** [ffbuild/common.mak:81: libswscale/utils.o] Error 1
make[1]: Leaving directory '/home/olivares/Downloads/mplayer/ffmpeg'
make: *** [Makefile:744: ffmpeg/libswscale/libswscale.a] Error 2
Best Regards,
Antonio
More information about the MPlayer-users
mailing list