logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mihai Rusu <di...@roedu.net>
Subject Re: x86_64 problems
Date Fri, 15 Jul 2005 08:29:07 GMT
Hi there

On Thu, Jul 14, 2005 at 12:29:55PM -0500, Curt Arnold wrote:
> 
> There are a lot of things that can cause log4cxx 0.9.7 to crash which  
> have been fixed in the CVS.  Fixing some of these required fairly  
> pervasive changes and 0.9.7 can't be easily "patched" to work around  
> the problems.

OK.

> The CVS HEAD requires 1.x versions of apr and apr-util, not 0.9.x.  I  
> had considered attempting to support both APR-0.9.x and APR-1.x, but  
> it added much too much complication.

Hmm, installed apr 1.1.1, apr-util 1.1.2, got a new snapshot of log4cxx 
CVS and this is what happens at compile time:

 g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"log4cxx\" 
-DVERSION=\"0.9.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DHAVE_LIBBOOST_REGEX=1 -DHAVE_BOOST_REGEX_HPP=1 -DHAVE_UNISTD_H=1 
-DHAVE_ALLOCA_H=1 -DHAVE_PTHREAD=1 -DHAVE_THREAD=1 -DHAVE_LIBXML2=1 
-DHAVE_XML=1 -I. -I. -I../include -I../include -I/usr/include/libxml2 
-DLOG4CXX -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1 
-I/usr/include/apr-1 -D_REENTRANT -g -O2 -MT simpledateformat.lo -MD -MP 
-MF .deps/simpledateformat.Tpo -c simpledateformat.cpp  -fPIC -DPIC -o 
.libs/simpledateformat.o
simpledateformat.cpp: In constructor 
`AbbreviatedMonthNameToken::AbbreviatedMonthNameToken(int, const 
std::locale*)':
simpledateformat.cpp:222: error: invalid initialization of reference of 
type 'log4cxx::LogString&' from expression of type 
'std::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> >'
simpledateformat.cpp:78: error: in passing argument 1 of `void 
log4cxx::helpers::SimpleDateFormatImpl::renderFacet(log4cxx::LogString&, 
apr_time_exp_t*, const char*)'
simpledateformat.cpp: In constructor 
`FullMonthNameToken::FullMonthNameToken(int, const std::locale*)':
simpledateformat.cpp:266: error: invalid initialization of reference of 
type 'log4cxx::LogString&' from expression of type 
'std::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> >'
simpledateformat.cpp:78: error: in passing argument 1 of `void 
log4cxx::helpers::SimpleDateFormatImpl::renderFacet(log4cxx::LogString&, 
apr_time_exp_t*, const char*)'
simpledateformat.cpp: In constructor 
`AbbreviatedDayNameToken::AbbreviatedDayNameToken(int, const 
std::locale*)':
simpledateformat.cpp:385: error: invalid initialization of reference of 
type 'log4cxx::LogString&' from expression of type 
'std::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> >'
simpledateformat.cpp:78: error: in passing argument 1 of `void 
log4cxx::helpers::SimpleDateFormatImpl::renderFacet(log4cxx::LogString&, 
apr_time_exp_t*, const char*)'
... and it continues like that for 3 screen pages.

-- 
Mihai RUSU                                    Email: dizzy@roedu.net
GPG : http://dizzy.roedu.net/dizzy-gpg.txt    WWW: http://dizzy.roedu.net
                       "Linux is obsolete" -- AST

Mime
View raw message