When I attempt to build log4cxx using ant and the default build.xml
file, it fails when building the unit tests.  Note, the lib file / dll
seem to build fine and I can successfully use them in my code.  However,
it's disturbing that the unit tests don't build properly.  Anyone else
have problems building the log4cxx unit tests with ant / vs2003 on
windows xp?

C:\dev\c++\log4cxx>ant -Ddebug=false -Doptimize=speed -Dlib.type=shared
> out.tx

.
.
.
win-configure:

configure:

build:
       [cc] Starting dependency analysis for 49 files.
       [cc] 49 files are up to date.
       [cc] 0 files to be recompiled from dependency analysis.
       [cc] 0 total files to be compiled.

build-unittest:
       [cc] Starting dependency analysis for 83 files.
       [cc] 83 files are up to date.
       [cc] 0 files to be recompiled from dependency analysis.
       [cc] 0 total files to be compiled.
       [cc] Starting link
       [cc] cacheddateformattestcase.obj : error LNK2001: unresolved
external symbol "public: void __thiscall
CppUnit::TestFactoryRegistry::registerFactory(class CppUnit::TestFactory
*)"
([EMAIL PROTECTED]@CppUnit@@[EMAIL PROTECTED]@@Z)
       [cc] filenamepatterntestcase.obj : error LNK2019: unresolved
external symbol "public: void __thiscall
CppUnit::TestFactoryRegistry::registerFactory(class CppUnit::TestFactory
*)"
([EMAIL PROTECTED]@CppUnit@@[EMAIL PROTECTED]@@Z)
referenced in function "public: __thiscall
CppUnit::AutoRegisterSuite<class
FileNamePatternTestCase>::AutoRegisterSuite<class
FileNamePatternTestCase>(void)"
([EMAIL PROTECTED]@@@CppUnit@@[EMAIL PROTECTED])
       [cc] telnetappendertestcase.obj : error LNK2001: unresolved
external symbol "public: void __thiscall
CppUnit::TestFactoryRegistry::registerFactory(class CppUnit::TestFactory
*)"
([EMAIL PROTECTED]@CppUnit@@[EMAIL PROTECTED]@@Z)
       [cc] minimumtestcase.obj : error LNK2001: unresolved external
symbol "public: void __thiscall
CppUnit::TestFactoryRegistry::registerFactory(class CppUnit::TestFactory
*)"
([EMAIL PROTECTED]@CppUnit@@[EMAIL PROTECTED]@@Z)
       [cc] obsoleterollingfileappendertest.obj : error LNK2001:
unresolved external symbol "public: void __thiscall

Reply via email to