Building problems on AIX 5 with gcc 3.2

Hello,

I am trying to build Root (4.04/02g) on AIX5 with gcc (3.2 IBM) for save Gate results but I have few problems.
After some compilations, I get the error:

g++ -o cint/main/cint_tmp cint/main/cppmain.o
cint/src/auxu.o cint/src/cast.o cint/src/debug.o cint/src/decl.o cint/src/disp.o cint/src/dump.o cint/src/end.o cint/src/error.o cint/src/expr.o cint/src/fread.o cint/src/func.o cint/src/g__cfunc.o cint/src/gcoll.o cint/src/global1.o cint/src/global2.o cint/src/ifunc.o cint/src/inherit.o cint/src/init.o cint/src/input.o cint/src/intrpt.o cint/src/loadfile_tmp.o cint/src/macro.o cint/src/malloc.o cint/src/memtest.o cint/src/new.o cint/src/newlink.o cint/src/oldlink.o cint/src/opr.o cint/src/parse.o cint/src/pause.o cint/src/pcode.o cint/src/pragma.o cint/src/quote.o cint/src/scrupto.o cint/src/shl.o cint/src/sizeof.o cint/src/stdstrct.o cint/src/struct.o cint/src/stub.o cint/src/tmplt.o cint/src/typedef.o cint/src/val2a.o cint/src/value.o cint/src/var.o cint/main/G__setup.o cint/src/Api.o cint/src/Apiif.o cint/src/BaseCls.o cint/src/CallFunc.o cint/src/Class.o cint/src/DataMbr.o cint/src/Method.o cint/src/MethodAr.o cint/src/Token.o cint/src/Type.o cint/src/Typedf.o cint/src/gcc3strm.o cint/src/longif3.o -lm -L…/lib -lCint -lbsd -lcurses -lld
collect2: library libCint not found

I see on the forum one previous issue about this problem but in my case, gmake –k do not permit to resolve it.

Another strange thing is that during compilation (with or without –k option) I have for all libraries the message (Name_of_library==>done) but they never appear in lib directory.

All my environment variables seem to be ok.

Results of ./configure are in the attached file.

Thanks by advance for your help.

Kindest Regards.

Sébastien.
Configuration.txt (2.94 KB)

Could you try with version 5.06 or CVS head. Two months ago
we included several mods in the Makefile for AIXgcc

Rene

Dear Rene,

Thanks for your quick answer.

I try with version 5.06 but now compilation stop with the following error:

…clib/src/G__Clib.o metautils/src/G__MetaUtils.o -Llib -lCint
ld: 0711-224 WARNING: Duplicate symbol: ._GLOBAL__DI
ld: 0711-224 WARNING: Duplicate symbol: ._GLOBAL__DD
ld: 0711-224 WARNING: Duplicate symbol: .ROOT::GenerateInitInstance()
ld: 0711-224 WARNING: Duplicate symbol: _GLOBAL__DI
ld: 0711-224 WARNING: Duplicate symbol: _GLOBAL__DD
ld: 0711-224 WARNING: Duplicate symbol: ROOT::GenerateInitInstance()
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-317 ERROR: Undefined symbol: .int TStreamerInfo::ReadBuffer<char**>(TBuffer&, char** const&, int, int, int, int)
ld: 0711-317 ERROR: Undefined symbol: .int TStreamerInfo::WriteBufferAux<char**>(TBuffer&, char** const&, int, int, int, int)
collect2: ld returned 8 exit status
gmake: *** [lib/libCore.a] Error 1

What is the problem?

Regards.

Sébastien.

Could you send the result of
./configure aixgxx

and also the full result of gmake ?

To make progress, we will need to access your machine.

Rene

Dear Rene,

I send you in the attached files ./configure and gmake outputs.

If these files does not permit to solve the problem, I have to see what it is possible to do for access the machine with the administrator of the cluster.

Thanks for your help.

Regards.

Sébastien.
gmake.txt (219 KB)
configure.txt (3.3 KB)

This looks like a compiler bug. What is gcc3.2IBM ?
We had no problems 2 months ago with ROOT5.04 on AIX with gcc3.2.3

Rene

Dear Rene,

Gcc installed on the machine is :

svaucl01@joe 65% gcc -v
Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.2/specs
Configured with: …/gcc-3.2/configure --disable-nls
Thread model: aix
gcc version 3.2

I used it for compilation of CLHEP, Geant4, Gate, … with no related problems.

I will see if it is possible to try with another gcc (probaly 4.0).

What is your opinion ?

While waiting have you compiled binairies in order to try compiling Gate with root support.

Thanks a lot.

Sébastien.

Sebastien,

The minimal version for gcc is gcc3.2.3. Anything below is unusable.

Rene

Dear Rene,

I succeed with gcc 3.3.6 and now all seems work fine.

Thank you very much for your precious help.

Kindest Regards.

Sébastien.