Subject: Re: undefined reference to `clock_gettime' compiling GreyLite

Re: undefined reference to `clock_gettime' compiling GreyLite

From: RedFoxy <redfoxy_at_redfoxy.it>
Date: Tue, 17 Jun 2008 11:06:07 +0200

Daniel Stenberg ha scritto:
> On Mon, 16 Jun 2008, RedFoxy wrote:
>
>> That look like a c-ares trouble...
>
> Yeah, c-ares' configures script nowadays checks for the clock_gettime
> function and might use -lrt in its LIBS. You can probably see your
> c-ares configure output to see if this is the case for you.
>
> Apps using c-ares will of course have to adapt to what c-ares itself
> requires.
>
> libcares.pc should keep that info, although I believe it didn't in the
> 1.5.2 release due to a bug.
>
here you can see whole compile log: http://phpfi.com/324653

BTW:
checking for monotonic clock_gettime... yes
checking for clock_gettime in libraries... -lrt
Received on 2008-06-17