Owens, Brad | 1 Dec 20:44 2005

can anyone build log4cxx HEAD in cygwin?

Hello,

 

I have been trying unsuccessfully to build the HEAD version of log4cxx using cygwin 1.5.18.

 

I am using the following software:

Cygwin 1.5.18

Ant 1.6.5

Gcc -version shows: gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)

 

Here is as far as I have gotten:

 

I have downloaded the latest snapshot (12/1/05) from http://littletux.homelinux.org/log4cxx/log4cxx-0.9.8.tar.gz

 

After untarring log4cxx, I obtained the latest versions of apr, apr-util, cppunit, and apr-iconv, and placed them in the lib directory under my installation directory.  Specifically, the following files are now in the lib directory:

apr-1.2.2.tar.gz

apr-iconv-1.0.1.tar.gz

apr-util-1.2.2.tar.gz

cppunit-1.10.2.tar.gz

 

Then I did the following:

$ export CLASSPATH=/cygdrive/c/ant-contrib/ant-contrib/build/lib/ant-contrib.jar:/cygdrive/c/ant-contrib/cpptasks/build/lib/cpptasks.jar

$ ant -Dos.family=cygwin build

 

The config and build went fine until the build-apr target, which failed due to the "with-apr" variable having the incorrect value.  I tweaked line 496 of build.xml to fix the "with-apr" variable to be "../apr-${apr.version}/apr-1-config" instead of "../apr-${apr.version}/apr--config".

 

I then repeated the build command:

$ ant -Dos.family=cygwin build

 

Now the build runs fine through the "build-apr" and "build-aprutil" targets and then fails during the "build" target:

The output is below.  Has anyone had any success building the HEAD of log4cxx with cygwin either with ant or autogen/configure/make?  I cannot use log4cxx 0.9.7 due to its initialization woes.  I think that log4cxx would be a great fit for our logging needs, and I would appreciate any help on this problem.

 

Thanks!

 

Brad

 

### output from failed build on cygwin:

 

$ ant -Dos.family=cygwin build

Buildfile: build.xml

 

os-detect:

 

win-init:

 

mac-init:

 

unix-init:

 

init:

 

build-apr:

 

get-apr-src:

 

untar-apr-src:

 

os-detect:

 

win-init:

 

unix-init:

 

init:

 

configure-check:

 

unix-configure:

 

win-configure:

 

configure:

 

build:

       [cc] Starting dependency analysis for 67 files.

       [cc] 67 files are up to date.

       [cc] 0 files to be recompiled from dependency analysis.

       [cc] 0 total files to be compiled.

 

build-aprutil:

 

get-aprutil-src:

 

untar-aprutil-src:

 

os-detect:

 

win-init:

 

unix-init:

 

init:

 

configure-check:

 

unix-configure:

     [exec] checking build system type... i686-pc-cygwin

     [exec] checking host system type... i686-pc-cygwin

     [exec] checking target system type... i686-pc-cygwin

     [exec] checking for a BSD-compatible install... /usr/bin/install -c

     [exec] checking for working mkdir -p... yes

     [exec] APR-util Version: 1.2.2

     [exec] checking for chosen layout... apr-util

     [exec] Applying apr-util hints file rules for i686-pc-cygwin

     [exec] checking for APR... yes

     [exec]   setting CC to "gcc"

     [exec]   setting CPP to "gcc -E"

     [exec]   setting CFLAGS to " -g -O2"

     [exec]   setting CPPFLAGS to " -DCYGWIN"

     [exec] checking for gcc... gcc

     [exec] checking for C compiler default output file name... a.exe

     [exec] checking whether the C compiler works... yes

     [exec] checking whether we are cross compiling... no

     [exec] checking for suffix of executables... .exe

     [exec] checking for suffix of object files... o

     [exec] checking whether we are using the GNU C compiler... yes

     [exec] checking whether gcc accepts -g... yes

     [exec] checking for gcc option to accept ANSI C... none needed

     [exec] checking how to run the C preprocessor... gcc -E

     [exec] checking for egrep... grep -E

     [exec] checking for ANSI C header files... yes

     [exec] checking for sys/types.h... yes

     [exec] checking for sys/stat.h... yes

     [exec] checking for stdlib.h... yes

     [exec] checking for string.h... yes

     [exec] checking for memory.h... yes

     [exec] checking for strings.h... yes

     [exec] checking for inttypes.h... yes

     [exec] checking for stdint.h... yes

     [exec] checking for unistd.h... yes

     [exec] checking for ldap support...

     [exec] checking gdbm.h usability... yes

     [exec] checking gdbm.h presence... yes

     [exec] checking for gdbm.h... yes

     [exec] checking for gdbm_open in -lgdbm... yes

     [exec] checking for Berkeley DB 4.3 in the standard places...

     [exec] checking db43/db.h usability... no

     [exec] checking db43/db.h presence... no

     [exec] checking for db43/db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking db43/db.h usability... no

     [exec] checking db43/db.h presence... no

     [exec] checking for db43/db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking db43/db.h usability... no

     [exec] checking db43/db.h presence... no

     [exec] checking for db43/db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking db43/db.h usability... no

     [exec] checking db43/db.h presence... no

     [exec] checking for db43/db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking db43/db.h usability... no

     [exec] checking db43/db.h presence... no

     [exec] checking for db43/db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking for Berkeley DB 4.3 in /usr/local/BerkeleyDB.4.3... directory not fou

nd

     [exec] checking for Berkeley DB 4.3 in /boot/home/config... directory not found

     [exec] checking for Berkeley DB 4.2 in the standard places...

     [exec] checking db42/db.h usability... no

     [exec] checking db42/db.h presence... no

     [exec] checking for db42/db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking db42/db.h usability... no

     [exec] checking db42/db.h presence... no

     [exec] checking for db42/db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking db42/db.h usability... no

     [exec] checking db42/db.h presence... no

     [exec] checking for db42/db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking db42/db.h usability... no

     [exec] checking db42/db.h presence... no

     [exec] checking for db42/db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking for Berkeley DB 4.2 in /usr/local...

     [exec] checking db42/db.h usability... no

     [exec] checking db42/db.h presence... no

     [exec] checking for db42/db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking db42/db.h usability... no

     [exec] checking db42/db.h presence... no

     [exec] checking for db42/db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking db42/db.h usability... no

     [exec] checking db42/db.h presence... no

     [exec] checking for db42/db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking db42/db.h usability... no

     [exec] checking db42/db.h presence... no

     [exec] checking for db42/db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking for Berkeley DB 4.2 in /usr/local/BerkeleyDB.4.2... directory not fou

nd

     [exec] checking for Berkeley DB 4.2 in /boot/home/config... directory not found

     [exec] checking for Berkeley DB 4.1 in the standard places...

     [exec] checking db41/db.h usability... no

     [exec] checking db41/db.h presence... no

     [exec] checking for db41/db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking db41/db.h usability... no

     [exec] checking db41/db.h presence... no

     [exec] checking for db41/db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking db41/db.h usability... no

     [exec] checking db41/db.h presence... no

     [exec] checking for db41/db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking db41/db.h usability... no

     [exec] checking db41/db.h presence... no

     [exec] checking for db41/db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking for Berkeley DB 4.1 in /usr/local...

     [exec] checking db41/db.h usability... no

     [exec] checking db41/db.h presence... no

     [exec] checking for db41/db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking db41/db.h usability... no

     [exec] checking db41/db.h presence... no

     [exec] checking for db41/db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking db41/db.h usability... no

     [exec] checking db41/db.h presence... no

     [exec] checking for db41/db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking db41/db.h usability... no

     [exec] checking db41/db.h presence... no

     [exec] checking for db41/db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking for Berkeley DB 4.1 in /usr/local/BerkeleyDB.4.1... directory not fou

nd

     [exec] checking for Berkeley DB 4.1 in /boot/home/config... directory not found

     [exec] checking for Berkeley DB 4.0 in the standard places...

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking for Berkeley DB 4.0 in /usr/local...

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking db4/db.h usability... no

     [exec] checking db4/db.h presence... no

     [exec] checking for db4/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking for Berkeley DB 4.0 in /usr/local/BerkeleyDB.4.0... directory not fou

nd

     [exec] checking for Berkeley DB 4.0 in /boot/home/config... directory not found

     [exec] checking for Berkeley DB 3 in the standard places...

     [exec] checking db3/db.h usability... no

     [exec] checking db3/db.h presence... no

     [exec] checking for db3/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking db3/db.h usability... no

     [exec] checking db3/db.h presence... no

     [exec] checking for db3/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking for Berkeley DB 2 in the standard places...

     [exec] checking db2/db.h usability... no

     [exec] checking db2/db.h presence... no

     [exec] checking for db2/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking db2/db.h usability... no

     [exec] checking db2/db.h presence... no

     [exec] checking for db2/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking for Berkeley DB 1.0.0 in the standard places...

     [exec] checking db1/db.h usability... no

     [exec] checking db1/db.h presence... no

     [exec] checking for db1/db.h... no

     [exec] checking db.h usability... no

     [exec] checking db.h presence... no

     [exec] checking for db.h... no

     [exec] checking for Berkeley DB 1 in the standard places...

     [exec] checking db_185.h usability... no

     [exec] checking db_185.h presence... no

     [exec] checking for db_185.h... no

     [exec] checking for Berkeley DB... not found

     [exec] checking for default DBM... sdbm (default)

     [exec]   setting APRUTIL_EXPORT_LIBS to "-lgdbm"

     [exec]   setting APRUTIL_LIBS to "-lgdbm"

     [exec] checking libpq-fe.h usability... no

     [exec] checking libpq-fe.h presence... no

     [exec] checking for libpq-fe.h... no

     [exec] checking mysql.h usability... no

     [exec] checking mysql.h presence... no

     [exec] checking for mysql.h... no

     [exec] checking sqlite3.h usability... no

     [exec] checking sqlite3.h presence... no

     [exec] checking for sqlite3.h... no

     [exec] checking sqlite.h usability... no

     [exec] checking sqlite.h presence... no

     [exec] checking for sqlite.h... no

     [exec] checking for Expat in /usr... yes

     [exec]   adding "-lexpat" to APRUTIL_EXPORT_LIBS

     [exec]   setting APRUTIL_LDFLAGS to ""

     [exec]   adding "/usr/lib/libexpat.la" to APRUTIL_LIBS

     [exec] checking iconv.h usability... yes

     [exec] checking iconv.h presence... yes

     [exec] checking for iconv.h... yes

     [exec]   setting LIBS to "-liconv"

     [exec]   adding "-liconv" to APRUTIL_LIBS

     [exec]   adding "-liconv" to APRUTIL_EXPORT_LIBS

     [exec]   nulling LIBS

     [exec] checking for type of inbuf parameter to iconv... const char **

     [exec] checking for iconv.h... (cached) yes

     [exec] checking langinfo.h usability... yes

     [exec] checking langinfo.h presence... yes

     [exec] checking for langinfo.h... yes

     [exec] checking for nl_langinfo... yes

     [exec] checking for CODESET in langinfo.h... yes

     [exec] checking for library containing crypt... -lcrypt

     [exec] checking if system crypt() function is threadsafe... no

     [exec] checking for crypt_r... no

     [exec]   adding "/cygdrive/c/testlab/log4cxx-20051201/log4cxx-0.9.8/lib/apr-1.2.2/lib

apr-1.la" to APRUTIL_LIBS

     [exec]   adding "-lcrypt" to APRUTIL_LIBS

     [exec] configure: creating ./config.status

     [exec] config.status: creating Makefile

     [exec] config.status: creating export_vars.sh

     [exec] config.status: creating build/pkg/pkginfo

     [exec] config.status: creating apr-util.pc

     [exec] config.status: creating apu-1-config

     [exec] config.status: creating include/private/apu_select_dbm.h

     [exec] config.status: creating include/apr_ldap.h

     [exec] config.status: creating include/apu.h

     [exec] config.status: creating include/apu_want.h

     [exec] config.status: creating test/Makefile

     [exec] config.status: creating include/private/apu_config.h

     [exec] config.status: executing default commands

     [exec] checking build system type... i686-pc-cygwin

     [exec] checking host system type... i686-pc-cygwin

     [exec] checking target system type... i686-pc-cygwin

     [exec] checking for gcc... gcc

     [exec] checking for C compiler default output file name... a.exe

     [exec] checking whether the C compiler works... yes

     [exec] checking whether we are cross compiling... no

     [exec] checking for suffix of executables... .exe

     [exec] checking for suffix of object files... o

     [exec] checking whether we are using the GNU C compiler... yes

     [exec] checking whether gcc accepts -g... yes

     [exec] checking for gcc option to accept ANSI C... none needed

     [exec] checking for a sed that does not truncate output... /usr/bin/sed

     [exec] checking for egrep... grep -E

     [exec] checking for ld used by gcc... /usr/i686-pc-cygwin/bin/ld.exe

     [exec] checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes

     [exec] checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -

r

     [exec] checking for BSD-compatible nm... /usr/bin/nm -B

     [exec] checking whether ln -s works... yes

     [exec] checking how to recognise dependent libraries... file_magic ^x86 archive impor

t|^x86 DLL

     [exec] checking for dlltool... dlltool

     [exec] checking for as... as

     [exec] checking for objdump... objdump

     [exec] checking how to run the C preprocessor... gcc -E

     [exec] checking for ANSI C header files... yes

     [exec] checking for sys/types.h... yes

     [exec] checking for sys/stat.h... yes

     [exec] checking for stdlib.h... yes

     [exec] checking for string.h... yes

     [exec] checking for memory.h... yes

     [exec] checking for strings.h... yes

     [exec] checking for inttypes.h... yes

     [exec] checking for stdint.h... yes

     [exec] checking for unistd.h... yes

     [exec] checking dlfcn.h usability... yes

     [exec] checking dlfcn.h presence... yes

     [exec] checking for dlfcn.h... yes

     [exec] checking for g++... g++

     [exec] checking whether we are using the GNU C++ compiler... yes

     [exec] checking whether g++ accepts -g... yes

     [exec] checking how to run the C++ preprocessor... g++ -E

     [exec] checking for g77... no

     [exec] checking for f77... no

     [exec] checking for xlf... no

     [exec] checking for frt... no

     [exec] checking for pgf77... no

     [exec] checking for fort77... no

     [exec] checking for fl32... no

     [exec] checking for af77... no

     [exec] checking for f90... no

     [exec] checking for xlf90... no

     [exec] checking for pgf90... no

     [exec] checking for epcf90... no

     [exec] checking for f95... no

     [exec] checking for fort... no

     [exec] checking for xlf95... no

     [exec] checking for ifc... no

     [exec] checking for efc... no

     [exec] checking for pgf95... no

     [exec] checking for lf95... no

     [exec] checking for gfortran... no

     [exec] checking whether we are using the GNU Fortran 77 compiler... no

     [exec] checking whether  accepts -g... no

     [exec] checking the maximum length of command line arguments... 8192

     [exec] checking command to parse /usr/bin/nm -B output from gcc object... ok

     [exec] checking for objdir... .libs

     [exec] checking for ar... ar

     [exec] checking for ranlib... ranlib

     [exec] checking for strip... strip

     [exec] checking if gcc static flag  works... yes

     [exec] checking if gcc supports -fno-rtti -fno-exceptions... no

     [exec] checking for gcc option to produce PIC...

     [exec] checking if gcc supports -c -o file.o... yes

     [exec] checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shar

ed libraries... yes

     [exec] checking whether -lc should be explicitly linked in... yes

     [exec] checking dynamic linker characteristics... Win32 ld.exe

     [exec] checking how to hardcode library paths into programs... immediate

     [exec] checking whether stripping libraries is possible... yes

     [exec] checking if libtool supports shared libraries... yes

     [exec] checking whether to build shared libraries... yes

     [exec] checking whether to build static libraries... yes

     [exec] configure: creating libtool

     [exec] appending configuration tag "CXX" to libtool

     [exec] checking for ld used by g++... /usr/i686-pc-cygwin/bin/ld.exe

     [exec] checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes

     [exec] checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shar

ed libraries... yes

     [exec] checking for g++ option to produce PIC...

     [exec] checking if g++ supports -c -o file.o... yes

     [exec] checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shar

ed libraries... yes

     [exec] checking dynamic linker characteristics... Win32 ld.exe

     [exec] checking how to hardcode library paths into programs... immediate

     [exec] checking whether stripping libraries is possible... yes

     [exec] appending configuration tag "F77" to libtool

     [exec] checking for gcc... (cached) gcc

     [exec] checking whether we are using the GNU C compiler... (cached) yes

     [exec] checking whether gcc accepts -g... (cached) yes

     [exec] checking for gcc option to accept ANSI C... (cached) none needed

     [exec] checking for a BSD-compatible install... /usr/bin/install -c

     [exec] checking for ANSI C header files... (cached) yes

     [exec] checking fcntl.h usability... yes

     [exec] checking fcntl.h presence... yes

     [exec] checking for fcntl.h... yes

     [exec] checking for unistd.h... (cached) yes

     [exec] checking for string.h... (cached) yes

     [exec] checking whether byte ordering is bigendian... no

     [exec] checking for an ANSI C-conforming const... yes

     [exec] checking for off_t... yes

     [exec] checking for size_t... yes

     [exec] checking for working memcmp... yes

     [exec] checking for stdlib.h... (cached) yes

     [exec] checking for unistd.h... (cached) yes

     [exec] checking for getpagesize... yes

     [exec] checking for working mmap... no

     [exec] checking for memmove... yes

     [exec] checking for bcopy... yes

     [exec] configure: creating ./config.status

     [exec] config.status: creating Makefile

     [exec] config.status: creating lib/Makefile

     [exec] config.status: creating lib/expat.h

     [exec] config.status: creating config.h

     [exec] config.status: config.h is unchanged

 

win-configure:

 

configure:

 

build:

       [cc] 46 total files to be compiled.

       [cc] Starting link

       [cc] ar: creating libaprutil-1.a

       [cc] a - aprutil_obj\sdbm_hash.o

       [cc] a - aprutil_obj\apu_version.o

       [cc] a - aprutil_obj\getuuid.o

       [cc] a - aprutil_obj\apr_buckets_mmap.o

       [cc] a - aprutil_obj\apr_buckets_file.o

       [cc] a - aprutil_obj\apr_dbd.o

       [cc] a - aprutil_obj\sdbm_pair.o

       [cc] a - aprutil_obj\xlate.o

       [cc] a - aprutil_obj\apr_xml.o

       [cc] a - aprutil_obj\apr_buckets_alloc.o

       [cc] a - aprutil_obj\apr_buckets_eos.o

       [cc] a - aprutil_obj\xmltok.o

       [cc] a - aprutil_obj\uuid.o

       [cc] a - aprutil_obj\apr_buckets_pool.o

       [cc] a - aprutil_obj\apr_base64.o

       [cc] a - aprutil_obj\sdbm.o

       [cc] a - aprutil_obj\apr_buckets_simple.o

       [cc] a - aprutil_obj\apr_buckets_pipe.o

       [cc] a - aprutil_obj\apr_date.o

       [cc] a - aprutil_obj\apr_dbm.o

       [cc] a - aprutil_obj\apr_reslist.o

       [cc] a - aprutil_obj\apr_rmm.o

       [cc] a - aprutil_obj\apr_hooks.o

       [cc] a - aprutil_obj\apr_sha1.o

       [cc] a - aprutil_obj\apr_buckets_flush.o

       [cc] a - aprutil_obj\apr_strmatch.o

       [cc] a - aprutil_obj\apr_dbm_berkeleydb.o

       [cc] a - aprutil_obj\apr_brigade.o

       [cc] a - aprutil_obj\gen_uri_delims.o

       [cc] a - aprutil_obj\apr_dbm_ndbm.o

       [cc] a - aprutil_obj\xmlparse.o

       [cc] a - aprutil_obj\apr_uri.o

       [cc] a - aprutil_obj\apr_queue.o

       [cc] a - aprutil_obj\apr_dbm_gdbm.o

       [cc] a - aprutil_obj\xmlrole.o

       [cc] a - aprutil_obj\apr_dbd_pgsql.o

       [cc] a - aprutil_obj\apr_buckets_socket.o

       [cc] a - aprutil_obj\apr_buckets_refcount.o

       [cc] a - aprutil_obj\sdbm_lock.o

       [cc] a - aprutil_obj\apr_dbd_sqlite2.o

       [cc] a - aprutil_obj\apr_buckets.o

       [cc] a - aprutil_obj\apr_md4.o

       [cc] a - aprutil_obj\apr_dbd_sqlite3.o

       [cc] a - aprutil_obj\apr_buckets_heap.o

       [cc] a - aprutil_obj\apr_md5.o

       [cc] a - aprutil_obj\apr_dbm_sdbm.o

 

config-check:

 

unix-configure:

     [copy] Copying 1 file to C:\testlab\log4cxx-20051201\log4cxx-0.9.8\include\log4cxx

     [copy] Copying 1 file to C:\testlab\log4cxx-20051201\log4cxx-0.9.8\include\log4cxx\pr

ivate

 

win-configure:

 

configure:

     [echo] Configuring with has.wchar_t=1

     [echo] Configuring with logchar_type=utf-8

 

build:

    [mkdir] Created dir: C:\testlab\log4cxx-20051201\log4cxx-0.9.8\build\debug\shared\log4

cxx_obj

       [cc] 143 total files to be compiled.

       [cc] In file included from C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\socket.cpp

:30:

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/loglog.h:92:

 error: expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/loglog.h:92:

 error: expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/loglog.h:92:

 error: ISO C++ forbids declaration of `parameter' with no type

       [cc] In file included from C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\transcoder

.cpp:17:

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

:75: error: expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

:75: error: expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

:75: error: ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

:81: error: `std::wstring' has not been declared

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

:81: error: ISO C++ forbids declaration of `dst' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

: In static member function `static log4cxx::LogString log4cxx::helpers::Transcoder::decod

e(int)':

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

:77: error: `src' undeclared (first use this function)

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

:77: error: (Each undeclared identifier is reported only once for each function it appears

 in.)

       [cc] In file included from C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\transcoder

.cpp:23:

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/charsetencod

er.h: At global scope:

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/charsetencod

er.h:82: error: expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/charsetencod

er.h:82: error: expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/charsetencod

er.h:82: error: ISO C++ forbids declaration of `parameter' with no type

       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\transcoder.cpp:125: error: `std:

:wstring' has not been declared

       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\transcoder.cpp:125: error: ISO C

++ forbids declaration of `dst' with no type

       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\transcoder.cpp: In static member

 function `static void log4cxx::helpers::Transcoder::encode(const log4cxx::LogString&, int

&)':

       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\transcoder.cpp:134: error: reque

st for member `append' in `dst', which is of non-class type `int'

       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\transcoder.cpp:140: error: reque

st for member `append' in `dst', which is of non-class type `int'

       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\transcoder.cpp:143: error: reque

st for member `append' in `dst', which is of non-class type `int'

       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\transcoder.cpp:144: error: reque

st for member `append' in `dst', which is of non-class type `int'

       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\transcoder.cpp:145: error: reque

st for member `append' in `dst', which is of non-class type `int'

       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\transcoder.cpp:146: error: reque

st for member `append' in `dst', which is of non-class type `int'

       [cc] In file included from C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\patterncon

verter.cpp:18:

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

:75: error: expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

:75: error: expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

:75: error: ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

:81: error: `std::wstring' has not been declared

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

:81: error: ISO C++ forbids declaration of `dst' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

: In static member function `static log4cxx::LogString log4cxx::helpers::Transcoder::decod

e(int)':

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

:77: error: `src' undeclared (first use this function)

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

:77: error: (Each undeclared identifier is reported only once for each function it appears

 in.)

       [cc] In file included from C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cx

x/appenderskeleton.h:27,

       [cc]                  from C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\optionconv

erter.cpp:19:

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/level.h:93: error: e

xpected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/level.h:93: error: e

xpected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/level.h:93: error: I

SO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/level.h:100: error:

`static const log4cxx::LevelPtr& log4cxx::Level::toLevel(int)' and `static const log4cxx::

LevelPtr& log4cxx::Level::toLevel(int)' cannot be overloaded

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/level.h:116: error:

expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/level.h:116: error:

expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/level.h:117: error:

ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/level.h:117: error:

`static const log4cxx::LevelPtr& log4cxx::Level::toLevel(int)' and `static const log4cxx::

LevelPtr& log4cxx::Level::toLevel(int)' cannot be overloaded

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/level.h:216: error:

`std::wstring' has not been declared

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/level.h:216: error:

ISO C++ forbids declaration of `name' with no type

       [cc] In file included from C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\optionconv

erter.cpp:23:

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:63: error: ISO C++ forbids declaration of `wstring' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:63: error: invalid use of `::'

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:63: error: expected `;' before "trim"

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:64: error: expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:64: error: expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:64: error: ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:65: error: expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:65: error: expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:65: error: ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:66: error: expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:66: error: expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:67: error: ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:68: error: expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:68: error: expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:68: error: ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:69: error: expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:69: error: expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:69: error: ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:70: error: `std::wstring' has not been declared

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:70: error: ISO C++ forbids declaration of `s' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:71: error: `std::wstring' has not been declared

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:71: error: ISO C++ forbids declaration of `s' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:72: error: `std::wstring' has not been declared

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:72: error: ISO C++ forbids declaration of `s' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:73: error: ISO C++ forbids declaration of `wstring' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:73: error: invalid use of `::'

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:73: error: expected `;' before "toLowerCase"

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:74: error: `std::wstring' has not been declared

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:74: error: `std::wstring' has not been declared

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:74: error: ISO C++ forbids declaration of `buf' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/stringhelper

.h:74: error: ISO C++ forbids declaration of `line' with no type

       [cc] In file included from C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\optionconv

erter.cpp:27:

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/loglog.h:92:

 error: expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/loglog.h:92:

 error: expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/loglog.h:92:

 error: ISO C++ forbids declaration of `parameter' with no type

       [cc] In file included from C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cx

x/file.h:20,

       [cc]                  from C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cx

x/propertyconfigurator.h:26,

       [cc]                  from C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\optionconv

erter.cpp:33:

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:158: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:158: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:158: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:159: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:159: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:159: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:159: error:

 `void log4cxx::Logger::debug(int)' and `void log4cxx::Logger::debug(int)' cannot be overl

oaded

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:179: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:179: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:179: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:180: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:180: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:180: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:180: error:

 `void log4cxx::Logger::error(int)' and `void log4cxx::Logger::error(int)' cannot be overl

oaded

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:200: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:200: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:200: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:201: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:201: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:201: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:201: error:

 `void log4cxx::Logger::fatal(int)' and `void log4cxx::Logger::fatal(int)' cannot be overl

oaded

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:215: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:215: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:216: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:219: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:219: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:219: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:219: error:

 `void log4cxx::Logger::forcedLog(const log4cxx::LevelPtr&, int)' and `void log4cxx::Logge

r::forcedLog(const log4cxx::LevelPtr&, int)' cannot be overloaded

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:265: error:

 `std::wstring' has not been declared

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:265: error:

 ISO C++ forbids declaration of `name' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:290: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:290: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:290: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:355: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:355: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:355: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:356: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:356: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:356: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:356: error:

 `void log4cxx::Logger::info(int)' and `void log4cxx::Logger::info(int)' cannot be overloa

ded

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:470: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:470: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:471: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:472: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:472: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:474: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:474: error:

 `void log4cxx::Logger::l7dlog(const log4cxx::LevelPtr&, int)' and `void log4cxx::Logger::

l7dlog(const log4cxx::LevelPtr&, int)' cannot be overloaded

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:475: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:475: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:477: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:477: error:

 `void log4cxx::Logger::l7dlog(const log4cxx::LevelPtr&, int)' and `void log4cxx::Logger::

l7dlog(const log4cxx::LevelPtr&, int)' cannot be overloaded

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:478: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:478: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:480: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:480: error:

 `void log4cxx::Logger::l7dlog(const log4cxx::LevelPtr&, int)' and `void log4cxx::Logger::

l7dlog(const log4cxx::LevelPtr&, int)' cannot be overloaded

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:503: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:503: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:504: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:505: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:505: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:505: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:505: error:

 `void log4cxx::Logger::log(const log4cxx::LevelPtr&, int)' and `void log4cxx::Logger::log

(const log4cxx::LevelPtr&, int)' cannot be overloaded

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:577: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:577: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:577: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:578: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:578: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:578: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:578: error:

 `void log4cxx::Logger::warn(int)' and `void log4cxx::Logger::warn(int)' cannot be overloa

ded

       [cc] In file included from C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cx

x/propertyconfigurator.h:26,

       [cc]                  from C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\optionconv

erter.cpp:33:

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/file.h:44: error: ex

pected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/file.h:44: error: ex

pected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/file.h:44: error: IS

O C++ forbids declaration of `parameter' with no type

       [cc] In file included from C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\optionconv

erter.cpp:34:

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

:75: error: expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

:75: error: expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

:75: error: ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

:81: error: `std::wstring' has not been declared

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

:81: error: ISO C++ forbids declaration of `dst' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

: In static member function `static log4cxx::LogString log4cxx::helpers::Transcoder::decod

e(int)':

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

:77: error: `src' undeclared (first use this function)

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/transcoder.h

:77: error: (Each undeclared identifier is reported only once for each function it appears

 in.)

       [cc] In file included from C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\optionconv

erter.cpp:36:

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/xml/domconfigurator.

h: At global scope:

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/xml/domconfigurator.

h:202: error: expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/xml/domconfigurator.

h:202: error: expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/xml/domconfigurator.

h:202: error: ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/xml/domconfigurator.

h:212: error: expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/xml/domconfigurator.

h:212: error: expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/xml/domconfigurator.

h:212: error: ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/xml/domconfigurator.

h:228: error: expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/xml/domconfigurator.

h:228: error: expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/xml/domconfigurator.

h:229: error: ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/xml/domconfigurator.

h:229: error: `static void log4cxx::xml::DOMConfigurator::configureAndWatch(int)' and `sta

tic void log4cxx::xml::DOMConfigurator::configureAndWatch(int)' cannot be overloaded

       [cc] In file included from C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cx

x/logger.h:23,

       [cc]                  from C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cx

x/spi/rootcategory.h:20,

       [cc]                  from C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\rootcatego

ry.cpp:17:

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/level.h:93: error: e

xpected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/level.h:93: error: e

xpected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/level.h:93: error: I

SO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/level.h:100: error:

`static const log4cxx::LevelPtr& log4cxx::Level::toLevel(int)' and `static const log4cxx::

LevelPtr& log4cxx::Level::toLevel(int)' cannot be overloaded

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/level.h:116: error:

expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/level.h:116: error:

expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/level.h:117: error:

ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/level.h:117: error:

`static const log4cxx::LevelPtr& log4cxx::Level::toLevel(int)' and `static const log4cxx::

LevelPtr& log4cxx::Level::toLevel(int)' cannot be overloaded

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/level.h:216: error:

`std::wstring' has not been declared

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/level.h:216: error:

ISO C++ forbids declaration of `name' with no type

       [cc] In file included from C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cx

x/spi/rootcategory.h:20,

       [cc]                  from C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\rootcatego

ry.cpp:17:

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:158: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:158: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:158: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:159: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:159: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:159: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:159: error:

 `void log4cxx::Logger::debug(int)' and `void log4cxx::Logger::debug(int)' cannot be overl

oaded

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:179: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:179: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:179: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:180: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:180: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:180: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:180: error:

 `void log4cxx::Logger::error(int)' and `void log4cxx::Logger::error(int)' cannot be overl

oaded

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:200: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:200: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:200: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:201: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:201: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:201: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:201: error:

 `void log4cxx::Logger::fatal(int)' and `void log4cxx::Logger::fatal(int)' cannot be overl

oaded

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:215: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:215: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:216: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:219: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:219: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:219: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:219: error:

 `void log4cxx::Logger::forcedLog(const log4cxx::LevelPtr&, int)' and `void log4cxx::Logge

r::forcedLog(const log4cxx::LevelPtr&, int)' cannot be overloaded

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:265: error:

 `std::wstring' has not been declared

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:265: error:

 ISO C++ forbids declaration of `name' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:290: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:290: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:290: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:355: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:355: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:355: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:356: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:356: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:356: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:356: error:

 `void log4cxx::Logger::info(int)' and `void log4cxx::Logger::info(int)' cannot be overloa

ded

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:470: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:470: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:471: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:472: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:472: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:474: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:474: error:

 `void log4cxx::Logger::l7dlog(const log4cxx::LevelPtr&, int)' and `void log4cxx::Logger::

l7dlog(const log4cxx::LevelPtr&, int)' cannot be overloaded

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:475: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:475: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:477: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:477: error:

 `void log4cxx::Logger::l7dlog(const log4cxx::LevelPtr&, int)' and `void log4cxx::Logger::

l7dlog(const log4cxx::LevelPtr&, int)' cannot be overloaded

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:478: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:478: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:480: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:480: error:

 `void log4cxx::Logger::l7dlog(const log4cxx::LevelPtr&, int)' and `void log4cxx::Logger::

l7dlog(const log4cxx::LevelPtr&, int)' cannot be overloaded

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:503: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:503: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:504: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:505: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:505: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:505: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:505: error:

 `void log4cxx::Logger::log(const log4cxx::LevelPtr&, int)' and `void log4cxx::Logger::log

(const log4cxx::LevelPtr&, int)' cannot be overloaded

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:577: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:577: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:577: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:578: error:

 expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:578: error:

 expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:578: error:

 ISO C++ forbids declaration of `parameter' with no type

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/logger.h:578: error:

 `void log4cxx::Logger::warn(int)' and `void log4cxx::Logger::warn(int)' cannot be overloa

ded

       [cc] In file included from C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\rootcatego

ry.cpp:18:

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/loglog.h:92:

 error: expected unqualified-id before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/loglog.h:92:

 error: expected `,' or `...' before '&' token

       [cc] C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/loglog.h:92:

 error: ISO C++ forbids declaration of `parameter' with no type

 

$ (I interrupted the errors here with ctrl-C)

Andreas Fester | 1 Dec 21:19 2005
Picon

Re: can anyone build log4cxx HEAD in cygwin?

>        [cc]
>
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/loglog.h:92:
>
>  error: expected unqualified-id before '&' token
there seems to be no wchar_t datatype available (or
at least no std::wstring). You could either try
the autotools approach with

$ ./configure ; make

and see if everything is detected automatically
(I have not tried the build on cygwin yet),
or try

$ ant -Dos.family=cygwin -Dhas.wchar_t=0 build

This should build the library with wchar_t disabled.

Regards,

	Andreas

Andreas Fester | 1 Dec 21:26 2005
Picon

Re: can anyone build log4cxx HEAD in cygwin?

> The config and build went fine until the build-apr target, which failed
> due to the "with-apr" variable having the incorrect value.  I tweaked
> line 496 of build.xml to fix the "with-apr" variable to be
> "../apr-${apr.version}/apr-1-config" instead of
> "../apr-${apr.version}/apr--config".

I just reviewed this. Its indeed a cygwin specific part, so I think
this could simply be committed together with my latest build patches.
Please vote ;-)

Regards,

	Andreas

Owens, Brad | 1 Dec 21:30 2005

RE: can anyone build log4cxx HEAD in cygwin?

I just got further along using the "-Dhas.wchar_t=0" option, but build is
now failing over the xml code:

$ ant -Dos.family=cygwin -Dhas.wchar_t=0 build
Buildfile: build.xml

os-detect:

win-init:

mac-init:

unix-init:

init:

build-apr:

get-apr-src:

untar-apr-src:

os-detect:

win-init:

unix-init:

init:

configure-check:

unix-configure:

win-configure:

configure:

build:
       [cc] Starting dependency analysis for 67 files.
       [cc] 67 files are up to date.
       [cc] 0 files to be recompiled from dependency analysis.
       [cc] 0 total files to be compiled.

build-aprutil:

get-aprutil-src:

untar-aprutil-src:

os-detect:

win-init:

unix-init:

init:

configure-check:

unix-configure:

win-configure:

configure:

build:
       [cc] Starting dependency analysis for 46 files.
       [cc] 46 files are up to date.
       [cc] 0 files to be recompiled from dependency analysis.
       [cc] 0 total files to be compiled.

config-check:

unix-configure:

win-configure:

configure:
     [echo] Configuring with has.wchar_t=0
     [echo] Configuring with logchar_type=utf-8

build:
       [cc] 143 total files to be compiled.
       [cc] In file included from
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.c
pp:20:
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:2
7:25: libxml/tree.h: No such file or directory
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:3
9:2: #error libxml include file found where libxml2 was expected
       [cc] In file included from
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.c
pp:20:
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:5
7: error: expected `)' before "node"
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:6
6: error: `xmlNodePtr' does not name a type
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:8
6: error: expected `)' before "document"
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:9
9: error: `xmlDocPtr' does not name a type
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:1
19: error: expected `)' before "element"
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:1
29: error: `xmlNodePtr' does not name a type
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:1
46: error: expected `)' before "firstChild"
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:1
52: error: `xmlNodePtr' does not name a type
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:1
53: error: `xmlNodePtr' does not name a type
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:35:
error: expected
 `)' before "node"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:35:
error: expected
 `,' or `;' before "node"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual log4cxx::helpers::XMLDOMNodeListPtr
log4cxx::helpers::GnomeXMLDOMNode::getChildN
odes()':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:42:
error: `node' u
ndeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:42:
error: (Each un
declared identifier is reported only once for each function it appears in.)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual log4cxx::helpers::XMLDOMDocumentPtr
log4cxx::helpers::GnomeXMLDOMNode::getOwnerD
ocument()':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:48:
error: `node' u
ndeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: At
global scope:
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:54:
error: expected
 `)' before "document"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:54:
error: expected
 `,' or `;' before "document"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
constructor `lo
g4cxx::helpers::GnomeXMLDOMDocument::GnomeXMLDOMDocument()':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:60:
error: class `l
og4cxx::helpers::GnomeXMLDOMDocument' does not have any field named
`document'
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
destructor `vir
tual log4cxx::helpers::GnomeXMLDOMDocument::~GnomeXMLDOMDocument()':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:68:
error: `::xmlFr
eeDoc' has not been declared
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:68:
error: `documen
t' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual log4cxx::helpers::XMLDOMNodeListPtr
log4cxx::helpers::GnomeXMLDOMDocument::getCh
ildNodes()':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:74:
error: `documen
t' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:75:
error: `::xmlDo
cGetRootElement' has not been declared
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual void log4cxx::helpers::GnomeXMLDOMDocument::load(const
log4cxx::File&)':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:85:
error: `documen
t' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:89:
error: `::xmlFr
eeDoc' has not been declared
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:96:
error: `::xmlPa
rseFile' has not been declared
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual log4cxx::helpers::XMLDOMElementPtr
log4cxx::helpers::GnomeXMLDOMDocument::getDoc
umentElement()':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:111:
error: `docume
nt' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:112:
error: `xmlNod
ePtr' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:112:
error: expecte
d `;' before "element"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:113:
error: `elemen
t' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual log4cxx::helpers::XMLDOMElementPtr
log4cxx::helpers::GnomeXMLDOMDocument::getEle
mentById(const log4cxx::LogString&, const log4cxx::LogString&)':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:119:
error: `docume
nt' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:120:
error: `xmlNod
ePtr' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:120:
error: expecte
d `;' before "node"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:128:
error: `node'
undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:131:
error: `XML_EL
EMENT_NODE' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:134:
error: ISO C++
 forbids declaration of `type name' with no type
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:134:
error: ISO C++
 forbids declaration of `type name' with no type
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:133:
error: expecte
d primary-expression before "char"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:133:
error: expecte
d `)' before "char"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: At
global scope:
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:160:
error: expecte
d `)' before "element"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:160:
error: expecte
d `,' or `;' before "element"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual log4cxx::helpers::XMLDOMNodeListPtr
log4cxx::helpers::GnomeXMLDOMElement::getChi
ldNodes()':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:167:
error: `elemen
t' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual log4cxx::helpers::XMLDOMDocumentPtr
log4cxx::helpers::GnomeXMLDOMElement::getOwn
erDocument()':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:173:
error: `elemen
t' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual log4cxx::LogString
log4cxx::helpers::GnomeXMLDOMElement::getTagName()':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:179:
error: `elemen
t' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual log4cxx::LogString
log4cxx::helpers::GnomeXMLDOMElement::getAttribute(const log4
cxx::LogString&)':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:187:
error: `elemen
t' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:191:
error: ISO C++
 forbids declaration of `type name' with no type
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:191:
error: ISO C++
 forbids declaration of `type name' with no type
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:190:
error: expecte
d primary-expression before "char"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:190:
error: expecte
d `)' before "char"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: At
global scope:
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:200:
error: expecte
d `)' before "firstChild"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:200:
error: expecte
d `,' or `;' before "firstChild"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual int log4cxx::helpers::GnomeXMLDOMNodeList::getLength()':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:207:
error: `xmlNod
ePtr' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:207:
error: expecte
d `;' before "child"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:209:
error: `child'
 undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp: In
member function
 `virtual log4cxx::helpers::XMLDOMNodePtr
log4cxx::helpers::GnomeXMLDOMNodeList::item(int)
':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:220:
error: `xmlNod
ePtr' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:220:
error: expecte
d `;' before "child"
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:224:
error: `child'
 undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:224:
error: `curren
tChild' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:228:
error: `firstC
hild' undeclared (first use this function)
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\gnomexml.cpp:242:
error: `XML_EL
EMENT_NODE' undeclared (first use this function)
       [cc] In file included from
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\domconfigu
rator.cpp:24:
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:2
7:25: libxml/tree.h: No such file or directory
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:3
9:2: #error libxml include file found where libxml2 was expected
       [cc] In file included from
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\domconfigu
rator.cpp:24:
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:5
7: error: expected `)' before "node"
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:6
6: error: `xmlNodePtr' does not name a type
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:8
6: error: expected `)' before "document"
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:9
9: error: `xmlDocPtr' does not name a type
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:1
19: error: expected `)' before "element"
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:1
29: error: `xmlNodePtr' does not name a type
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:1
46: error: expected `)' before "firstChild"
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:1
52: error: `xmlNodePtr' does not name a type
       [cc]
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
:1
53: error: `xmlNodePtr' does not name a type

BUILD FAILED
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\build.xml:654: gcc failed with
return code 1

Total time: 2 minutes 19 seconds

-----Original Message-----
From: Andreas Fester [mailto:afester <at> apache.org] 
Sent: Thursday, December 01, 2005 3:27 PM
To: Log4CXX Dev
Cc: Log4CXX User; Owens, Brad
Subject: Re: can anyone build log4cxx HEAD in cygwin?

> The config and build went fine until the build-apr target, which failed
> due to the "with-apr" variable having the incorrect value.  I tweaked
> line 496 of build.xml to fix the "with-apr" variable to be
> "../apr-${apr.version}/apr-1-config" instead of
> "../apr-${apr.version}/apr--config".

I just reviewed this. Its indeed a cygwin specific part, so I think
this could simply be committed together with my latest build patches.
Please vote ;-)

Regards,

	Andreas

Andreas Fester | 1 Dec 21:53 2005
Picon

Re: can anyone build log4cxx HEAD in cygwin?

Owens, Brad wrote:
> I just got further along using the "-Dhas.wchar_t=0" option, but build is
> now failing over the xml code:
>        [cc]
> C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
> :2
> 7:25: libxml/tree.h: No such file or directory

This is usually caused by a missing libxml2. Are you sure that you have
libxml2 installed in your cygwin environment?

Regards,

	Andreas

Owens, Brad | 1 Dec 23:11 2005

RE: can anyone build log4cxx HEAD in cygwin?

I am getting further!  I can now make it to the linking stage where the
build fails.

I had to make two more tweaks to my build.xml file:

Line 9: changed <libset libs="xml2 pthread" if="is-unix"/>
To <libset libs="xml2 pthread" dir="c:/cygwin/usr/local/lib" if="is-unix"/>

Line 658: changed <includepath path="/usr/include/libxml2" if="is-unix"/>
To <includepath path="c:/cygwin/usr/local/include/libxml2" if="is-unix"/>

Now the compiler can find the proper include paths and library for the
libxml2 code, but I am getting failures in other areas during linking.
Thanks for helping me--I am getting closer!

The output is below:

$ ant -Dos.family=cygwin -Dhas.wchar_t=0 build
Buildfile: build.xml

os-detect:

win-init:

mac-init:

unix-init:

init:

build-apr:

get-apr-src:

untar-apr-src:

os-detect:

win-init:

unix-init:

init:

configure-check:

unix-configure:

win-configure:

configure:

build:
       [cc] Starting dependency analysis for 67 files.
       [cc] 67 files are up to date.
       [cc] 0 files to be recompiled from dependency analysis.
       [cc] 0 total files to be compiled.

build-aprutil:

get-aprutil-src:

untar-aprutil-src:

os-detect:

win-init:

unix-init:

init:

configure-check:

unix-configure:

win-configure:

configure:

build:
       [cc] Starting dependency analysis for 46 files.
       [cc] 46 files are up to date.
       [cc] 0 files to be recompiled from dependency analysis.
       [cc] 0 total files to be compiled.

config-check:

unix-configure:

win-configure:

configure:
     [echo] Configuring with has.wchar_t=0
     [echo] Configuring with logchar_type=utf-8

build:
       [cc] Starting dependency analysis for 143 files.
       [cc] 143 files are up to date.
       [cc] 0 files to be recompiled from dependency analysis.
       [cc] 0 total files to be compiled.
       [cc] Starting link
       [cc] log4cxx_obj\domconfigurator.o: In function
`_ZN7log4cxx3xml15DOMConfigurator17
configureAndWatchERKSs':
       [cc]
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\domconfigurator.cpp:765:
undefin
ed reference to `log4cxx::helpers::FileWatchdog::DEFAULT_DELAY'
       [cc] log4cxx_obj\domconfigurator.o: In function
`_ZN7log4cxx3xml15DOMConfigurator17
configureAndWatchERKSsl':
       [cc]
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\domconfigurator.cpp:781:
undefin
ed reference to `log4cxx::helpers::FileWatchdog::start()'
       [cc] log4cxx_obj\domconfigurator.o: In function
`_ZN9__gnu_cxx13new_allocatorISt13_
Rb_tree_nodeISt4pairIKSsSsEEE10deallocateEPS5_j':
       [cc]
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_tree.h:(.text$_ZN11XM
LW
atchdogC1ERKSs[XMLWatchdog::XMLWatchdog(std::basic_string<char,
std::char_traits<char>, st
d::allocator<char> > const&)]+0x63): undefined reference to
`log4cxx::helpers::FileWatchdo
g::FileWatchdog(log4cxx::File const&)'
       [cc]
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_tree.h:(.text$_ZN11XM
LW
atchdogD1Ev[XMLWatchdog::~XMLWatchdog()]+0x16): undefined reference to
`log4cxx::helpers::
FileWatchdog::~FileWatchdog()'
       [cc]
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_tree.h:(.text$_ZN11XM
LW
atchdogD0Ev[XMLWatchdog::~XMLWatchdog()]+0x16): undefined reference to
`log4cxx::helpers::
FileWatchdog::~FileWatchdog()'
       [cc] log4cxx_obj\class.o: In function
`_ZN7log4cxx7helpers5Class15registerClassesEv
':
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\class.cpp:134:
undefined referen
ce to `log4cxx::AsyncAppender::registerClass()'
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\class.cpp:149:
undefined referen
ce to `log4cxx::net::SocketAppender::registerClass()'
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\class.cpp:150:
undefined referen
ce to `log4cxx::net::SocketHubAppender::registerClass()'
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\class.cpp:152:
undefined referen
ce to `log4cxx::net::TelnetAppender::registerClass()'
       [cc] C:\testlab\log4cxx-20051201\log4cxx-0.9.8\src\class.cpp:153:
undefined referen
ce to `log4cxx::net::XMLSocketAppender::registerClass()'
       [cc]
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\build\debug\static/libaprutil-1.a(
xl
ate.o): In function `apr_xlate_cleanup':
       [cc]
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\lib\apr-util-1.2.2\xlate\xlate.c:9
3:
 undefined reference to `_libiconv_close'
       [cc]
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\build\debug\static/libaprutil-1.a(
xl
ate.o): In function `check_sbcs':
       [cc]
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\lib\apr-util-1.2.2\xlate\xlate.c:1
20
: undefined reference to `_libiconv'
       [cc]
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\lib\apr-util-1.2.2\xlate\xlate.c:1
32
: undefined reference to `_libiconv_close'
       [cc]
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\lib\apr-util-1.2.2\xlate\xlate.c:1
40
: undefined reference to `_libiconv_close'
       [cc]
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\lib\apr-util-1.2.2\xlate\xlate.c:1
41
: undefined reference to `_libiconv_open'
       [cc]
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\build\debug\static/libaprutil-1.a(
xl
ate.o): In function `apr_xlate_open':
       [cc]
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\lib\apr-util-1.2.2\xlate\xlate.c:2
51
: undefined reference to `_libiconv_open'
       [cc]
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\build\debug\static/libaprutil-1.a(
xl
ate.o): In function `apr_xlate_conv_buffer':
       [cc]
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\lib\apr-util-1.2.2\xlate\xlate.c:3
43
: undefined reference to `_libiconv'
       [cc] collect2: ld returned 1 exit status

BUILD FAILED
C:\testlab\log4cxx-20051201\log4cxx-0.9.8\build.xml:663: gcc failed with
return code 1

Total time: 8 seconds

-----Original Message-----
From: Andreas Fester [mailto:afester <at> apache.org] 
Sent: Thursday, December 01, 2005 3:53 PM
To: Owens, Brad
Cc: Log4CXX User; Log4CXX Dev
Subject: Re: can anyone build log4cxx HEAD in cygwin?

Owens, Brad wrote:
> I just got further along using the "-Dhas.wchar_t=0" option, but build is
> now failing over the xml code:
>        [cc]
>
C:/testlab/log4cxx-20051201/log4cxx-0.9.8/include/log4cxx/helpers/gnomexml.h
> :2
> 7:25: libxml/tree.h: No such file or directory

This is usually caused by a missing libxml2. Are you sure that you have
libxml2 installed in your cygwin environment?

Regards,

	Andreas

Rainer Schuetze | 2 Dec 17:55 2005
Picon

Need advice for class logging

Hi,

I tried to log different class with e.g. the level "info". But the 
logger logs on the basic level. I've no idea what I'm doing wrong. I 
need somebodies help.

I've defined the logger as a private static variable in the header file.
In my CPP file I get the instance of my logger as follow:

log4cxx::LoggerPtr XMLParser::logger = 
log4cxx::LoggerPtr(log4cxx::Logger::getLogger("limez.xml.XMLParser"));

I'm using the DOMConfigurator to configure and defined within the XML 
file the logger as follow:

   <logger name="limez">
     <level value="info" />
   </logger>

   <root>
     <priority value ="debug" />
     <appender-ref ref="stdout" />
   </root>

Regards
Rainer

Rainer Schuetze | 2 Dec 18:27 2005
Picon

Need advice for class logging

Hi,

I tried to log different class with e.g. the level "info". But the
logger logs on the basic level. I've no idea what I'm doing wrong. I
need somebodies help.

I've defined the logger as a private static variable in the header file.
In my CPP file I get the instance of my logger as follow:

log4cxx::LoggerPtr XMLParser::logger =
log4cxx::LoggerPtr(log4cxx::Logger::getLogger("limez.xml.XMLParser"));

I'm using the DOMConfigurator to configure and defined within the XML
file the logger as follow:

   <logger name="limez">
     <level value="info" />
   </logger>

   <root>
     <priority value ="debug" />
     <appender-ref ref="stdout" />
   </root>

Regards
Rainer

Curt Arnold | 3 Dec 23:12 2005
Picon

Re: Need advice for class logging


On Dec 2, 2005, at 11:27 AM, Rainer Schuetze wrote:

> Hi,
>
> I tried to log different class with e.g. the level "info". But the
> logger logs on the basic level. I've no idea what I'm doing wrong. I
> need somebodies help.

I do not understand what you mean by "basic" level.  Could you  
describe or provide examples what behavior that you are seeing and  
describe what you expected

>
> I've defined the logger as a private static variable in the header  
> file.
> In my CPP file I get the instance of my logger as follow:
>
> log4cxx::LoggerPtr XMLParser::logger =
> log4cxx::LoggerPtr(log4cxx::Logger::getLogger("limez.xml.XMLParser"));
>

Looks okay to me.

> I'm using the DOMConfigurator to configure and defined within the XML
> file the logger as follow:
>
>   <logger name="limez">
>     <level value="info" />
>   </logger>
>
>   <root>
>     <priority value ="debug" />
>     <appender-ref ref="stdout" />
>   </root>
>
> Regards
> Rainer
>

I read this as a fragment of a configuration file that instructs  
log4j that all log request directed to "limez" or child loggers with  
a level of info or higher and log requests not directed to "limez" or  
child loggers with a level of debug of higher will pass the level  
filter.  If a request passes the level filter, it will be processed  
by the appender definition with id="stdout" which must be defined  
elsewhere in the configuration file.

J P Weber | 4 Dec 04:53 2005
Picon

Class::registerClasses()

Which classes need to be registered in
Class::registerClasses() (and why)?  Is it the classes
whose instances will be created "dynamically" by the
configurators?  Why aren't all of the filter classes
included?

Thanks

		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs


Gmane