Problem 332

Summary: Problems compiling Geant4.4.0 with ROOT
Product: Geant4 Reporter: korsch
Component: globalAssignee: Gabriele Cosmo <Gabriele.Cosmo>
Status: RESOLVED INVALID    
Severity: major CC: korsch
Priority: P1    
Version: 4.0   
Hardware: PC   
OS: Linux   

Description korsch 2001-12-19 10:30:16 CET
I use the ROOT package with Geant. I recently upgraded to Geant4.4.0
and now I can't compile my Geant MC anymore. I get the
following error:

Compiling DefineHists.cc ...
In file included from /usr2/korsch/cern/root/include/TString.h:31,
                 from /usr2/korsch/cern/root/include/TClass.h:28,
                 from /usr2/korsch/cern/root/include/TVirtualHistPainter.h:25,
                 from /usr2/korsch/cern/root/include/TH1.h:25,
                 from include/DefineHists.hh:7,
                 from src/DefineHists.cc:1:
/usr2/korsch/cern/root/include/TMath.h: In function `Int_t
TMath::Finite (double)':
/usr2/korsch/cern/root/include/TMath.h:387: `finite' undeclared (first use this
function)
/usr2/korsch/cern/root/include/TMath.h:387: (Each undeclared identifier is
reported only once for each
function it appears in.)
/usr2/korsch/cern/root/include/TMath.h: In function `Int_t TMath::IsNaN
(double)':
/usr2/korsch/cern/root/include/TMath.h:390: `isnan' undeclared (first use this
function)

It looks like a ROOT error, but it isn't. The program compiles without
any problems using geant4.3.2.

This really slows my work down, since I don't know where the change happened.

Please, help.

Thanks.

Wolfgang Korsch
Comment 1 Gabriele Cosmo 2001-12-20 00:46:59 CET
You should indeed report this to ROOT support. Sorry.