[ROOT] Re: Compiling Root 2.24-02 on Debian Linux

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Apr 13 2000 - 10:21:04 MEST


Hi Marc,
In 2.24 we have included faster byte-swapping code for processors
with an architecture compatible with at least i486 (most Intel
processors
today). We define the __i486__ compile flag by default. This seemed to
be OK
with all RedHat systems. I have now changed RConfig.h to define __i486__
only if it is not previously defined.
Thanks for this report.

Rene Brun

Marc Hemberger wrote:
> 
> Dear Rene,
> 
> when compiling the new Root version on our Debian boxes, I get many
> warnings like this in any Root file (except Cint):
> 
> g++ -g -O2 -Wall -fPIC -DR__GLIBC  -I/u/rootmgr/root/ttf/include
> -I/u/rootmgr/root/opengl/include -D_REENTRANT -c BASE_Random.cxx
> In file included from Rtypes.h:18,
>                  from TMath.h:17,
>                  from BASE_Random.cxx:181:
> RConfig.h:89: warning: `__i486__' redefined
> *Initialization*:1: warning: this is the location of the previous
> definition
> g++ -g -O2 -Wall -fPIC -DR__GLIBC  -I/u/rootmgr/root/ttf/include
> -I/u/rootmgr/root/opengl/include -D_REENTRANT -c BASE_Random2.cxx
> In file included from Rtypes.h:18,
>                  from TMath.h:17,
>                  from BASE_Random2.cxx:15:
> RConfig.h:89: warning: `__i486__' redefined
> *Initialization*:1: warning: this is the location of the previous
> definition
> ...
> g++ -g -O2 -Wall -fPIC -DR__GLIBC  -I/u/rootmgr/root/ttf/include
> -I/u/rootmgr/root/opengl/include -D_REENTRANT -c G_Text.cxx
> In file included from Rtypes.h:18,
>                  from TObject.h:23,
>                  from TNamed.h:18,
>                  from TDirectory.h:17,
>                  from TROOT.h:21,
>                  from G_Diamond.cxx:22:
> RConfig.h:89: warning: `__i486__' redefined
> *Initialization*:1: warning: this is the location of the previous
> definition
> In file included from Rtypes.h:18,
>                  from TObject.h:23,
>                  from TNamed.h:18,
>                  from TDirectory.h:17,
>                  from TROOT.h:21,
>                  from G_Text.cxx:24:
> RConfig.h:89: warning: `__i486__' redefined
> *Initialization*:1: warning: this is the location of the previous
> definition
> g++ -g -O2 -Wall -fPIC -DR__GLIBC  -I/u/rootmgr/root/ttf/include
> -I/u/rootmgr/root/opengl/include -D_REENTRANT -c G_CurlyArc.cxx
> g++ -g -O2 -Wall -fPIC -DR__GLIBC  -I/u/rootmgr/root/ttf/include
> -I/u/rootmgr/root/opengl/include -D_REENTRANT -c G_CurlyLine.cxx
> In file included from Rtypes.h:18,
>                  from TMath.h:17,
>                  from TString.h:21,
>                  from TPolyLine.h:18,
>                  from TCurlyLine.h:13,
>                  from TCurlyArc.h:10,
>                  from G_CurlyArc.cxx:32:
> RConfig.h:89: warning: `__i486__' redefined
> *Initialization*:1: warning: this is the location of the previous
> definition
> In file included from Rtypes.h:18,
>                  from TMath.h:17,
>                  from TString.h:21,
>                  from TPolyLine.h:18,
> ...
> 
> Any solution?
> 
> Greetings,
> 
> Marc
> 
> Dr. Marc Hemberger
> 
>        |\      _,,,---,,         GSI, Abteilung DV&EE
> ZZZzz  /,`.-'`'    -.  ;-;;,_    Planckstr. 1
>       |,4-  ) )-,_. ,\ (  `'-'
>      '---''(_/--'  `-'\_)        64291 Darmstadt
> 
> M.Hemberger@gsi.de
> 
> ** Disclaimer: My views/comments/beliefs, as strange as they are, are my own.**



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:23 MET