I'm getting a link error which appears to be that std::string is not
being linked:

       [cc] Starting link
       [cc]    Creating library log4cxxd.lib and object log4cxxd.exp
       [cc] logger.obj : error LNK2019: unresolved external symbol
"public: stat
ic class std::basic_string<unsigned short,struct
std::char_traits<unsigned short
>,class std::allocator<unsigned short> > __cdecl
log4cxx::helpers::StringHelper:
:format(class std::basic_string<unsigned short,struct
std::char_traits<unsigned
short>,class std::allocator<unsigned short> > const &,class
std::vector<class st
d::basic_string<unsigned short,struct std::char_traits<unsigned
short>,class std
::allocator<unsigned short> >,class std::allocator<class
std::basic_string<unsig
ned short,struct std::char_traits<unsigned short>,class
std::allocator<unsigned
short> > > > const &)"
([EMAIL PROTECTED]@[EMAIL PROTECTED]@@SA?AV?$basic_strin
[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL 
PROTECTED]@V?$bas
ic_strin
[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@@2@@5@@Z) referenced in
function "pub
lic: void __thiscall log4cxx::Logger::l7dlog(class
log4cxx::helpers::ObjectPtrT<
class log4cxx::Level> const &,class std::basic_string<unsigned
short,struct std:
:char_traits<unsigned short>,class std::allocator<unsigned short> >
const &,clas
s log4cxx::spi::LocationInfo const &,class std::vector<class
std::basic_string<u
nsigned short,struct std::char_traits<unsigned short>,class
std::allocator<unsig
ned short> >,class std::allocator<class std::basic_string<unsigned
short,struct
std::char_traits<unsigned short>,class std::allocator<unsigned short> >
> > cons
t &)"
([EMAIL PROTECTED]@log4cxx@@[EMAIL PROTECTED]@log4cxx@@@[EMAIL PROTECTED]@
AB
[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@ABVLocatio
[EMAIL PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@
@std@@V?
[EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@
@@2@@6@@
Z)
       [cc] log4cxxd.dll : fatal error LNK1120: 1 unresolved externals

BUILD FAILED
S:\src\log4cxx-0.9.8\build.xml:664: link failed with return code 1120

Total time: 5 seconds
S:\src\log4cxx-0.9.8>


Any ideas on what I can do?

BTW, there is a duplicate declaration of method "GetErrorMessage()" in
file:
log4cxx-0.9.8\include\log4cxx\db\odbcappender.h
Lines 199 and 209 contain the same declaration. I commented out the
second one in order to build.

Any help appreciated,
Chris

Reply via email to