#65845 closed defect (invalid)
hwloc-2.8.0_0+gui.darwin_21.x86_64: Problem compiling
Reported by: | danichcr72 | Owned by: | i0ntempest |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | hwloc |
Description
The is on Mac OS Montery 12.5.1 on Intel x86_64.
:info:build topology-darwin.c:124:39: error: use of undeclared identifier 'kIOMainPortDefault'; did you mean 'kIOMasterPortDefault'? :info:build cpus_root = IORegistryEntryFromPath(kIOMainPortDefault, DT_PLANE ":/cpus"); :info:build ^~~~~~~~~~~~~~~~~~ :info:build kIOMasterPortDefault :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:103:19: note: 'kIOMasterPortDefault' declared here :info:build const mach_port_t kIOMasterPortDefault; :info:build ^ :info:build 1 error generated.
Attachments (1)
Change History (8)
comment:1 Changed 2 years ago by kencu (Ken)
comment:2 Changed 2 years ago by jmroot (Joshua Root)
Owner: | set to i0ntempest |
---|---|
Status: | new → assigned |
Are your CLTs up to date? Do you have /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
? Can you attach the complete log?
comment:3 Changed 2 years ago by danichcr72
It seems that the SDK is in a different location on my machine:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/
comment:4 Changed 2 years ago by i0ntempest
Try deleting /Library/Developer/CommandLineTools and then reinstalling it.
comment:5 Changed 2 years ago by danichcr72
Thanks for your suggestion. That worked great! Must have had a damaged Xcode command tools installation.
comment:6 Changed 2 years ago by i0ntempest
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
comment:7 Changed 2 years ago by jmroot (Joshua Root)
Or possibly just outdated due to ProblemHotlist#reinstall-clt.
Note: See
TracTickets for help on using
tickets.
I have Monterey 12.6, but on this platform, hwloc installs +gui without troubles: