Try disabling 'Buffer Security Checks'. The /GS and /GS- switches should be supported in your version of Visual Studio 2010. Right-click on your project and select Properties. Go to Configuration Properties -> C/C++ -> Code Generation-> Buffer Security Check. Change from Yes (/GS) to No (/GS-)

Check this link for further:


Chand Priyankara  Facebook LinkedIn Blogger Google Plus 
|BSc(Eng) - Electrical & Information
|(094) 773-361-566
sent via internet

On Tue, Apr 23, 2013 at 7:57 PM, Madhu Gowda <> wrote:
Hi All,

I am trying to build my application using static version of log4cxx in Visual Studio 2010.
I am able to build the log4cxx.lib.
Now, when i try to build my application, it gives 1000's of link errors as follows:
Error    795    error LNK2001: unresolved external symbol @__security_check_cookie@4    D:\ISAPI_dependencies\mgowda_ig_isapi93_sp1_patch_view\entecint\integration\WinIS\IdentityGuardFilter\IdentityGuardFilter\IdentityGuardFilter\log4cxx.lib(xmlsocketappender.obj)    IdentityGuardFilter

Error    722    error LNK2019: unresolved external symbol @__security_check_cookie@4 referenced in function _normal_prologTok    D:\ISAPI_dependencies\mgowda_ig_isapi93_sp1_patch_view\entecint\integration\WinIS\IdentityGuardFilter\IdentityGuardFilter\IdentityGuardFilter\log4cxx.lib(xmltok.obj)    IdentityGuardFilter

Error    1192    error LNK2001: unresolved external symbol __EH_epilog3    D:\ISAPI_dependencies\mgowda_ig_isapi93_sp1_patch_view\entecint\integration\WinIS\IdentityGuardFilter\IdentityGuardFilter\IdentityGuardFilter\log4cxx.lib(datagrampacket.obj)    IdentityGuardFilter

Error    2367    error LNK2001: unresolved external symbol "public: virtual char const * __thiscall std::exception::what(void)const " (?what@exception@std@@UBEPBDXZ)    D:\ISAPI_dependencies\mgowda_ig_isapi93_sp1_patch_view\entecint\integration\WinIS\IdentityGuardFilter\IdentityGuardFilter\IdentityGuardFilter\log4cxx.lib(datagrampacket.obj)    IdentityGuardFilter

Any thoughts on what is going wrong.

Madhu Gowda