logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chand priyankara <ch...@engineering.com>
Subject Re: link errors while building a project using static lib of log4cxx in VS 2010
Date Tue, 23 Apr 2013 17:50:04 GMT
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:
http://support.microsoft.com/kb/894573


regards,


*Chand Priyankara*  [image: Facebook]<http://www.facebook.com/chand.priyankara>
 [image: LinkedIn] <http://lk.linkedin.com/in/chandpriyankara> [image:
Blogger] <http://chandpriyankara.blogspot.com/> [image: Google
Plus]<http://plus.google.com/104246340732624023499>

|BSc(Eng) - Electrical & Information
|(094) 773-361-566
|chand@engineering.com
|http://chandpriyankara.blogspot.com
<http://www.iucnredlist.org/amazing-species>sent via internet


On Tue, Apr 23, 2013 at 7:57 PM, Madhu Gowda <madhu.gowda_b@yahoo.com>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.
>
> Regards,
> Madhu Gowda
>

Mime
View raw message