Hi Greyman,

Thank you very much for reply.
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?


Thanks

& Regards

Prashant Sharma

On Mon, Mar 3, 2008 at 2:53 PM, Grey Man <[EMAIL PROTECTED]> wrote:

> 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
>
_______________________________________________
-- 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

Reply via email to