[pjsip] Link Error

Benny Prijono bennylp at pjsip.org
Tue Nov 13 08:18:00 EST 2007


Hi Sukant,

I'm not familiar with this error, but from Googling around I found 
articles that suggest that this may have been caused by different 
code generation setting in your application.

In Debug mode, you have to configure the Code Generation to Debug 
Multithreaded, while in Release mode it has to be Multithreaded DLL. 
Please configure your application accordingly and see if it solves 
the problem.

cheers,
  -benny

Sukant wrote:
> Hi All,
> 
>  
> 
> I am new to PJSIP. I am able to compile all the samples along with PJSUA 
> library.
> 
> I am now trying to use the PJSIP library with my own application, so 
> that I can use a Windows GUI that I created to make SIP calls.
> 
>  
> 
> I am getting a few link errors as follows:
> 
>  
> 
> pjmedia-i386-win32-vc6-debug.lib(sdp.obj) : error LNK2001: unresolved 
> external symbol __pctype
> 
> pjlib-util-i386-win32-vc6-debug.lib(scanner.obj) : error LNK2001: 
> unresolved external symbol __pctype
> 
> pjlib-util-i386-win32-vc6-debug.lib(string.obj) : error LNK2001: 
> unresolved external symbol __pctype
> 
> pjlib-i386-win32-vc6-debug.lib(string.obj) : error LNK2001: unresolved 
> external symbol __pctype
> 
> pjsip-core-i386-win32-vc6-debug.lib(sip_resolve.obj) : error LNK2001: 
> unresolved external symbol __pctype
> 
> pjmedia-i386-win32-vc6-debug.lib(session.obj) : error LNK2001: 
> unresolved external symbol __pctype
> 
> pjmedia-i386-win32-vc6-debug.lib(sdp_neg.obj) : error LNK2001: 
> unresolved external symbol __pctype
> 
> pjmedia-i386-win32-vc6-debug.lib(sdp.obj) : error LNK2001: unresolved 
> external symbol ___mb_cur_max
> 
> pjlib-util-i386-win32-vc6-debug.lib(scanner.obj) : error LNK2001: 
> unresolved external symbol ___mb_cur_max
> 
> pjlib-util-i386-win32-vc6-debug.lib(string.obj) : error LNK2001: 
> unresolved external symbol ___mb_cur_max
> 
> pjlib-i386-win32-vc6-debug.lib(string.obj) : error LNK2001: unresolved 
> external symbol ___mb_cur_max
> 
> pjsip-core-i386-win32-vc6-debug.lib(sip_resolve.obj) : error LNK2001: 
> unresolved external symbol ___mb_cur_max
> 
> pjmedia-i386-win32-vc6-debug.lib(session.obj) : error LNK2001: 
> unresolved external symbol ___mb_cur_max
> 
> pjmedia-i386-win32-vc6-debug.lib(sdp_neg.obj) : error LNK2001: 
> unresolved external symbol ___mb_cur_max
> 
> ../../bin/PJMe.exe : fatal error LNK1120: 2 unresolved externals
> 
> Error executing link.exe.
> 
>  
> 
> PJMe.exe - 15 error(s), 0 warning(s)
> 
>  
> 
> Thanks & Regards,
> 
> Sukant
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


-- 
Benny Prijono
http://www.pjsip.org




More information about the pjsip mailing list