<div>Hi Greyman,</div>
<div> </div>
<div>Thank you very much for reply.</div>
<div>But unfortunately even after adding these lines in the file 'channel.c' didn't help me. It gives 'undefined reference' for all curl functions. Should I check availability of any other file for these errors?</div>
<div> </div>
<div> </div>
<div>Thanks</div>
<div> </div>
<div>& Regards</div>
<div> </div>
<div>Prashant Sharma<br><br></div>
<div class="gmail_quote">On Mon, Mar 3, 2008 at 2:53 PM, Grey Man <<a href="mailto:greymanvoip@gmail.com">greymanvoip@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d">On Mon, Mar 3, 2008 at 6:27 AM, Prashant Sharma <<a href="mailto:prashant.ruby@gmail.com">prashant.ruby@gmail.com</a>> wrote:<br>> Hi Tilghman,<br>><br>> Thanks for taking interest in my problem.<br>
><br>> I just want to send a http post request to my website without changing the<br>> dial plan. So I have added slightly modified http post code and some other<br>> code to channel.c got from <curl/curl.h>.<br>
> After adding the code I compiled the asterisk code and got the error:<br>><br>> channel.o(.text+0x....): channel.c:xxxx: undefined reference to<br>> 'curl_global_init'<br>><br>><br><br></div>Try adding the following above the first include in channel.c. It's<br>
what I've done in app_dial.c to get the Curl library to link properly.<br><br>/*** MODULEINFO<br> <depend>Curl</depend><br> ***/<br><br>Regards,<br><br>Greyman.<br><br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br>