Hello all... I'm trying to compile the actual devel version on a Solaris machine. I tried the way which is metioned in the INSTALL file:
CC=CC CXX=CC LD="CC _KPIC" ./configure --disable-static
but make aborts:
CC -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -c RollingFileAppender.cpp -KPIC -DPIC -o RollingFileAppender.o mv -f RollingFileAppender.o RollingFileAppender.lo /bin/sh ../libtool --mode=compile CC -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -c FixedContextCategory.cpp CC -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -c FixedContextCategory.cpp -KPIC -DPIC -o FixedContextCategory.o "../include/log4cpp/FixedContextCategory.hh", line 82: 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 173: 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. *** Error code 1 make: Fatal error: Command failed for target `FixedContextCategory.lo' Current working directory /export/home/thorsten/log4cpp-0.3.1/src *** Error code 1 make: Fatal error: Command failed for target `all-recursive'
what is wrong??
cu Thorsten
Log in to post a comment.
Hello all...
I'm trying to compile the actual devel version on a Solaris machine. I tried the way which is metioned in the INSTALL file:
CC=CC CXX=CC LD="CC _KPIC" ./configure --disable-static
but make aborts:
CC -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -c RollingFileAppender.cpp -KPIC -DPIC -o RollingFileAppender.o
mv -f RollingFileAppender.o RollingFileAppender.lo
/bin/sh ../libtool --mode=compile CC -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -c FixedContextCategory.cpp
CC -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -c FixedContextCategory.cpp -KPIC -DPIC -o FixedContextCategory.o
"../include/log4cpp/FixedContextCategory.hh", line 82: 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 173: 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.
*** Error code 1
make: Fatal error: Command failed for target `FixedContextCategory.lo'
Current working directory /export/home/thorsten/log4cpp-0.3.1/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
what is wrong??
cu
Thorsten