PJSIP sample application compile error

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

 



Hi,

I have downloaded and installed Pjsip library on my linux machine.

I tried to compile the following sample application at link, i got tons of error,

http://www.pjsip.org/pjsip/docs/html/page_pjsip_sample_sipstateless_c.htm


/tmp/ccw4XYym.o: In function `pj_list_push_back':
sipstateless.c:(.text+0x29): undefined reference to `pj_list_insert_before'
/tmp/ccw4XYym.o: In function `on_rx_request':
sipstateless.c:(.text+0xec): undefined reference to `pjsip_endpt_respond_stateless'
/tmp/ccw4XYym.o: In function `main':
sipstateless.c:(.text+0x1c3): undefined reference to `pj_init'
sipstateless.c:(.text+0x20e): undefined reference to `pjlib_util_init'
sipstateless.c:(.text+0x264): undefined reference to `pj_pool_factory_default_policy'
sipstateless.c:(.text+0x272): undefined reference to `pj_caching_pool_init'
sipstateless.c:(.text+0x290): undefined reference to `pjsip_endpt_create'
sipstateless.c:(.text+0x2dc): undefined reference to `pj_optind'
sipstateless.c:(.text+0x337): undefined reference to `pj_pool_create'
sipstateless.c:(.text+0x354): undefined reference to `pj_optarg'
sipstateless.c:(.text+0x3b8): undefined reference to `pj_str'
sipstateless.c:(.text+0x3eb): undefined reference to `pj_str'
sipstateless.c:(.text+0x428): undefined reference to `pjsip_generic_string_hdr_create'
sipstateless.c:(.text+0x449): undefined reference to `pj_log_get_level'
sipstateless.c:(.text+0x476): undefined reference to `pj_log_4'
sipstateless.c:(.text+0x4b3): undefined reference to `pj_getopt'
sipstateless.c:(.text+0x4cb): undefined reference to `pj_optind'
sipstateless.c:(.text+0x4d4): undefined reference to `pj_optind'
sipstateless.c:(.text+0x524): undefined reference to `pj_log_get_level'
sipstateless.c:(.text+0x546): undefined reference to `pj_log_4'
sipstateless.c:(.text+0x54d): undefined reference to `PJ_AF_INET'
sipstateless.c:(.text+0x564): undefined reference to `pj_htons'
sipstateless.c:(.text+0x594): undefined reference to `pjsip_udp_transport_start'
sipstateless.c:(.text+0x5a8): undefined reference to `pj_log_get_level'
sipstateless.c:(.text+0x5c1): undefined reference to `pj_log_3'
sipstateless.c:(.text+0x5d2): undefined reference to `PJ_AF_INET'
sipstateless.c:(.text+0x5e9): undefined reference to `pj_htons'
sipstateless.c:(.text+0x611): undefined reference to `pjsip_tcp_transport_start'
sipstateless.c:(.text+0x625): undefined reference to `pj_log_get_level'
sipstateless.c:(.text+0x63e): undefined reference to `pj_log_3'
sipstateless.c:(.text+0x65f): undefined reference to `pjsip_endpt_register_module'
sipstateless.c:(.text+0x6a7): undefined reference to `pj_log_get_level'
sipstateless.c:(.text+0x6c0): undefined reference to `pj_log_3'
sipstateless.c:(.text+0x6d5): undefined reference to `pjsip_endpt_handle_events'



Please guide me how solve this??

I don't understated if something missing ??, Please find Attached code for reference.

If anybody have sample application code in C/c++ please share.


Best Regards,Sakharam Thorat. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130403/a5073e28/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sampleclient.c
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130403/a5073e28/attachment-0001.c>


[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