Previous Thread
Next Thread
Print Thread
Page 2 of 2 1 2
Re: Mac compile fails [Re: CRP] #116524 11/30/19 12:50 PM
Joined: Dec 2005
Posts: 108
CRP Offline OP
Senior Member
OP Offline
Senior Member
Joined: Dec 2005
Posts: 108
I have tried remounting the NAS as smb, then I have re-cloned the git repository, and finally I run "make -j 1". compile always fails with the following message:

Generating ../build/projects/sdl/mame/gmake-osx-clang/mame.make...
Done. Generated 364/364 projects.
Creating ../../../../osx_clang/bin/x64/Release
Precompiling src/emu/emu.h...
Compiling src/emu/drivers/empty.cpp...
fatal error: malformed or corrupted AST file: 'malformed block record in AST file'
1 error generated.
make[2]: *** [../../../../osx_clang/obj/x64/Release/src/emu/drivers/empty.o] Error 1
make[1]: *** [precompile] Error 2
make: *** [macosx_x64_clang] Error 2

Re: Mac compile fails [Re: CRP] #116525 11/30/19 03:55 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
That's an internal Clang error. Apparently it can happen if there's bad/stale data in ~/Library/Developer/Xcode/DerivedData/ModuleCache, so deleting the contents of that directory can help.

Re: Mac compile fails [Re: CRP] #116526 11/30/19 04:37 PM
Joined: Dec 2005
Posts: 108
CRP Offline OP
Senior Member
OP Offline
Senior Member
Joined: Dec 2005
Posts: 108
Thanks, I found a similar suggestion online, but there is no Developer folder in my Library. btw I am just using Command Line tools (which has always worked in the past for me). Do I need a full XCode installation?

Re: Mac compile fails [Re: CRP] #116527 11/30/19 05:19 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
No, you shouldn't need a full install. I guess for now the advice is to only compile MAME on your Mac's internal drive, and then move it to external afterwards.

Re: Mac compile fails [Re: CRP] #116528 11/30/19 05:37 PM
Joined: Dec 2005
Posts: 108
CRP Offline OP
Senior Member
OP Offline
Senior Member
Joined: Dec 2005
Posts: 108
I will do that, thanks for your help!

Page 2 of 2 1 2

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