Compiling pjsua app

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

 



Hi everyone,

i'm trying to compile  PJSUA APP
<http://www.pjsip.org/pjsip/docs/html/page_pjsip_samples_pjsua.htm> but i'm
getting these linkage errors:

1- error LNK2001: unresolved external symbol "char const * __cdecl
pjmedia_type_name(enum pjmedia_type)" (?pjmedia_type_name@
@YAPBDW4pjmedia_type@@@Z)
2- error LNK2001: unresolved external symbol "int
pjmedia_add_rtpmap_for_static_pt" (?pjmedia_add_rtpmap_for_static_pt@@3HA)
3- error LNK2001: unresolved external symbol "int
pjsip_include_allow_hdr_in_dlg" (?pjsip_include_allow_hdr_in_dlg@@3HA)
4- error LNK2001: unresolved external symbol "int pjsip_use_compact_form"
(?pjsip_use_compact_form@@3HA)

then i came across this thread
<http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2009-October/009307.html>,
in which someone faced the same problem.
and i have tried the suggested solution [declare them as extern "C"], but
the following errors came up:

1- error LNK2005: _pjmedia_add_rtpmap_for_static_pt already defined in
libpjproject-i386-Win32-vc8-Release.lib(endpoint.obj)
2- error LNK2005: _pjsip_include_allow_hdr_in_dlg already defined in
libpjproject-i386-Win32-vc8-Release.lib(sip_dialog.obj)
3- error LNK2005: _pjsip_use_compact_form already defined in
libpjproject-i386-Win32-vc8-Release.lib(sip_msg.obj)

any ideas how to resolve his?
thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140914/3d0f7bc6/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