Help needed: fix build issue with xdxf_makedict in older platforms

Ryan Schmidt ryandesign at macports.org
Tue Nov 7 19:21:42 UTC 2017


On Nov 7, 2017, at 13:19, Leonardo Brondani Schenkel wrote:

> The plot thickens. I cannot even compile a small test program:
> 
> $ cat test.cpp
> #include <iostream>
> 
> int main() {
>        std::cout << "Hello world";
>        return 0;
> }
> 
> $ clang-mp-5.0 test.cpp
> ld: unexpected token: !tapi-tbd-v2 file '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/lib/libSystem.tbd' for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)

Are you using a linker that is compatible with the macOS 10.13 SDK? You may need to install the ld64 port with the +ld64_xcode variant.




More information about the macports-dev mailing list