Hi, everybody!

I have been using log4cxx-0.10.0 on Fedora 7 and Centos 5.1 with no
problems.   I just migrated to Fedora 9 and tried to recompile log4cxx
and I am getting the following error ... 

g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"log4cxx\"
-DVERSION=\"0.10.0\" -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_MBSRTOWCS=1
-DHAVE_WCSTOMBS=1 -DHAVE_SYSLOG=1 -DHAVE_FWIDE=1 -I. -I.
-I../../../src/main/include -I../../../src/main/include -DLINUX=2
-D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1
-I/usr/include/apr-1 -I/usr/include/mysql -g -O2 -MT
inputstreamreader.lo -MD -MP -MF .deps/inputstreamreader.Tpo -c
inputstreamreader.cpp  -fPIC -DPIC -o .libs/inputstreamreader.o
inputstreamreader.cpp: In member function 'virtual log4cxx::LogString
log4cxx::helpers::InputStreamReader::read(log4cxx::helpers::Pool&)':
inputstreamreader.cpp:66: error: 'memmove' was not declared in this
scope
make[3]: *** [inputstreamreader.lo] Error 1
make[3]: Leaving directory
`/home/dschornack/Projects/apache-log4cxx-0.10.0/src/main/cpp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/dschornack/Projects/apache-log4cxx-0.10.0/src/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/dschornack/Projects/apache-log4cxx-0.10.0/src'
make: *** [all-recursive] Error 1

>From my Googling, it seems to have something to do with g++ 4.3 as I was
using g++ 4.2 on Fedora 7.  Anyone else having this problem?  Is there
any quick fix besides modifying the log4cxx to fix the problem?

Thanks
David

Reply via email to