[asterisk-users] when we try to add CURL code to file channel.c we get an error - undefined reference to curl_easy_init
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Fri Feb 29 08:55:32 CST 2008
On Friday 29 February 2008 08:10:40 Prashant Sharma wrote:
> 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.
Let's start with, why are you adding curl code to channel.c?
--
Tilghman
More information about the asterisk-users
mailing list