Previous Thread
Next Thread
Print Thread
Can't run MAME 0.216 on macOS #116506 11/27/19 08:47 PM
Joined: May 1999
Posts: 568
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 568
So, this is a new one: when trying to start my freshly compiled MAME 0.216 using Xcode 11.2.1 under Catalina, I'm getting the following error:

Code
zsh: exec format error: ./MAME


I did not observe anything special during compilation (but I did not pay special attention either).

I had no problems using the previous version on macOS 10.15 (using the same version of Xcode, maybe 0.1 version earlier).

Re: Can't run MAME 0.216 on macOS [Re: Carbon] #116507 11/27/19 09:44 PM
Joined: Mar 2001
Posts: 16,391
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,391
What does 'file MAME' say?

Re: Can't run MAME 0.216 on macOS [Re: Carbon] #116508 11/27/19 10:42 PM
Joined: May 1999
Posts: 568
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 568
data

Is it missing the executable bit?

Edit: doesn't seem so:

-rwxr-xr-x@ 1 charel staff 304706984 Nov 27 12:36 MAME

Last edited by Carbon; 11/27/19 10:43 PM.
Re: Can't run MAME 0.216 on macOS [Re: Carbon] #116509 11/28/19 01:39 AM
Joined: Feb 2004
Posts: 2,095
Vas Crabb Offline
Very Senior Member
Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,095
You're not trying to run a 32-bit build, are you? Catalina completely removes support for 32-bit executables.

Re: Can't run MAME 0.216 on macOS [Re: Carbon] #116510 11/28/19 01:46 AM
Joined: Mar 2001
Posts: 16,391
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,391
Again, what does 'file MAME' say? It should be like this:

Code
mame64: Mach-O 64-bit executable x86_64

Re: Can't run MAME 0.216 on macOS [Re: Carbon] #116512 11/28/19 08:48 AM
Joined: May 1999
Posts: 568
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 568
It says "data" (see above). I checked with Go64, it's not a 64 bit app.

Re: Can't run MAME 0.216 on macOS [Re: Carbon] #116519 11/28/19 08:52 PM
Joined: May 1999
Posts: 568
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 568
I tried another compilation, this time using the internal SSD and not the external Thunderbolt disk. MAME works fine now.

I noticed the file was 56 byte shorter and now showed the version number in the macOS Get Info dialog, which the previous one did not.

Re: Can't run MAME 0.216 on macOS [Re: Carbon] #116521 11/28/19 09:27 PM
Joined: Mar 2001
Posts: 16,391
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,391
Hmm. Disk location shouldn't matter, but at least it's resolved smile

Re: Can't run MAME 0.216 on macOS [Re: Carbon] #116523 11/28/19 09:59 PM
Joined: May 1999
Posts: 568
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 568
Exactly my thoughts smile


Moderated by  R. Belmont 

Who's Online Now
1 registered members (reenigne), 65 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,722
Posts114,638
Members4,873
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3