cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl_getinfo.c

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 17 Mar 2011 11:55:15 +0100 (CET)

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
Received on 2011-03-17