[MPlayer-users] Can't compile
Alexander Strasser
eclipse7 at gmx.net
Fri May 7 22:31:26 EEST 2021
On 2021-05-07 12:16 -0700, Scott W. Larson wrote:
> I hate to keep the "Can't compile" thread going, but I can't figure out how
> to compile mplayer on Fedora 34. This is a compile from a clean pull from
> svn.
Sorry, we still need to fix mencoder.
However as I said before, building mplayer with `make mplayer` should
work fine. So as long you only need mplayer and not mencoder, you
should be fine.
We are working on fixing the build for mencoder.
Best regards,
Alexander
>
> Things go wrong here (I think FF_PRED_LEFT should be #define to 0):
>
> 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 -march=native
> -mtune=native -pipe -ffast-math -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 -DZLIB_CONST -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:187:3: warning: #warning "_BSD_SOURCE and
> _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning
> "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~
>
> libmpcodecs/ve_lavc.c:102:42: *error:* 'FF_PRED_LEFT' undeclared here (not
> in a function)
>
> 102 | static int lavc_param_prediction_method= FF_PRED_LEFT; | ^~~~~~~~~~~~
> libmpcodecs/ve_lavc.c: In function 'config':
>
> libmpcodecs/ve_lavc.c:347:22: *error:* 'AVCodecContext' has no member named
> 'b_frame_strategy' 347 | lavc_venc_context->b_frame_strategy=
> lavc_param_vb_strategy; libmpcodecs/ve_lavc.c:349:22: *error:*
> 'AVCodecContext' has no member named 'rtp_payload_size' 349 |
> lavc_venc_context->rtp_payload_size= lavc_param_packet_size; | ^~
> libmpcodecs/ve_lavc.c:366:22: *error:* 'AVCodecContext' has no member named
> 'pre_me' 366 | lavc_venc_context->pre_me= lavc_param_pre_me; | ^~
>
> libmpcodecs/ve_lavc.c:371:24: *error:* 'AVCodecContext' has no member named
> 'coder_type'; did you mean 'codec_type'? 371 |
> lavc_venc_context->coder_type= lavc_param_coder; | ^~~~~~~~~~ | codec_type
>
> libmpcodecs/ve_lavc.c:372:22: *error:* 'AVCodecContext' has no member named
> 'context_model' 372 | lavc_venc_context->context_model= lavc_param_context;
> | ^~
>
> libmpcodecs/ve_lavc.c:373:22: *error:* 'AVCodecContext' has no member named
> 'scenechange_threshold' 373 | lavc_venc_context->scenechange_threshold=
> lavc_param_sc_threshold; | ^~
>
> libmpcodecs/ve_lavc.c:374:22: *error: *'AVCodecContext' has no member named
> 'noise_reduction' 374 | lavc_venc_context->noise_reduction=
> lavc_param_noise_reduction; | ^~ libmpcodecs/ve_lavc.c:376:22: *error:*
> 'AVCodecContext' has no member named 'frame_skip_threshold' 376 |
> lavc_venc_context->frame_skip_threshold= lavc_param_skip_threshold;
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
Alexander
More information about the MPlayer-users
mailing list