MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

perfectguide
MAME Fan
Reged: 03/23/19
Posts: 10
Send PM
Trouble in Compiling Mame Plus 0.159
03/25/19 05:02 PM


Hello mameworld,

I'm trying to compile Mame Plus 0.159 from its source, but I when I execute 'make' through 'mkgcc-w64.cmd', I fail again and again because of 'makefile:1049: recipe for target 'mamepui64.exe' failed' error.

If anyone know what matters, please help..
I'm compiling on Windows 7 or 10(both 64bit)
and my mingw directory locates in D:\mingw\mingw64-w64.
gcc version seems to be 4.9.1 maybe.



Here is my mame source

https://drive.google.com/open?id=1pRSG0PjUasV0mrSQ9RLFYuQ-rsP1MhfK

and here is some of the compile log I got.

https://drive.google.com/open?id=1zYtjwvAk_h66XocNSn5RWrrIUYLfTUdF


A lot of

'undefined reference to' message on drivelist.c or o

appears, then in the end it says

D:/mingw/mingw64-w64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-
w64-mingw32/bin/ld.exe: obj/windows/mamep64/mame/drivlist.o: bad reloc address 0
x0 in section `.rdata'
collect2.exe: error: ld returned 1 exit status
makefile:1049: recipe for target 'mamepui64.exe' failed
make: *** [mamepui64.exe] Error 1



Thanks for advance.







Entire thread
Subject Posted by Posted on
* Trouble in Compiling Mame Plus 0.159 perfectguide 03/25/19 05:02 PM
. * Re: Trouble in Compiling Mame Plus 0.159 cyberdman  03/25/19 11:26 PM
. * Re: Trouble in Compiling Mame Plus 0.159 perfectguide  03/26/19 12:20 AM
. * Re: Trouble in Compiling Mame Plus 0.159 cyberdman  03/26/19 02:33 AM
. * Re: Trouble in Compiling Mame Plus 0.159 perfectguide  03/26/19 04:24 AM
. * Re: Trouble in Compiling Mame Plus 0.159 cyberdman  03/27/19 12:04 AM
. * Re: Trouble in Compiling Mame Plus 0.159 perfectguide  03/27/19 02:23 AM
. * Re: Trouble in Compiling Mame Plus 0.159 cyberdman  03/27/19 11:05 PM
. * Re: Trouble in Compiling Mame Plus 0.159 perfectguide  03/29/19 02:20 AM
. * Re: Trouble in Compiling Mame Plus 0.159 cyberdman  03/29/19 02:44 AM

Extra information Permissions
Moderator:  Pi 
0 registered and 7 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 818