cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl_getinfo.c

From: Abhijeet Rastogi <abhijeet.1989_at_gmail.com>
Date: Thu, 17 Mar 2011 16:37:56 +0530

gcc code.c `pkg-config --libs libcurl`

On Thu, Mar 17, 2011 at 4:25 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Thu, 17 Mar 2011, Swapnil Ashtekar wrote:
>
> I am novice to curl and libcurl. I want to run following code.
>>
>
> Then consider using the curl-library mailing list instead!
>
> http://cool.haxx.se/mailman/listinfo/curl-library
>
>
> I want this program to be compiled using arm_v5t_le-gcc, the terminal is
>> showing following,
>>
>> swapnil_at_swapnil-Studio-1558:~/workdir/filesys/curl/curl-7.21.3/swa$
>> arm_v5t_le-gcc getinfo.c
>> getinfo.c:3:23: curl/curl.h: No such file or directory
>> getinfo.c: In function `main':
>> getinfo.c:7: error: `CURL' undeclared (first use in this function)
>>
>
> This looks like you don't have libcurl installed for your cross-compiler to
> find it or at least it doesn't find libcurl's headers.
>
> --
>
> / daniel.haxx.se
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-users
> FAQ: http://curl.haxx.se/docs/faq.html
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-- 
Regards,
Abhijeet Rastogi (shadyabhi)
http://www.google.com/profiles/abhijeet.1989

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-03-17