undefined reference to 'input' && undefined reference to 'pjsua_invite'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When I run this below script it shows the above error on the subject line:

static void ui_console_main(void)
{
char buf[128];
pjsip_inv_session *inv;

//ui_help();

for(;;)
{

ui_help();
fgets(buf, sizeof(buf), stdin);

switch (buf[0]) {

case 'm':
if(inv_session != NULL) {
puts("Can not make call while another one is in progress");
fflush(stdout);
continue;
}

#if 1

   /* Make call!: */
if(!input("Enter URL to call", buf, sizeof(buf)))
continue;
pjsua_invite(buf, &inv);

#else

pjsua_invite("sip:localhost:5061", &inv);


#endif

    break;

How do I solve this?

Any help!

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090909/27b6cc30/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux