|
From: Robinson, D. N. <Dav...@FM...> - 2005-11-22 15:58:56
|
Log4cpp support: When I try to install log4cpp on Unix/Solaris, I get the following error after I run the make command: source=3D'FixedContextCategory.cpp' object=3D'FixedContextCategory.lo' libtool=3Dyes \ DEPDIR=3D.deps depmode=3Dnone /bin/bash ../config/depcomp \ /bin/bash ../libtool --tag=3DCXX --mode=3Dcompile CC -DHAVE_CONFIG_H -I. = -I. -I../include -I../include -g -c -o FixedContextCategory.lo FixedContextCategory.cpp CC -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -c FixedContextCategory.cpp -KPIC -DPIC -o .libs/FixedContextCategory.o "../include/log4cpp/FixedContextCategory.hh", line 80: Error: Function log4cpp::FixedContextCategory::addAppender(log4cpp::Appender*) can throw only the exceptions thrown by the function log4cpp::Category::addAppender(log4cpp::Appender*) it overrides. "../include/log4cpp/FixedContextCategory.hh", line 171: Warning: log4cpp::FixedContextCategory::ownsAppender hides the virtual function log4cpp::Category::ownsAppender(log4cpp::Appender*, __rwstd::__rb_tree<log4cpp::Appender*, std::pair<log4cpp::Appender*const, bool>, __rwstd::__select1st<std::pair<log4cpp::Appender*const, bool>, log4cpp::Appender*>, std::less<log4cpp::Appender*>, std::allocator<std::pair<log4cpp::Appender*const, bool>>>::iterator&). 1 Error(s) and 1 Warning(s) detected. make[1]: *** [FixedContextCategory.lo] Error 1 make[1]: Leaving directory `/local2/prod/log4cpp-0.3.5rc3/src' make: *** [all-recursive] Error 1 Note that I set CC=3DCC CXX=3DCC LD=3D"CC -KPIC" ./configure --disable-static per the INSTALL instructions. Please advise. Thanks, David Robinson (dav...@fm...) |