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

Re: undefined reference to `clock_gettime' compiling GreyLite

From: Yang Tse <yangsita_at_gmail.com>
Date: Mon, 16 Jun 2008 20:26:11 +0200

2008/6/16, RedFoxy wrote:

> undefined reference to `clock_gettime'
> [...]
> That look like a c-ares trouble...
> What can I do to compile it both?

As Daniel has already pointed c-ares 1.5.2 did not expose in
libcares.pc additional libraries that c-ares would need for proper
compilation.

A fix for this was comitted Jun-9. Any c-ares daily snapshot dated
later that Jun-10 such as this one
http://daniel.haxx.se/projects/c-ares/daily-snapshot/c-ares-1.5.3-20080616.tar.gz
includes it.

Could you verify and report back if the fix works for you or if
something else needs to be done ?

-- 
-=[Yang]=-
Received on 2008-06-16