m-ab-s / media-autobuild_suite

This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
GNU General Public License v3.0
1.49k stars 257 forks source link

ffmpeg_g causes build error #2620

Closed OliverMD15 closed 2 months ago

OliverMD15 commented 3 months ago

logs.zip


19:27:47 ┌ ffmpeg git  ............................... [Recently updated]
19:27:47 ├ Changing options to comply to nonfree...
CUDA_PATH environment variable not set or directory does not exist.
19:27:48 ├ Compiling static FFmpeg...
19:27:49 ├ Running configure...
19:29:36 ├ Running make...
Likely error (tail of the failed operation logfile):
LD      ffplay_g.exe
LD      ffprobe_g.exe
C:/Download/Media-Autobuild/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/Download/Media-Autobuild/local64/lib/libbluray.a(libbluray_la-dec.o):dec.c:(.text+0x280): multiple definition of `dec_init'; fftools/ffmpeg_dec.o:ffmpeg_dec.c:(.text+0x27c0): first defined here
collect2.exe: error: ld returned 1 exit status
make: *** [/build/ffmpeg-git/Makefile:136: ffmpeg_g.exe] Error 1
make: *** Waiting for unfinished jobs....
LD      ffmpeg_g.exe
C:/Download/Media-Autobuild/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/Download/Media-Autobuild/local64/lib/libbluray.a(libbluray_la-dec.o):dec.c:(.text+0x280): multiple definition of `dec_init'; fftools/ffmpeg_dec.o:ffmpeg_dec.c:(.text+0x27c0): first defined here
collect2.exe: error: ld returned 1 exit status
make: *** [/build/ffmpeg-git/Makefile:136: ffmpeg_g.exe] Error 1
make failed. Check C:/Download/Media-Autobuild/build/ffmpeg-git/build-static-64bit/ab-suite.make.log
This is required for other packages, so this script will exit.
19:30:51   Creating diagnostics file...
1480c1 commented 2 months ago

Same issue as https://github.com/m-ab-s/media-autobuild_suite/issues/2627