[MacPorts] #64597: libusb @ 1.0.25: error: use of undeclared identifier 'CLOCK_MONOTONIC'; error: 'TARGET_OS_OSX' is not defined, evaluates to 0; 'clock_gettime' is invalid in C99
MacPorts
noreply at macports.org
Thu Feb 3 14:16:44 UTC 2022
#64597: libusb @ 1.0.25: error: use of undeclared identifier 'CLOCK_MONOTONIC';
error: 'TARGET_OS_OSX' is not defined, evaluates to 0; 'clock_gettime' is
invalid in C99
-----------------------+---------------------------------
Reporter: thetrial | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: elcapitan legacy-os
Port: libusb |
-----------------------+---------------------------------
Comment (by RobK88):
FYI -- I am also unable to build libusb @ 1.0.25 on Lion. Use of
undeclared identifier 'CLOCK_MONOTONIC'
But I do not see the other error -- error: 'TARGET_OS_OSX' is not defined
See attached main.log
--
Ticket URL: <https://trac.macports.org/ticket/64597#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list