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.53k stars 264 forks source link

multiple definition of #2505

Open cantrell216 opened 1 year ago

cantrell216 commented 1 year ago

libplacebo git .......................................... [Already built] Running git update for ffmpeg... ┌ ffmpeg git ......................................... [Recently updated] ├ Changing options to comply to nonfree... ├ Compiling static FFmpeg... ├ Running configure... ├ Running make... Likely error (tail of the failed operation logfile): collect2.exe: error: ld returned 1 exit status make: [/build/ffmpeg-git/Makefile:133: ffplay_g.exe] Error 1 make: Waiting for unfinished jobs.... make: [/build/ffmpeg-git/Makefile:133: ffmpeg_g.exe] Error 1 collect2.exe: error: ld returned 1 exit status make: [/build/ffmpeg-git/Makefile:133: ffprobe_g.exe] Error 1 LD ffmpeg_g.exe C:/ffmpeg/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/ffmpeg/local64/lib/libvulkan.a(cJSON.c.obj):cJSON.c:(.text+0x180): multiple definition of `parse_number'; fftools/cmdutils.o:cmdutils.c:(.text+0x11d0): first defined here collect2.exe: error: ld returned 1 exit status make: *** [/build/ffmpeg-git/Makefile:133: ffmpeg_g.exe] Error 1 make failed. Check C:/ffmpeg/build/ffmpeg-git/build-static-64bit/ab-suite.make.log This is required for other packages, so this script will exit. Creating diagnostics file...

Attach C:\ffmpeg\build\logs.zip to the GitHub issue. Make sure the suite is up-to-date before reporting an issue. It might've been fixed already.

Try running the build again at a later time.

LD ffmpeg_g.exe LD ffplay_g.exe LD ffprobe_g.exe C:/ffmpeg/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/ffmpeg/local64/lib/libvulkan.a(cJSON.c.obj):cJSON.c:(.text+0x180): multiple definition of parse_number'; fftools/cmdutils.o:cmdutils.c:(.text+0x11d0): first defined here C:/ffmpeg/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/ffmpeg/local64/lib/libvulkan.a(cJSON.c.obj):cJSON.c:(.text+0x180): multiple definition ofparse_number'; fftools/cmdutils.o:cmdutils.c:(.text+0x11d0): first defined here C:/ffmpeg/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/ffmpeg/local64/lib/libvulkan.a(cJSON.c.obj):cJSON.c:(.text+0x180): multiple definition of parse_number'; fftools/cmdutils.o:cmdutils.c:(.text+0x11d0): first defined here collect2.exe: error: ld returned 1 exit status collect2.exe: error: ld returned 1 exit status make: *** [/build/ffmpeg-git/Makefile:133: ffplay_g.exe] Error 1 make: *** Waiting for unfinished jobs.... make: *** [/build/ffmpeg-git/Makefile:133: ffmpeg_g.exe] Error 1 collect2.exe: error: ld returned 1 exit status make: *** [/build/ffmpeg-git/Makefile:133: ffprobe_g.exe] Error 1 LD ffmpeg_g.exe C:/ffmpeg/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/ffmpeg/local64/lib/libvulkan.a(cJSON.c.obj):cJSON.c:(.text+0x180): multiple definition ofparse_number'; fftools/cmdutils.o:cmdutils.c:(.text+0x11d0): first defined here collect2.exe: error: ld returned 1 exit status make: *** [/build/ffmpeg-git/Makefile:133: ffmpeg_g.exe] Error 1

failed operation logfile): collect2.exe: error: ld returned 1 exit status make: [/build/ffmpeg-git/Makefile:133: ffplay_g.exe] Error 1 make: Waiting for unfinished jobs.... make: [/build/ffmpeg-git/Makefile:133: ffmpeg_g.exe] Error 1 collect2.exe: error: ld returned 1 exit status make: [/build/ffmpeg-git/Makefile:133: ffprobe_g.exe] Error 1 LD ffmpeg_g.exe C:/ffmpeg/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/ffmpeg/local64/lib/libvulkan.a(cJSON.c.obj):cJSON.c:(.text+0x180): multiple definition of `parse_number'; fftools/cmdutils.o:cmdutils.c:(.text+0x11d0): first defined here collect2.exe: error: ld returned 1 exit status make: *** [/build/ffmpeg-git/Makefile:133: ffmpeg_g.exe] Error 1 make failed. Check C:/ffmpeg/build/ffmpeg-git/build-static-64bit/ab-suite.make.log(B This is required for other packages, so this script will exit.(B Creating diagnostics file... logs.zip

Attach C:\ffmpeg\build\logs.zip to the GitHub issue.(B Make sure the suite is up-to-date before reporting an issue. It might've been fixed already. [?2004h[?2004l Try running the build again at a later time.