[ROOT] Fail to compile the latest ROOT(v3.03.06) on IRIX 64 using gcc 2.95.2.

From: Harufumi Tsuchiya (harufumi@icrr.u-tokyo.ac.jp)
Date: Wed Jun 19 2002 - 11:38:50 MEST


Hello ROOTers,

When I tried to compiled the latest ROOT (v 3.03.06) from source
using gcc 2.95.2 on IRIX 64,
I got following error messages and could not succeeded in compiling the ROOT.

My configure options was
./configure sgiegcs --with-xpm-libdir=$HOME/local/lib \
--with-ttf-fontdir=$HOME/local/root/ttf/fonts \
--with-ttf-libdir=$HOME/local/ttf/lib \
--with-ttf-incdir=$HOME/local/ttf/include \
--with-opengl-libdir=$HOME/local/Mesa-3.2/lib \
--with-opengl-incdir=$HOME/local/Mesa-3.2/include/ \
--enable-soversion
After doing configure and making, I got error messages.
                            :
                            :
g++ -O -fsigned-char -Wall -fPIC -Iinclude  -o histpainter/src/THistPainter.o -c histpainter/src/THistPainter.cxx
g++ -O -fsigned-char -Wall -fPIC -Iinclude  -o histpainter/src/TLego.o -c histpainter/src/TLego.cxx
g++ -O -fsigned-char -Wall -fPIC -Iinclude  -o histpainter/src/TPainter3dAlgorithms.o -c histpainter/src/TPainter3dAlgorithms.cxx
g++  -fsigned-char -Wall -fPIC -Iinclude  -I. -o histpainter/src/G__HistPainter.o -c histpainter/src/G__HistPainter.cxx
In file included from histpainter/src/G__HistPainter.h:31,
                 from histpainter/src/G__HistPainter.cxx:13:
histpainter/inc/TPainter3dAlgorithms.h:38: redefinition of `const Int_t kCARTESIAN'
histpainter/inc/TLego.h:37: `const Int_t kCARTESIAN' previously defined here
histpainter/inc/TPainter3dAlgorithms.h:39: redefinition of `const Int_t kPOLAR'
histpainter/inc/TLego.h:38: `const Int_t kPOLAR' previously defined here
histpainter/inc/TPainter3dAlgorithms.h:40: redefinition of `const Int_t kCYLINDRICAL'
histpainter/inc/TLego.h:39: `const Int_t kCYLINDRICAL' previously defined here
histpainter/inc/TPainter3dAlgorithms.h:41: redefinition of `const Int_t kSPHERICAL'
histpainter/inc/TLego.h:40: `const Int_t kSPHERICAL' previously defined here
histpainter/inc/TPainter3dAlgorithms.h:42: redefinition of `const Int_t kRAPIDITY'
histpainter/inc/TLego.h:41: `const Int_t kRAPIDITY' previously defined here
gmake: *** [histpainter/src/G__HistPainter.o] Error 1

[2]    Exit 2                        gmake

When I compiled previous version ROOT (v 3.03.05) from source using
the same version of gcc, I succeeded in compiling the ROOT using the same 
configure options.

Please give me any sugestions.

Harufumi Tsuchiya.



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:57 MET