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

Re: undefined reference to `clock_gettime' compiling GreyLite

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 17 Jun 2008 11:23:46 +0200 (CEST)

On Tue, 17 Jun 2008, RedFoxy wrote:

> But the problem still here when i try to compile greylite:
>
> /usr/local/lib/libcares.a(ares__timeval.o): In function `ares__tvnow':
> /_backup/sorgenti/c-ares-1.5.3-20080616/ares__timeval.c:49: undefined
> reference to `clock_gettime'
> collect2: ld returned 1 exit status
> make: *** [dnsblenv] Error 1

To me it seems like greylite makes no efforts at all to find any dependencies
c-ares has, and it must do so when it uses a static c-ares.

-- 
  / daniel.haxx.se
Received on 2008-06-17