You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by Frank Sun <fs...@yahoo.com> on 2005/05/20 18:22:01 UTC
Standalone unit test build failed on Win32
I checked out HEAD and built under VC6.0. All others include unit-test are built
with ant without any problem. The following link errors occur when building
standalone-test. Anybody has idea how to resolve them?
Frank Sun
[cc] Starting link
[cc] Creating library log4cxx-standalone-test.lib and object
log4cxx-standalone-test.exp
[cc] smtpappendertestcase.obj : error LNK2001: unresolved external symbol
"public: static class log4cxx::helpers::Class const & __cdecl
log4cxx::net::SMTPAppender::getStaticClass(void)" (?getSt
aticClass@SMTPAppender@net@log4cxx@@SAABVClass@helpers@3@XZ)
[cc] smtpappendertestcase.obj : error LNK2001: unresolved external symbol
"public: virtual __thiscall log4cxx::net::SMTPAppender::~SMTPAppender(void)"
(??1SMTPAppender@net@log4cxx@@UAE@XZ)
[cc] log4cxx-standalone-test.exe : fatal error LNK1120: 2 unresolved
externals
BUILD FAILED
D:\cvshome\logging-log4cxx\build.xml:901: link failed with return code 1120