Re: [Log4cplus-devel] log4cplus and undefined symbol with Sunstudio
Logging Framework for C++
Brought to you by:
wilx
From: Jeremy C. R. <re...@re...> - 2011-06-01 19:52:04
|
On Tue, 31 May 2011, V?clav Haisman wrote: > > But nm shows: > > > > [2134] | 251340| 48|FUNC |GLOB |0 |227 > > |log4cplus::Logger::getInstance(std::string ) > > > > Notice that the "const" and the "&" (ampersand) is gone. > That sounds like you could have headers/binaries mismatch. Another > thing, try putting the -llog4cplus at the end of the command line. Maybe but I couldn't find a mismatch. I also tried different link order. So I built with Sunstudio CC instead of gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath) and the problem went away: [1040] | 593856| 88|FUNC |GLOB |3 |9 |log4cplus::Logger log4cplus::Logger::getInstance(const std::string &) I have different issue. I will send a new email for that. |