cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Re: Re: Re: Now I am facing the error only when the filesize is mentioned with CURLOPT_INFILESIZ

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 20 Jan 2006 14:19:17 +0100 (CET)

On Fri, 20 Jan 2006, azad amm wrote:

> Well I may not be inclined right now to determine the define to be set.
> However i have this finding, this program a.c with the following code and
> compiled it with -m64 options and without the -m64 options (gcc compiler) i
> get different outputs for the sizeof(curl_off_t)

Using what gcc version? My configure (with gcc 3.0.X and 3.4.X) runs on
Solaris 7 and Solaris 8 have always given me a 64bit curl_off_t.

> ld: fatal: file /usr/local/lib/libcurl.so: wrong ELF class: ELFCLASS32

I suspect that is because when you used -m64 you somehow switched to 64bit
mode and then the linker wants proper 64bit builds.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-01-20