From: Bastiaan B. <Bas...@li...> - 2002-05-14 11:51:21
|
This has been fixed in m4/AC_C_INT64_T.m4 a few weeks ago. It is = available from CVS and will be in 0.3.2 . Regards, Bsstiaan Bakker LifeLine Networks bv=20 > -----Original Message----- > From: Thomas Porschberg [mailto:tho...@os...] > Sent: Tuesday, May 14, 2002 1:25 PM > To: Thomas Porschberg > Cc: log...@li... > Subject: Re: [Log4cpp-devel] HP-UX/gcc3.0.1/int64_t >=20 >=20 > Okay, I commented out > the lines for the #define LOG4CPP_HAVE_INT64_T > in include/log4cpp/config.h. >=20 > But this is not the best way... >=20 >=20 > On Tue, May 14, 2002 at 01:05:28PM +0200, Thomas Porschberg wrote: > >=20 > > I tried to compile on HPUX11 with gcc3.0.1 and the > > configure - script reported: > > . > > . > > . > > checking for int64_t... yes > > . > > . > > . > >=20 > > but the compilation of PatternLayout.cpp failed: > >=20 > > PatternLayout.cpp: In member function `std::string=20 > > log4cpp::PatternLayout::doFormat(const log4cpp::LoggingEvent&,=20 > > std::basic_string<char, std::char_traits<char>,=20 > std::allocator<char> >,=20 > > bool*)': > > PatternLayout.cpp:128: `int64_t' undeclared (first use this=20 > function) > > PatternLayout.cpp:128: (Each undeclared identifier is=20 > reported only once for=20 > > each function it appears in.) > > PatternLayout.cpp:128: parse error before `=3D' token > > PatternLayout.cpp:130: `t' undeclared (first use this function) > > *** Error exit code 1 > >=20 > > I used this shellscript: > >=20 > > #!/bin/ksh > >=20 > > unset CFLAGS > > export PATH=3D"/opt/gcc/bin:$PATH" > > export CXXFLAGS=3D'-g -Wall -pedantic' > > ./configure --prefix=3D/opt --enable-shared=3Dno > >=20 > > make > >=20 > > How to overcome this error ? > >=20 > > thomas > >=20 > > --=20 > >=20 > > _______________________________________________________________ > >=20 > > Have big pipes? SourceForge.net is looking for download=20 > mirrors. We supply > > the hardware. You get the recognition. Email Us:=20 > ban...@so... > > _______________________________________________ > > Log4cpp-devel mailing list > > Log...@li... > > https://lists.sourceforge.net/lists/listinfo/log4cpp-devel >=20 > --=20 >=20 > _______________________________________________________________ >=20 > Have big pipes? SourceForge.net is looking for download=20 > mirrors. We supply > the hardware. You get the recognition. Email Us:=20 > ban...@so... > _______________________________________________ > Log4cpp-devel mailing list > Log...@li... > https://lists.sourceforge.net/lists/listinfo/log4cpp-devel >=20 |