From: Thomas P. <tho...@os...> - 2002-05-14 11:25:21
|
Okay, I commented out the lines for the #define LOG4CPP_HAVE_INT64_T in include/log4cpp/config.h. But this is not the best way... On Tue, May 14, 2002 at 01:05:28PM +0200, Thomas Porschberg wrote: > > I tried to compile on HPUX11 with gcc3.0.1 and the > configure - script reported: > . > . > . > checking for int64_t... yes > . > . > . > > but the compilation of PatternLayout.cpp failed: > > PatternLayout.cpp: In member function `std::string > log4cpp::PatternLayout::doFormat(const log4cpp::LoggingEvent&, > std::basic_string<char, std::char_traits<char>, std::allocator<char> >, > bool*)': > PatternLayout.cpp:128: `int64_t' undeclared (first use this function) > PatternLayout.cpp:128: (Each undeclared identifier is reported only once for > each function it appears in.) > PatternLayout.cpp:128: parse error before `=' token > PatternLayout.cpp:130: `t' undeclared (first use this function) > *** Error exit code 1 > > I used this shellscript: > > #!/bin/ksh > > unset CFLAGS > export PATH="/opt/gcc/bin:$PATH" > export CXXFLAGS='-g -Wall -pedantic' > ./configure --prefix=/opt --enable-shared=no > > make > > How to overcome this error ? > > thomas > > -- > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: ban...@so... > _______________________________________________ > Log4cpp-devel mailing list > Log...@li... > https://lists.sourceforge.net/lists/listinfo/log4cpp-devel -- |