I'm having an issue compiling current top of tree. I just updated the mysys64 environment (using pacman and instructions on the compiling mame page). I also did a Make Clean before rebuilding.

Am I doing something wrong? Any thoughts would be appreciated.

I'm on Win 10 / 22h2 / 19045.2728 and get the following:

[MINGW64] C:\_Development\MameDev\msys64\src\mame>git reset --hard
HEAD is now at 6dc6efdbb58 k053260: allow to change rev flag on the fly

[MINGW64] C:\_Development\MameDev\msys64\src\mame>git pull
Already up to date.

[MINGW64] C:\_Development\MameDev\msys64\src\mame>make -j21 ARCHOPTS="-fuse-ld=lld"
GCC 12.2.0 detected
Compiling generated/version.cpp...
Emitting mame_mame_vers.rc...
Compiling resources generated/resource/mame_mame_vers.rc...
Linking mame.exe...
C:/_Development/MameDev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../../../../mingw-gcc/obj/x64/Release/generated/mame/mame/drivlist.o:drivlist.cpp:(.rdata+0x490d0): undefined reference to `driver_turbosub'
C:/_Development/MameDev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../../../../mingw-gcc/obj/x64/Release/generated/mame/mame/drivlist.o:drivlist.cpp:(.rdata+0x490d8): undefined reference to `driver_turbosub6'
C:/_Development/MameDev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../../../../mingw-gcc/obj/x64/Release/generated/mame/mame/drivlist.o:drivlist.cpp:(.rdata+0x490e0): undefined reference to `driver_turbosub7'
C:/_Development/MameDev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/_Development/MameDev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../lib\libstdc++.a(cp-demangle.o):(.text+0x972): undefined reference to `__chk_fail'
C:/_Development/MameDev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/_Development/MameDev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../lib\libstdc++.a(cp-demangle.o):(.text+0x64a5): undefined reference to `__chk_fail'
C:/_Development/MameDev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/_Development/MameDev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../lib\libstdc++.a(cp-demangle.o):(.text+0x7e51): undefined reference to `__chk_fail'
collect2.exe: error: ld returned 1 exit status
mame.make:270: recipe for target '../../../../../mame.exe' failed
make[2]: *** [../../../../../mame.exe] Error 1
makefile:1096: recipe for target 'mame' failed
make[1]: *** [mame] Error 2
makefile:1109: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2

Thanks

Last edited by MrBogi; 04/03/23 01:41 AM.