Experts,
Since I am getting error with gcc compiler, I am trying with default compiler (/usr/vac/bin/xlc_r) on AIX for build. I am able to build APR and APR-UTIL but I get following error during make of log4cxx. Please help. source='helpers/datetimedateformattestcase.cpp' object='datetimedateform attestcase.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh ../../../depcomp xlC _r -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_S TRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"log4cxx\" -DVERSION=\"0.10.0\" - DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAV E_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STD INT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../../../src/main/include -I../../../src/main/include -U__STR__ -D_THREAD_SAFE -D_USE_IRS -D_LARGEFILE64_ SOURCE -I/tmp/apr/include -I/tmp/apr-util/include -I/tmp/apr-util/xml/expat/l ib -g -c -o datetimedateformattestcase.o `test -f 'helpers/datetimedateformatte stcase.cpp' || echo './'`helpers/datetimedateformattestcase.cpp "helpers/datetimedateformattestcase.cpp", line 186.14: 1540-0218 (S) The call do es not match any parameter list for "put". "/usr/vacpp/include/xloctime.t", line 159.5: 1540-1283 (I) "std::time_put<char,s td::ostreambuf_iterator<char,std::char_traits<char> > >::put(ostreambuf_iterator <char,std::char_traits<char> >, ios_base &, char, const tm *, const char *, cons t char *) const" is not a viable candidate. "helpers/datetimedateformattestcase.cpp", line 186.35: 1540-0256 (I) A parameter of type "char" cannot be initialized with an expression of type "const tm *". "/usr/vacpp/include/xloctime", line 178.13: 1540-1283 (I) "std::time_put<char,st d::ostreambuf_iterator<char,std::char_traits<char> > >::put(std::ostreambuf_iter ator<char,std::char_traits<char> >, ios_base &, char, const tm *, char, char) co nst" is not a viable candidate. "helpers/datetimedateformattestcase.cpp", line 186.35: 1540-0256 (I) A parameter of type "char" cannot be initialized with an expression of type "const tm *". make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. Regards, Krishna From: Chakravarthula, Krishnamurthy [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 07, 2008 5:04 PM To: log4cxx-user@logging.apache.org Subject: log4cxx 0.10.0 build problem on AIX Experts, I want to build log4cxx on AIX. As part of that, I am building apr-util. I am getting following error when I do make of apr-util on AIX machine. I am using apr-util 1.2.12. My machine configurations are as follows. Please advice. $ uname -a AIX pnibm009 3 5 00C7E58A4C00 chakrava@/u/chakrava/apr-util 92 $ make Making all in xml/expat /bin/sh ../libtool --mode=link gcc -version-info 1:0:1 -g -O2 -o libexpat.la -rpath /usr/local/apr/lib xmlparse.lo xmltok.lo xmlrole.lo rm -fr .libs/libexpat.exp generating symbol list for `libexpat.la' /usr/bin/nm -B -BCpg .libs/xmlparse.o .libs/xmltok.o .libs/xmlrole.o | awk '{ if ((($2 == "T") || ($2 == "D") || ($2 == "B")) && (substr($3,1,1) != ".")) { pr int $3 } }' | sort -u > .libs/libexpat.exp gcc -shared -o .libs/libexpat.so.0 .libs/xmlparse.o .libs/xmltok.o .libs/xmlrol e.o -lc -Wl,-bE:.libs/libexpat.exp -Wl,-bnoentry ${wl}-berok collect2: library libgcc_s not found make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. make: 1254-004 The error code from the last command is 1. Regards Krishna