cygwin and libcurl on windows...

Craig Harding craigwharding at gmail.com
Mon Feb 23 07:48:25 EST 2009


You probably need to add the output of:

pkg-config --libs libcurl

to your LIBS variable in your Makefile.mingw file.

On 2/23/09, arun kumar <arunkumar0107 at gmail.com> wrote:
> hi all,
>  i tried to create a dll for my c file which uses libcurl functions
>  like curl_easy_init using the make command in cygwin (make -f
>  makefile.mingw sen_rec.dll).....but there are errors while doing so.
>
>  undefined reference to 'curl_easy_init'
>  undefined reference to 'curl_easy_setopt'....similarly for all curl
>  functions  i use.
>
>  i think this is some linking problem but not able to trace it out........
>
>  any help?
>
>  cheers,
>  arun
>
>  _______________________________________________
>  Devel mailing list
>  Devel at pidgin.im
>  http://pidgin.im/cgi-bin/mailman/listinfo/devel
>




More information about the Devel mailing list