If you can, upgrade to either to g++ (preferred) or a newer Sun compiler. Compile success has been reported with the SunW CC compiler on Solaris 7. Browse development mailing list archive for details (and linking instructions!).
Alternatively if you don't need CategoryStreams you can simply comment out the problematic << method. This method isn't used internally by log4cpp.
Else you need to specialize it yourself.
In any case I recommend v 0.2.6RC3 over 0.2.5.
Good luck,
Bastiaan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2001-12-05
Thanks for the advice - I've cajoled my project into using gcc-2.95.3 (I can't use gcc-3.0.2 yet, since my project is built on omniORB, which has problems with the gcc-3 series.)
I get the package to compile (had to comment out call to ::time in the testmain.cpp file), but it then segfaults after I try running testmain.
Any ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was able to get it to compile 0.2.7 and run successfully on Solaris 8 with gcc 2.95.3 but when I would compile testmain.cpp in order to make it so it didn't segfault upon execution I had to statically link.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm trying to compile log4cpp with the Sun Workshop C++ compiler (v5.0) on a Solaris 8 box, and I get the following error:
"../include/log4cpp/Category.hh", line 88: Error: Member Templates not implemented
I've tried this with v2.5 and v2.6 RC3 - same error
Am i going to have to go in and specialize the header for this compiler?
Thanks for your time
-Jeremy
If you can, upgrade to either to g++ (preferred) or a newer Sun compiler. Compile success has been reported with the SunW CC compiler on Solaris 7. Browse development mailing list archive for details (and linking instructions!).
Alternatively if you don't need CategoryStreams you can simply comment out the problematic << method. This method isn't used internally by log4cpp.
Else you need to specialize it yourself.
In any case I recommend v 0.2.6RC3 over 0.2.5.
Good luck,
Bastiaan
Thanks for the advice - I've cajoled my project into using gcc-2.95.3 (I can't use gcc-3.0.2 yet, since my project is built on omniORB, which has problems with the gcc-3 series.)
I get the package to compile (had to comment out call to ::time in the testmain.cpp file), but it then segfaults after I try running testmain.
Any ideas?
I was able to get it to compile 0.2.7 and run successfully on Solaris 8 with gcc 2.95.3 but when I would compile testmain.cpp in order to make it so it didn't segfault upon execution I had to statically link.