From: Ross Bamford Date: 2006-03-16T03:37:43+09:00 Subject: Re: CURL-alike library for ruby On Thu, 2006-03-16 at 03:10 +0900, Yaroslav Tarasenko wrote: > Patched successfully, but when i tried to compile the extension on Linux > box with gcc4, it stopped with such error message: > > init.c: In function 'Init_curl': > init.c:408: error: 'CURL_TIMECOND_NONE' undeclared (first use in this > function) > init.c:409: error: 'CURL_TIMECOND_IFMODSINCE' undeclared (first use in > this function) > [ ... snipped ... ] > make: *** [init.o] Error 1 > Hmm... I just tried it here with a fresh copy, and it worked straight away. IIRC they should be declared in curl/curl.h - maybe you have a different version or something? Mine is: $ curl --version curl 7.13.1 (i386-redhat-linux-gnu) libcurl/7.13.1 OpenSSL/0.9.7f zlib/1.2.2.2 libidn/0.5.15 -- Ross Bamford - rosco@roscopeco.REMOVE.co.uk