[MacPorts] #62537: blueutil @2.8.0: Undefined symbols for architecture x86_64

MacPorts noreply at macports.org
Wed Mar 24 04:59:30 UTC 2021


#62537: blueutil @2.8.0: Undefined symbols for architecture x86_64
-------------------------+----------------------
 Reporter:  cooljeanius  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.6.4
 Keywords:               |       Port:  blueutil
-------------------------+----------------------
 I am on Big Sur using Xcode 12.4 and see the following error when
 attempting to build blueutil:
 {{{
 /usr/bin/clang -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64
 -Wall -Wextra -mmacosx-version-min=10.9 -framework Foundation -framework
 IOBluetooth -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
 -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch
 x86_64  blueutil.m   -o blueutil
 Undefined symbols for architecture x86_64:
   "_OBJC_CLASS_$_NSJSONSerialization", referenced from:
       objc-class-ref in blueutil-a21618.o
 ld: symbol(s) not found for architecture x86_64
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 make: *** [blueutil] Error 1
 }}}
 Perhaps there is a missing linker flag or something?

-- 
Ticket URL: <https://trac.macports.org/ticket/62537>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list