[MacPorts] #46479: libgcc @4.9.2_1: error: implicit declaration of function 'clock_gettime'
MacPorts
noreply at macports.org
Wed Jan 7 21:46:25 PST 2015
#46479: libgcc @4.9.2_1: error: implicit declaration of function 'clock_gettime'
------------------------------+-------------------
Reporter: Andrew_Rogers@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: libgcc |
------------------------------+-------------------
Comment (by sean@…):
Replying to [comment:5 ryandesign@…]:
> Ok, that's fine.
>
> I see in your log:
>
> {{{
> :info:build checking for clock_gettime... no
> :info:build checking for strtoull... yes
> :info:build checking for clock_gettime in -lrt... yes
> }}}
>
> My understanding is that `clock_gettime` is not available on OS X, so
it's strange that it was found on your system, in a library called librt,
which also does not exist on OS X.
>
> My guess is that you have installed a copy of librt.a or librt.so or
librt.dylib either in /usr/lib or in /usr/local/lib, and that removing
that library, and cleaning libgcc and trying again, would fix the problem.
Isn't that what trace mode is supposed to prevent?
--
Ticket URL: <https://trac.macports.org/ticket/46479#comment:6>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list