Message: compiling examples/extended/hadronic/Hadr00 with the latest G4 release Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question compiling examples/extended/hadronic/Hadr00 with the latest G4 release 

Forum: Installation and Configuration
Date: 27 Dec, 2008
From: Cristian Bungau <Cristian Bungau>

Hi,

After installing geant4.9.2 with no error messages, I am trying to compile Hadr00 example and I get the following linking errors:

-bash-3.00$ make Using granular libraries ... Linking hadr00 ...

/home/geant4/geant4.9.2/lib/Linux-g++/libG4phys_builders.a(G4EmStandardPhysics.o)(.text+0x1015): In function `G4EmStandardPhysics::ConstructProcess()': : undefined reference to `G4hBremsstrahlung::G4hBremsstrahlung(G4String const&)' /afs/hep.man.ac.uk/g/accelerators/geant4/geant4.9.2/lib/Linux-g++/libG4phys_builders.a(G4EmStandardPhysics.o)(.text+0x1068):

In function `G4EmStandardPhysics::ConstructProcess()': : undefined reference to `G4hPairProduction::G4hPairProduction(G4String const&)' /home/geant4/geant4.9.2/lib/Linux-g++/libG4phys_builders.a(G4EmStandardPhysics_option1.o)(.text+0x1146):

In function `G4EmStandardPhysics_option1::ConstructProcess()': : undefined reference to `G4hBremsstrahlung::G4hBremsstrahlung(G4String const&)' /home/geant4/geant4.9.2/lib/Linux-g++/libG4phys_builders.a(G4EmStandardPhysics_option1.o)(.text+0x1199):

In function `G4EmStandardPhysics_option1::ConstructProcess()': : undefined reference to `G4hPairProduction::G4hPairProduction(G4String const&)' /home/geant4/geant4.9.2/lib/Linux-g++/libG4phys_builders.a(G4EmStandardPhysics_option2.o)(.text+0x1193):

In function `G4EmStandardPhysics_option2::ConstructProcess()': : undefined reference to `G4hBremsstrahlung::G4hBremsstrahlung(G4String const&)' /home/geant4/geant4.9.2/lib/Linux-g++/libG4phys_builders.a(G4EmStandardPhysics_option2.o)(.text+0x11e6):

In function `G4EmStandardPhysics_option2::ConstructProcess()': : undefined reference to `G4hPairProduction::G4hPairProduction(G4String const&)' collect2: ld returned 1 exit status make: *** [/home/cristian/geant4/bin/Linux-g++/hadr00] Error 1 -bash-3.00$

I would be very grateful for any suggestion on how to fix this. Has anyone been able to compile Hadr00 or Hadr01 with the latest G4 release?

Thank you,

Cristian

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Ok: Re: compiling examples/extended/hadronic/Hadr00 -> PROBLEM SOLVED   (Cristian Bungau - 27 Dec, 2008)
 Add Message Add Message
to: "compiling examples/extended/hadronic/Hadr00 with the latest G4 release"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]