cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem using curl easy Milli Seconds time out options ...

From: Mukul Kedare <kedare.mukul_at_gmail.com>
Date: Wed, 1 Oct 2008 18:32:22 +0530

Hi,

I tried to built libcurl with C-ares but while configuring it there was an
errornous exit
                           configure: error: c-ares library defective or too
old
I configured libcurl with the following ,
                           ./configure --enable-ares=/usr/local
My c-ares built is the latest
                           c-ares-1.5.3
Further, I went on to edit configure file so that it wont exit when c-ares
version test fails. But then the compilation failed with following error.

<error>
gcc -g -O2 -o .libs/curl main.o hugehelp.o urlglob.o writeout.o writeenv.o
getpass.o homedir.o curlutil.o strtoofft.o strdup.o -L/usr/kerberos/lib
-L/usr/local/lib ../lib/.libs/libcurl.so -lz
../lib/.libs/libcurl.so: undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
</error>

Can anybody help me out with building libcurl with c-ares.
Is this a problem caused by version mismatch , my lib curl version is
curl-7.17.0 and c-ares-1.5.3.

Thanks
Mukul

On Wed, Oct 1, 2008 at 1:18 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Wed, 1 Oct 2008, Mukul Kedare wrote:
>
> Is there any thing regarding name resolvers that I can do while building
>> libcurl ?
>>
>
> Here's a relevant piece from the FAQ:
>
> http://curl.haxx.se/docs/faq.html#How_does_libcurl_resolve_host_na
>
> --
>
> / daniel.haxx.se
>
Received on 2008-10-01