Problem 340 - Redefinition of G4LowEnergyIonisation class is confusing compiler
Summary: Redefinition of G4LowEnergyIonisation class is confusing compiler
Status: CLOSED INVALID
Alias: None
Product: Geant4
Classification: Unclassified
Component: config (show other problems)
Version: 4.0
Hardware: PC Linux
: P2 major
Assignee: Maria.Grazia.Pia
URL:
Depends on:
Blocks:
 
Reported: 2002-01-15 08:45 CET by clehner
Modified: 2002-02-01 05:47 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 clehner 2002-01-15 08:45:31 CET
I am running GEANT4.4.0 with G4EMLOW0.5 on Linux. When I try to compile a
program with low energy electromagnetic processes, I get the following error:
...
Compiling physics.cc ...
In file included from src/physics.cc:110:
/home/clehner/geant4/geant4.4.0/source/processes/electromagnetic/lowenergy/include/G4LowEnergyIonisation.hh:72:
redefinition of `class G4LowEnergyIonisation'
~/geant4/geant4.4.0/source/processes/electromagnetic/lowenergy/include/G4LowEnergyIonisation.hh:72:
previous definition here
~/geant4/geant4.4.0/source/processes/electromagnetic/lowenergy/include/G4LowEnergyIonisation.hh:121:
confused by earlier errors, bailing out
gmake: *** [pwd/tmp/Linux-g++/main_ex2/physics.o] Error 2

The same user code will compile without errors using GEANT4.3.0 and G4EMLOW0.3.
Comment 1 Hans-Peter.Wellisch 2002-01-21 02:34:59 CET
Energy loss is in the electromagnetic categories. I'll forward....
Comment 2 pia 2002-02-01 05:47:59 CET
One of the group developers (V. Ivanchenko) asked the user for further
information on the problem report, but in 10 days we have received no further
reply from the user.
We cannot reproduce the problem in our testing environment.

Best regards,
Maria Grazia Pia