Hi,

this is an issue I also observed, but did not fix yet.
In class.cpp line 36, please change

#ifdef LOG4CXX_HAVE_SMTP

to

#if LOG4CXX_HAVE_SMTP

Then it should work.

BTW: I am currently working on a daily MS-Windows build.
This issue is the last one which has to be fixed for it to work...

Best Regards,

        Andreas

Munir Badir wrote:
> Hi,
> 
> Yesterday I downloaded log4cxx-0.9.8 from
> http://littletux.homelinux.org/log4cxx/
> <http://littletux.homelinux.org/log4cxx/>   and I face the following link
> problem:
> 
>  
> 
>        [cc]    Creating library log4cxxd.lib and object log4cxxd.exp
> 
>        [cc] class.obj : error LNK2001: unresolved external symbol "public:
> static class log4cxx::hel
> 
> pers::Class const & __cdecl
> log4cxx::net::SMTPAppender::getStaticClass(void)" ([EMAIL PROTECTED]
> 
> [EMAIL PROTECTED]@log4cxx@@[EMAIL PROTECTED]@[EMAIL PROTECTED])
> 
>        [cc] class.obj : error LNK2001: unresolved external symbol "public:
> virtual __thiscall log4cx
> 
> x::net::SMTPAppender::~SMTPAppender(void)"
> ([EMAIL PROTECTED]@log4cxx@@[EMAIL PROTECTED])
> 
>        [cc] log4cxxd.dll : fatal error LNK1120: 2 unresolved externals

-- 
Andreas Fester
mailto:[EMAIL PROTECTED]
WWW: http://www.littletux.net
ICQ: 326674288

Reply via email to