Previous Thread
Next Thread
Print Thread
Page 1 of 3 1 2 3
Joined: May 1999
Posts: 576
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 576
I'm trying to build the new release for the first time on Mojave. It fails with the following error:

Code
ld: library not found for -lgcc_s.10.4
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [../../bin/darwin/genie] Error 1
make: *** [3rdparty/genie/bin/darwin/genie] Error 2
make: *** Waiting for unfinished jobs....

Joined: Feb 2004
Posts: 2,194
Very Senior Member
Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,194
That looks like you're missing a static glue library. Have you successfully built anything else on this OS?

Joined: May 1999
Posts: 576
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 576
I just build iTerm2. Apart from some warnings, it builds and runs fine.

Joined: Mar 2001
Posts: 16,612
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,612
AFAIK libgcc being involved means you aren't using Xcode's compile tools, it's Brew or MacPorts.

Joined: May 1999
Posts: 576
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 576
I never installed Brew, nor MacPorts on this Mac!

Joined: Mar 2001
Posts: 16,612
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,612
I don't know then. It builds OK for me on Xcode 10 on fully updated High Sierra, I'll install Mojave and see if that changes anything. It's possible our building with back compatibility to Snow Leopard is now biting us in terms of things moving from deprecated to non-existent.

Joined: May 1999
Posts: 576
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 576
Yeah, I had Xcode 10 beta under High Sierra. No problems there either last month.

Joined: Dec 2013
Posts: 135
X
Senior Member
Offline
Senior Member
X
Joined: Dec 2013
Posts: 135
I confirm the issue on my side. I have a Mac Mini on Mojave and XCode 10 and, when compiling MAME, I get the exact same error at the beginning of the compilation process, right after it finishes to convert translation files.

Updating to Mojave right away wasn't a good idea...

Joined: Sep 2000
Posts: 461
M
Senior Member
Offline
Senior Member
M
Joined: Sep 2000
Posts: 461
I'm still running High Sierra (10.13.6), with XCode 10 installed, and am getting the same error -

Code
Last login: Wed Sep 26 17:34:09 on ttys000
Dave-Westons-iMac:~ dave$ cd /Users/dave/Documents/MAME_Source_and_Updates/mame 
Dave-Westons-iMac:mame dave$ make -j5
Clang 10.0.0 detected
Creating obj/Release
Converting translation language/Afrikaans/strings.po...
Creating obj/Release/src/host
Converting translation language/Albanian/strings.po...
Creating obj/Release/src/host/lua-5.3.0/src
Creating ../../bin/darwin
Converting translation language/Arabic/strings.po...
Converting translation language/Basque/strings.po...
lapi.c
Converting translation language/Belarusian/strings.po...
lauxlib.c
lbaselib.c
Converting translation language/Bosnian/strings.po...
lbitlib.c
Converting translation language/Bulgarian/strings.po...
Converting translation language/Burmese/strings.po...
lcode.c
lcorolib.c
Converting translation language/Catalan/strings.po...
lctype.c
ldblib.c
Converting translation language/Chinese_Simplified/strings.po...
ldebug.c
ldo.c
ldump.c
lfunc.c
Converting translation language/Chinese_Traditional/strings.po...
lgc.c
linit.c
liolib.c
Converting translation language/Croatian/strings.po...
llex.c
lmathlib.c
Converting translation language/Czech/strings.po...
lmem.c
loadlib.c
lobject.c
lopcodes.c
loslib.c
lparser.c
Converting translation language/Danish/strings.po...
lstate.c
Converting translation language/Dutch/strings.po...
lstring.c
Converting translation language/English/strings.po...
Converting translation language/Estonian/strings.po...
lstrlib.c
Converting translation language/Finnish/strings.po...
ltable.c
Converting translation language/French/strings.po...
ltablib.c
Converting translation language/French_Belgium/strings.po...
Converting translation language/French_Canada/strings.po...
ltm.c
Converting translation language/Georgian/strings.po...
Converting translation language/German/strings.po...
Converting translation language/Greek/strings.po...
lundump.c
lutf8lib.c
lvm.c
Converting translation language/Hebrew/strings.po...
lzio.c
os_chdir.c
Converting translation language/Hindi/strings.po...
os_copyfile.c
Converting translation language/Hungarian/strings.po...
os_getcwd.c
os_is64bit.c
Converting translation language/Indonesian/strings.po...
os_isdir.c
os_isfile.c
os_match.c
os_mkdir.c
os_pathsearch.c
Converting translation language/Italian/strings.po...
Converting translation language/Japanese/strings.po...
Converting translation language/Korean/strings.po...
os_rmdir.c
Converting translation language/Latvian/strings.po...
os_stat.c
Converting translation language/Lithuanian/strings.po...
Converting translation language/Macedonian/strings.po...
os_ticks.c
os_uuid.c
Converting translation language/Norwegian/strings.po...
Converting translation language/Persian/strings.po...
path_getabsolute.c
path_getrelative.c
Converting translation language/Polish/strings.po...
Converting translation language/Portuguese/strings.po...
path_helpers.c
path_isabsolute.c
Converting translation language/Portuguese_Brazil/strings.po...
Converting translation language/Romanian/strings.po...
premake.c
premake_main.c
scripts.c
Converting translation language/Russian/strings.po...
string_endswith.c
string_hash.c
Converting translation language/Serbian/strings.po...
Converting translation language/Serbian_Cyrillic/strings.po...
Converting translation language/Slovak/strings.po...
Converting translation language/Slovenian/strings.po...
Converting translation language/Spanish/strings.po...
Linking genie
Converting translation language/Spanish_Mexico/strings.po...
Converting translation language/Swedish/strings.po...
Converting translation language/Thai/strings.po...
ld: library not found for -lgcc_s.10.4
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [../../bin/darwin/genie] Error 1
make: *** [3rdparty/genie/bin/darwin/genie] Error 2
make: *** Waiting for unfinished jobs....
Dave-Westons-iMac:mame dave$ 


I also made sure to run the XCode application, and allowed it to install additional components, and ran the build process again, with the same results.

FWIW, xCode is Version 10.0 (10A255)

Last edited by MAMEBase; 09/26/18 11:00 PM. Reason: Additional Info

The following statement is true...
The preceding statement is false.
Joined: Sep 2000
Posts: 461
M
Senior Member
Offline
Senior Member
M
Joined: Sep 2000
Posts: 461
Well, this may be significant -

I just tried compiling 0.201, and got the same error as when trying to compile 0.202.

The only thing that has changed recently was updating to xCode 10.0 (0.201 compiled successfully last month, prior to updating xCode).

Just curious - What is the procedure for compiling MAME directly via xCode (or is this advisable?)

Last edited by MAMEBase; 09/27/18 02:00 AM. Reason: Additional question

The following statement is true...
The preceding statement is false.
Page 1 of 3 1 2 3

Link Copied to Clipboard
Who's Online Now
2 members (box, R. Belmont), 48 guests, and 3 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,834
Posts116,209
Members4,921
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.5