Fails to compile in OSX Mojave
kendersec opened this issue · comments
I'm unable to compile without errors
ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd
ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libc++.tbd, missing required architecture i386 in file /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libc++.tbd
Undefined symbols for architecture i386
It seems i386 has now been removed in OSX - removing it from the Makefile builds successfully.
I can also confirm this issue. Removing the i386 architecture from the Makefile
solved the issue for me as well.
The command uname -r
yields 18.2.0
as operating system release on my machine (running Mojave).
Just for documentation purposes
Confirming the solution proposed in above comments.