Building trouble on AIX

Hi Rooters

I am trying to Build ROOT 5.06 on AIX5.
After a while, compilation stops when trying to build “TBranchBrowsable.o”, with the following message:

xlC -O -qmaxmem=-1 -qchars=signed -qnoro -qnoroconst -qrtti -qstaticinline -Iinclude -o tree/src/TBranchBrowsable.o -c tree/src/TBranchBrowsable.cxx
"include/TBranchBrowsable.h", line 148.69: 1540-1111 (S) Only function declarations can have default arguments.
gmake: *** [tree/src/TBranchBrowsable.o] Error 1

It seems that the compiler has some trouble with legal C++ statement.
I am using “VisualAge C++ Professional / C for AIX Compiler, Version 5”

On AIX, we support only the xlC and gcc compilers.
TBranchBrowsable compiles without problem with these two compilers or other compilers.


Thanks René.

I will try gcc, but still, it seems that I am using xlC (I chose aix5 as a platform, and the congigure picked up xlC).
The ouput claiming that the compiler is VisualAge is what I get when I type “xlC” without any argument; since xlC is an update of VisualAge, is seems to make sense.

Which version of xlC are you using? How can I know which version I am using (there is no --verion flag). May be I should update mine.

I am using xlC version 6

$ xlC
C for AIX Compiler, Version 6
$ which xlC