MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

perfectguide
MAME Fan
Reged: 03/23/19
Posts: 10
Send PM


Error occurs while Compiling Mame Plus
#381845 - 04/05/19 03:56 AM


Hello mameworld,

I'm trying to compile Mame Plus 0.159 from its source, but 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


The same error occurs when compile the latter version of mame plus.

Thanks for advance.



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


Re: Error occurs while Compiling Mame Plus new [Re: perfectguide]
#381846 - 04/05/19 05:30 AM


Is there a reason you are trying to compile something that is 48 versions behind? I'd think it would be easier trying to find binary download of that.



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


Re: Error occurs while Compiling Mame Plus new [Re: perfectguide]
#381848 - 04/05/19 06:32 AM


You're not going to get much help. You're asking about a fork of an outdated version of MAME.



perfectguide
MAME Fan
Reged: 03/23/19
Posts: 10
Send PM


Re: Error occurs while Compiling Mame Plus new [Re: MooglyGuy]
#381849 - 04/05/19 08:00 AM


Thank you for reply.

Beacuse I want to make Mame Plus binary without nag screen.
I tried to find the binary of that, but none exists.

Actually the version didn't matter.
Even compiling the latest 0.168 version of Mame Plus, the same error occured.



I also found and tried the other method below.

https://www.gameex.info/forums/topic/6114-tutorial-compile-mame-plus-to-remove-nag-screens/

but almost all of the links were dead, so I couldn't follow the instructions.



perfectguide
MAME Fan
Reged: 03/23/19
Posts: 10
Send PM


Re: Error occurs while Compiling Mame Plus new [Re: Vas Crabb]
#381850 - 04/05/19 08:03 AM


Thank you for reply.

I know this is outdated question, but I need Mame Plus version so I can't help it...



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


Re: Error occurs while Compiling Mame Plus new [Re: perfectguide]
#381851 - 04/05/19 08:28 AM


It would be more worth your time in putting together the latest development environment with the toolsets on MAMEDev and then pulling in the source code for the latest version - version 0.207 and build that. There is absolutely no reason to try to build these archaic builds.



perfectguide
MAME Fan
Reged: 03/23/19
Posts: 10
Send PM


Re: Error occurs while Compiling Mame Plus new [Re: MooglyGuy]
#381852 - 04/05/19 08:44 AM


I tried it but even the latest 0.207 version of MAME doesn't support autofire or custom button function.



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


Re: Error occurs while Compiling Mame Plus new [Re: perfectguide]
#381853 - 04/05/19 08:56 AM


> Thank you for reply.
>
> I know this is outdated question, but I need Mame Plus version so I can't help it...

Well you're on your own - if it breaks, you get to keep the pieces.



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


Re: Error occurs while Compiling Mame Plus new [Re: perfectguide]
#381854 - 04/05/19 08:57 AM


> I tried it but even the latest 0.207 version of MAME doesn't support autofire or
> custom button function.

MAME does support per-button autofire if you enable cheats.



perfectguide
MAME Fan
Reged: 03/23/19
Posts: 10
Send PM


Re: Error occurs while Compiling Mame Plus new [Re: Vas Crabb]
#381855 - 04/05/19 09:37 AM


I didn't know that.
Can I use custom buttons in official MAME too?



B2K24
MAME @ 15 kHz Sony Trinitron CRT user
Reged: 10/25/10
Posts: 2663
Send PM


Re: Error occurs while Compiling Mame Plus new [Re: perfectguide]
#381856 - 04/05/19 12:17 PM


> I didn't know that.
> Can I use custom buttons in official MAME too?

Of course. Download it and try it out for yourself.



Haze
Reged: 09/23/03
Posts: 5245
Send PM


Re: Error occurs while Compiling Mame Plus new [Re: B2K24]
#381858 - 04/05/19 02:01 PM


> > I didn't know that.
> > Can I use custom buttons in official MAME too?
>
> Of course. Download it and try it out for yourself.

Also I'm surprised anybody is bothering to provide help given the reason provided is one of the worst reasons for compiling your own version of MAME.

The screens he is trying to remove are not nag screens, they're valuable information screens that save countless users headaches, and are one of the most important parts of MAME providing a positive user experience.

The majority of unwanted support cases are caused by people who have removed them.

The majority of wasted user time is caused by people who have removed them then tried to fix emulation problems they should have been warned of by changing countless other settings, reinstalling video drivers etc. when they should have seen a warning telling them there was nothing they could do and that problems are expected.

The simple cost of asking them to press a button on startup each time they attempt to run a game with known problems is not worth the damage and confusion making it optional or removing it entirely causes.

Even if the weak excuse of 'it is on a cab, it needs to be authentic' is used, that's nonsense, because anything with the warnings is going to have non-authentic emulation even if you take away the warnings.

One of the most common reasons / cases I've seen for people trying to hack it out instead is unwanted commercial bootlegs that want to hide they're running MAME (and anything based on a version this old would be illegal to sell anyway)

But there's literally no reason to provide support to somebody if their only goal is to make unwanted, and potentially damaging changes. Even worse if they're creating newer guides to help people do this (which the username might suggest) and worse still if they end up distributing those binaries.

A single button press on startup to dismiss a warning is completely insignificant compared to the number of button presses you're going to make when the game is running. Just consider it flicking the power switch at the wall, or getting a coin out your pocket ready to put in.

Luckily the majority have now seen these screens as the valuable things they are, which is probably why you're finding far less builds with them removed (not least, because I imagine the places offering such builds were also getting unwanted support requests from users with problems they should have been warned about)



joey35car
MAME Fan
Reged: 02/07/07
Posts: 1112
Loc: Planet Claire
Send PM


Re: Error occurs while Compiling Mame Plus new [Re: perfectguide]
#381859 - 04/05/19 03:41 PM


You can find a no nag MAME 208 here[/url].

You will need to create an account.


Rule #10



Haze
Reged: 09/23/03
Posts: 5245
Send PM


Re: Error occurs while Compiling Mame Plus new [Re: joey35car]
#381860 - 04/05/19 04:17 PM


> You can find a no nag MAME 208 here.
>
> You will need to create an account.

why link to such things? this is a dick move of the highest level.

they only cause damage, problems and user support headaches of which I've had to deal with my fair share of over the years due to idiots like this distributing them, or promoting their removal / ability to disable as a positive.

do you like creating extra (unwanted) support work?

we don't want them distributed, especially not as binaries.

you are not doing anybody (especially the developers and support network) any favours. you're not even *really* doing the person asking for them any favors because it's a stupid thing to ask for; they ultimately forget, try playing something that's full of bugs and have a bad experience, all because they didn't seen what would have been a helpful warning.

we've seen this time and time again, only recently has it started dying down as most people have realised these builds are a terrible idea.



TafoidAdministrator
I keep on testing.. testing.. testing... into the future!
Reged: 04/19/06
Posts: 3135
Loc: USA
Send PM


Re: Error occurs while Compiling Mame Plus new [Re: Haze]
#381861 - 04/05/19 06:48 PM


Locking Thread due to Rule #10
http://www.mameworld.info/ubbthreads/rules.php?Cat=


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

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