logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Madhu Gowda <madhu.gowd...@yahoo.com>
Subject Re: link errors while building a project using static lib of log4cxx in VS 2010
Date Fri, 26 Apr 2013 05:10:29 GMT
Thanks...

I got the issue resolved.
Earlier I had VS 2005 installed on this machine and now I had installed VS 2010 in same machine..
When I uninstalled VS 2005 and rebuilt the application, all the linker errors disappeared.

Regards,
Madhu Gowda

--- On Tue, 4/23/13, chand priyankara <chand@engineering.com> wrote:

From: chand priyankara <chand@engineering.com>
Subject: Re: link errors while building a project using static lib of log4cxx in VS 2010
To: "Log4CXX User" <log4cxx-user@logging.apache.org>
Date: Tuesday, April 23, 2013, 5:50 PM

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      


|BSc(Eng) - Electrical & Information 


|(094) 773-361-566 
|chand@engineering.com

|http://chandpriyankara.blogspot.com

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