Opened 6 years ago
Closed 3 years ago
#57310 closed defect (fixed)
tiemu3 @3.03 build fails on mojave
Reported by: | rlhamil | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | mojave | Cc: | |
Port: | tiemu3 |
Description
log file attached
Attachments (1)
Change History (6)
Changed 6 years ago by rlhamil
Attachment: | main.log-tiemu3.txt added |
---|
comment:1 follow-up: 4 Changed 6 years ago by jmroot (Joshua Root)
comment:2 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
You should report it to the developer.
comment:4 Changed 5 years ago by elyb01 (Benjamin A. Ely)
Thank you, Joshua! Based on your comment, I was able to get this working on macOS 10.14 by temporarily commenting out the pre-existing abort function in the Xcode library, then re-enabling it once the install finished. I had just updated to Xcode 10.15, so for me this was:
sudo vim /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/stdlib.h line 131 (original): void abort(void) cold dead2; line 131 (disabled): /* void abort(void) cold dead2; */
Replying to jmroot:
Looks like a name collision.
:info:build In file included from core/state.c:39: :info:build In file included from ./core/ti68k_int.h:31: :info:build In file included from ./core/ti68k_def.h:39: :info:build In file included from /opt/local/include/glib-2.0/glib.h:32: :info:build In file included from /opt/local/include/glib-2.0/glib/gasyncqueue.h:32: :info:build In file included from /opt/local/include/glib-2.0/glib/gthread.h:34: :info:build In file included from /opt/local/include/glib-2.0/glib/gutils.h:306: :info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:131:13: error: too many arguments provided to function-like macro invocation :info:build void abort(void) __dead2; :info:build ^ :info:build ./core/uae/sysdeps.h:141:9: note: macro 'abort' defined here :info:build #define abort() \ :info:build ^It's trying to define its own abort function but abort already exists as a macro.
comment:5 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Looks like a name collision.
It's trying to define its own abort function but abort already exists as a macro.