[asterisk-users] when we try to add CURL code to file channel.c we get an error - undefined reference to curl_easy_init

Prashant Sharma prashant.ruby at gmail.com
Fri Feb 29 08:10:40 CST 2008


 Hi all,

When I try to add CURL code to file channel.c we get an error - undefined
reference to curl_easy_init.
I've added #include <curl/curl.h> so the code compiles fine.
this error is generated by the linker, even though func_curl.c is compiled
and linked with no errors
My asterisk machine have curl and curl-devel 7.12 installed.
Asterisk version i am using is 1.4.17.

Any help will be appriciated.


Thanks & Regards

Prashant Sharma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080229/57918e6e/attachment.htm 


More information about the asterisk-users mailing list