cURL / Mailing Lists / curl-library / Single Mail

curl-library

https.c

From: Mark Pinto <markybob_at_gmail.com>
Date: Thu, 1 Mar 2007 00:53:07 -0600

I'm trying to compile
http://curl.haxx.se/lxr/source/docs/examples/https.c exactly as is,
with no modifications at all (learning libcurl). However, this fails
and I cant figure out why. Any information/help would be very much
appreciated.

markybob_at_peg:~/curl-7.16.1/include/curl$ gcc https.c -o https
/tmp/ccozNayk.o: In function `main':
https.c:(.text+0x12): undefined reference to `curl_easy_init'
https.c:(.text+0x36): undefined reference to `curl_easy_setopt'
https.c:(.text+0x41): undefined reference to `curl_easy_perform'
https.c:(.text+0x4f): undefined reference to `curl_easy_cleanup'
collect2: ld returned 1 exit status
markybob_at_peg:~/curl-7.16.1/include/curl$

Thanks,
Mark
Received on 2007-03-01