curl-users
Re: errors in compiling https.c in curl
Date: Thu, 4 Dec 2008 17:57:51 +0530
You have to compile like below.
gcc -c http.c -lcurl
NOTE : Curl has to be installed before compiling this.
Cheers,
Aravind.
On Thu, Dec 4, 2008 at 5:52 PM, Bijay Panda <bijaykumar.mail_at_gmail.com>wrote:
> Hi All,
> I am trying to compile the program https.c in the example given ,but i am
> unable to complie it and getting these errors.Can anybody suggest me what to
> do,Thanks in advance.
>
> sample1.c:(.text+0x12): undefined reference to `curl_easy_init'
> sample1.c:(.text+0x36): undefined reference to `curl_easy_setopt'
> sample1.c:(.text+0x41): undefined reference to `curl_easy_perform'
> sample1.c:(.text+0x4f): undefined reference to `curl_easy_cleanup'
> collect2: ld returned 1 exit status
>
>
> --
> Thanks & Regards
> Bijay Kumar Panda
>
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
> FAQ: http://curl.haxx.se/docs/faq.html
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>
>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2008-12-04