List Info

Thread: log4cxx 0.10.0 build problem on AIX




log4cxx 0.10.0 build problem on AIX
country flaguser name
United States
2008-05-07 06:34:06

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 $-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

Re: log4cxx 0.10.0 build problem on AIX
user name
2008-05-07 10:50:38
On May 7, 2008, at 6:34 AM, Chakravarthula, Krishnamurthy
wrote:

> 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.


Looks similar to https://issues.apache.org/bugzilla/show_bug.cgi?id=41550


If you have any failure with building APR or APR-Util,
particularly on  
less common platforms, you'd be better off asking on  
userapr.apache.org after doing a preliminary search.

ht
tp://www.perzl.org/aix/index.php?n=Main.HomePage has
packaged apr- 
util for AIX (don't have any experience with it, just the
result of a  
search for AIX and apr-util).


RE: log4cxx 0.10.0 build problem on AIX
country flaguser name
United States
2008-05-12 02:43:23

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 &quot;const tm *".

"/usr/vacpp/include/xloctime", line 178.13: 1540-1283 (I) "std::time_put&lt;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 &quot;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:krishnamurthy.chakravarthulasiemens.com]
Sent: Wednesday, May 07, 2008 5:04 PM
To: log4cxx-userlogging.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

 &nbsp; &nbsp; &nbsp;  /bin/sh ../libtool --mode=link  gcc -version-info 1:0:1 -g -O2  -o libexpat.la -rpath /usr/local/apr/lib&nbsp; xmlparse.lo xmltok.lo xmlrole.lo

rm -fr&nbsp; .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&quot;) || ($2 == "D&quot;) || ($2 == "B&quot;)) &;& (substr($3,1,1) != ".&quot;)) { pr

int $3 } }' | sort -u > .libs/libexpat.exp

gcc -shared -o .libs/libexpat.so.0&nbsp; .libs/xmlparse.o .libs/xmltok.o .libs/xmlrol

e.o  -lc  -Wl,-bE:.libs/libexpat.exp -Wl,-bnoentry $-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

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )