cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Cygwin usage

From: Josh Gordon <joshgordon220_at_hotmail.com>
Date: Thu, 16 Sep 2004 00:46:00 +0000

This is a really newbie question. I am trying to compile a basic cURL
program on Cygwin but the compiler returns with messages like "undefined
reference to _culr_easy_init()" such as:

\cygdrive\c\Documents and
Settings\josh\Local~1\Temp\ccMxFkw1.o(.text+0x26):main.c: undefined
reference to _curl_global_init
Similar error lines corresponding to other curl_easy_* functions.

The program works fine on linux.

Dont know if this is the right direction, but it seems the library functions
are not available to it. libcurl is installed on my cygwin and three files
libcurl.a, libcurl.dll.a and libcurl.la are present. Seems ssl support is
missing from cygwin libcurl release. I tried gcc, gcc -lcurl and also using
all the libs returned by curl-config --libs.

Please cc joshgordon220_at_hotmail.com as I just subscribed, not yet on the
list.
Josh

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
hthttp://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Received on 2004-09-16

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET