I'm trying to recompile with the latest revision of Log4Cxx and I'm getting
a missing symbol error: "ld: 0711-317 ERROR: Undefined symbol:
.log4cxx::Logger::error(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)"

The strange thing here is that this error is only for the error function,
not for info(), warn(), etc. I'm only calling the function in one place, if
I comment out error(), I can compile fine. I took a look at the code in
logger.cpp and everything there seems the same as everything else.


Any ideas?


Thanks,
Marshall



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On Behalf Of Curt Arnold
Sent: 2007-May-23 Wed 12:33 PM
To: Log4CXX User
Subject: Re: IOT/Abort Trap on AIX 5.3

Similar problems had been reported before on AIX due to the few  
remaining non-local statics (Level::DEBUG, Level::INFO, etc).  I  
didn't see an existing bug report so I filed LOGCXX-181 (https:// 
issues.apache.org/jira/browse/LOGCXX-181) and finally pulled the plug  
on the problematic static members.  It is highly like to break some  
code, but I see no way of making the non-static local safe on all  
platforms.  Please update your code snapshot and see if that fixed  
your problem.



On May 23, 2007, at 9:26 AM, Marshall Powers wrote:

> I'm getting a runtime error on AIX, "IOT/Abort Trap (core dumped)".  
> I wrote
> a small test program to test the log4cxx functionality, compiling  
> it with
> the same compile options as my larger program. I was able to get some
> logging output out of the smaller program, but it crashed with the  
> same
> message when it reached the end of main().
>
> Has anyone else run into this problem on AIX? Any suggestions?
>
>
> Thanks
> Marshall


Reply via email to