On Mon, Mar 3, 2008 at 6:27 AM, Prashant Sharma <[EMAIL PROTECTED]> wrote:
> Hi Tilghman,
>
> Thanks for taking interest in my problem.
>
> I just want to send a http post request to my website without changing the
> dial plan. So I have added slightly modified http post code and some other
> code to channel.c got from <curl/curl.h>.
> After adding the code I compiled the asterisk code and got the error:
>
> channel.o(.text+0x....): channel.c:xxxx: undefined reference to
> 'curl_global_init'
>
>
Try adding the following above the first include in channel.c. It's
what I've done in app_dial.c to get the Curl library to link properly.
/*** MODULEINFO
<depend>Curl</depend>
***/
Regards,
Greyman.
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users