curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: target-independent libcurl headers

From: Rahul Sabnis via curl-library <curl-library_at_cool.haxx.se>
Date: Sun, 2 Jul 2017 16:45:21 +0530

On Fri, Jun 30, 2017 at 2:56 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Thu, 29 Jun 2017, Rahul Sabnis wrote:
>
> Below is what I see in curl/curlbuild.h
>>
>> /* The size of `long', as computed by sizeof. */
>> #define CURL_SIZEOF_LONG 8
>>
>> /* The size of `curl_off_t', as computed by sizeof. */
>> #define CURL_SIZEOF_CURL_OFF_T 8
>>
>
> And that's the curlbuild.h you installed in the same directory curlrules.h
> is located in, that causes you the errors on line 138 and 148 ? How can
> that happen?
>
>
Looks like I got the problem.
The library libcurl which I built was 64 bit but while compiling the
http_post.c example I did not include the required flags. After I specified
appropriate flags during compilation, http_post.c was successfully built in
64-build.

Rahul.

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-07-02