Opened 3 years ago
Closed 3 years ago
#2385 closed defect (invalid)
libavformat/matroskaenc.c: undeclared, possibly renamed symbols
Reported by: | LigH | Owned by: | beastd |
---|---|---|---|
Priority: | normal | Component: | libavformat |
Version: | HEAD | Severity: | blocker |
Keywords: | Cc: | LigH | |
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
Summary of the bug:
Compiling in media-autobuild suite (MSYS2/MinGW on Windows with GCC 11.3) fails. Several symbols are not found, but similar symbols are suggested as possible alternatives. Was there a refactoring?
libavformat/matroskaenc.c:3258:26: error: 'CONFIG_LIBVORBIS_ENCODER' undeclared here (not in a function); did you mean 'CONFIG_VORBIS_PARSER'? 3258 | .audio_codec = CONFIG_LIBVORBIS_ENCODER ? | ^~~~~~~~~~~~~~~~~~~~~~~~ | CONFIG_VORBIS_PARSER libavformat/matroskaenc.c:3260:26: error: 'CONFIG_LIBX264_ENCODER' undeclared here (not in a function); did you mean 'CONFIG_LIBX264'? 3260 | .video_codec = CONFIG_LIBX264_ENCODER ? | ^~~~~~~~~~~~~~~~~~~~~~ | CONFIG_LIBX264 libavformat/matroskaenc.c:3296:26: error: 'CONFIG_LIBOPUS_ENCODER' undeclared here (not in a function); did you mean 'CONFIG_LIBOPENJPEG'? 3296 | .audio_codec = CONFIG_LIBOPUS_ENCODER ? AV_CODEC_ID_OPUS : AV_CODEC_ID_VORBIS, | ^~~~~~~~~~~~~~~~~~~~~~ | CONFIG_LIBOPENJPEG libavformat/matroskaenc.c:3297:26: error: 'CONFIG_LIBVPX_VP9_ENCODER' undeclared here (not in a function) 3297 | .video_codec = CONFIG_LIBVPX_VP9_ENCODER? AV_CODEC_ID_VP9 : AV_CODEC_ID_VP8, | ^~~~~~~~~~~~~~~~~~~~~~~~~
How to reproduce:
CPPFLAGS: -D_FORTIFY_SOURCE=0 -D__USE_MINGW_ANSI_STDIO=1 CFLAGS: -mthreads -mtune=generic -O2 -pipe CXXFLAGS: -mthreads -mtune=generic -O2 -pipe LDFLAGS: -pipe -static-libgcc -static-libstdc++ make -j4 install help/help_create.sh help/help_mp-en.h UTF-8 ... CC libavformat/matroskaenc.o
Attachments (1)
Change History (3)
by , 3 years ago
Attachment: | ab-suite.install.log added |
---|
comment:1 by , 3 years ago
On a different PC it passed. Not sure if you (or libavformat) changed anything relevant in the meantime...
comment:2 by , 3 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Deleted mplayer and previous ffmpeg projects to get a fresh checkout, now it builds.
Note:
See TracTickets
for help on using tickets.
make install log