Okay, thanks Andreas! 

I am getting there.

However, I have now hit a compilation issue, with the latest code from svn. I 
can't remember this problem in 64 bit, but I have tried compiling on a pure 32 
bit machine and get the same problem. Is it to do with wchars, which are 
getting configured differently now that I am not using ant? How do I fix this 
with the configure build?


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_UNISTD_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_SWPRINTF=1 -DHAVE_SYSLOG=1 
-DHAVE_PTHREAD=1 -DHAVE_THREAD=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_SETSOCKOPT=1 
-DHAVE_GETTIMEOFDAY=1 -DHAVE_FTIME=1 -DHAVE_SETENV=1 -DHAVE_MBSNRTOWCS=1 
-DHAVE_WCSNRTOMBS=1 -I. -I. -I../include -I../include -DLOG4CXX -DLINUX=2 
-D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE 
-I/home/kingos/logging-log4cxx/lib/apr-1.2.7/include 
-I/home/kingos/logging-log4cxx/lib/apr-util-1.2.7/include -D_REENTRANT -g -O2 
-MT charsetencoder.lo -MD -MP -MF .deps/charsetencoder.Tpo -c 
charsetencoder.cpp  -fPIC -DPIC -o .libs/charsetencoder.o
charsetencoder.cpp: In constructor 
`log4cxx::helpers::APRCharsetEncoder::APRCharsetEncoder(const char*)':
charsetencoder.cpp:49: error: `pool' was not declared in this scope
charsetencoder.cpp:53: error: `convset' was not declared in this scope
charsetencoder.cpp:60: error: expected primary-expression before "else"
charsetencoder.cpp:60: error: expected `;' before "else"
charsetencoder.cpp:62: error: expected primary-expression before "else"
charsetencoder.cpp:62: error: expected `;' before "else"

Thanks again for your help,
Regards,
Andrew

Reply via email to