Problem 332 - Problems compiling Geant4.4.0 with ROOT
Summary: Problems compiling Geant4.4.0 with ROOT
Status: RESOLVED INVALID
Alias: None
Product: Geant4
Classification: Unclassified
Component: global (show other problems)
Version: 4.0
Hardware: PC Linux
: P1 major
Assignee: Gabriele Cosmo
URL:
Depends on:
Blocks:
 
Reported: 2001-12-19 10:30 CET by korsch
Modified: 2001-12-20 00:46 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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.