From: Thomas P. <tho...@os...> - 2002-05-14 11:05:44
|
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 -- |