MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

Gyruss59
MAME Fan
Reged: 05/23/11
Posts: 5
Send PM


Compilation Mame 245 Error
#394384 - 07/04/22 04:33 PM


Hello

Do you know how we can correct this error with the official mame sources when i try to compile ?
I tried several times, and always the same error at the end of compilation :


Quote:


1532 source file(s) found
Compiling resources generated/resource/mame_arcade_vers.rc...
34376 driver(s) found
Compiling generated/mame/arcade/drivlist.cpp...
Linking mamearcade.exe...
D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../../../../mingw-gcc/bin/x64/Release/mame_arcade/liboptional.a(voodoo.o):voodoo.cpp:(.text+0x25a1): undefined reference to `screen_device::screen_device(machine_config const&, char const*, device_t*, unsigned int)'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [mamearcade.make:283: ../../../../../mamearcade.exe] Error 1
make[1]: *** [Makefile:430: mamearcade] Error 2
make: *** [makefile:1113: windows_x64] Error 2





Thanks



Vas Crabb
BOFH
Reged: 12/13/05
Posts: 4466
Loc: Melbourne, Australia
Send PM


Re: Compilation Mame 245 Error new [Re: Gyruss59]
#394388 - 07/05/22 08:42 AM


Remove all the .a files in your build folder and try again? That constructor is defined in emu/screen.cpp which ends up in libemu.a.



Gyruss59
MAME Fan
Reged: 05/23/11
Posts: 5
Send PM


Re: Compilation Mame 245 Error new [Re: Vas Crabb]
#394390 - 07/05/22 05:05 PM


hello
I tried, but the error go back.
I remember i got the same error with an older mame (234), since no problem, but with mame 245, the problem go back again.

Appears that i am the only to compile mame and have this error ?



MooglyGuy
Renegade MAME Dev
Reged: 09/01/05
Posts: 2261
Send PM


Re: Compilation Mame 245 Error new [Re: Gyruss59]
#394391 - 07/05/22 06:04 PM


> hello
> I tried, but the error go back.
> I remember i got the same error with an older mame (234), since no problem, but with
> mame 245, the problem go back again.
>
> Appears that i am the only to compile mame and have this error ?

Show us how you are invoking make.



Gyruss59
MAME Fan
Reged: 05/23/11
Posts: 5
Send PM


Re: Compilation Mame 245 Error new [Re: MooglyGuy]
#394394 - 07/07/22 09:03 AM


I use this argument :
make -j5 subtarget=arcade ARCHOPTS=-march=athlon64 STRIP_SYMBOLS=1 PTR64=1 TOOLS=1

But, now i can compile again mame, but i had to update the tools, and i compiled with mingw 12.1, and i must use buildtools.bat, msys64.exe and msys2.exe are not working, the compilation don't start (python or mingw32 not configured problem).

With mingw 9.2, 10.2, and the most recent in mamedev, the compulation is not possible for me.


Pages: 1

MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 194 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 374