Message: Problem with compiling extended example Field04 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Problem with compiling extended example Field04 

Forum: Documentation and Examples
Date: 09 Feb, 2010
From: Jonathan <Jonathan>

I haven't had any problems with compiling and running any of the previous examples I've tried but I'm now having some trouble with the extended example Field04. At first, the errors appeared to indicate that there were some missing header files. When I looked, it turned out that those particular header files were there but weren't being found because they were named with extension .h instead of .hh. For example it was looking for G4CHIPSWorld.hh but that file was named G4CHIPSWorld.h in the main include directory in Geant4. After renaming these these header files, and then recompiling the examples they were found and the example seemed to compile alright but at the link stage there appeared several pages of errors:

Making dependency for file field04.cc ...

Making dependency for file src/F04UserTrackInformation.cc ...

Making dependency for file src/F04TrajectoryPoint.cc ...

Making dependency for file src/F04Trajectory.cc ...

Making dependency for file src/F04TrackingAction.cc ...

Making dependency for file src/F04SteppingVerbose.cc ...

Making dependency for file src/F04SteppingActionMessenger.cc ...

Making dependency for file src/F04SteppingAction.cc ...

Making dependency for file src/F04StepMax.cc ...

Making dependency for file src/F04StackingAction.cc ...

Making dependency for file src/F04SimpleSolenoid.cc ...

Making dependency for file src/F04RunActionMessenger.cc ...

Making dependency for file src/F04RunAction.cc ...

Making dependency for file src/F04PrimaryGeneratorMessenger.cc ...

Making dependency for file src/F04PrimaryGeneratorAction.cc ...

Making dependency for file field04.cc ...

Making dependency for file src/F04UserTrackInformation.cc ...

Making dependency for file src/F04TrajectoryPoint.cc ...

Making dependency for file src/F04Trajectory.cc ...

Making dependency for file src/F04TrackingAction.cc ...

Making dependency for file src/F04SteppingVerbose.cc ...

Making dependency for file src/F04SteppingActionMessenger.cc ...

Making dependency for file src/F04SteppingAction.cc ...

Making dependency for file src/F04StepMax.cc ...

Making dependency for file src/F04StackingAction.cc ...

Making dependency for file src/F04SimpleSolenoid.cc ...

Making dependency for file src/F04RunActionMessenger.cc ...

Making dependency for file src/F04RunAction.cc ...

Making dependency for file src/F04PrimaryGeneratorMessenger.cc ...

Making dependency for file src/F04PrimaryGeneratorAction.cc ...

Making dependency for file src/F04PhysicsListMessenger.cc ...

Making dependency for file src/F04PhysicsList.cc ...

Making dependency for file src/F04OpticalPhysics.cc ...

Making dependency for file src/F04Materials.cc ...

Making dependency for file src/F04GlobalField.cc ...

Making dependency for file src/F04FocusSolenoid.cc ...

Making dependency for file src/F04FieldMessenger.cc ...

Making dependency for file src/F04ExtraPhysics.cc ...

Making dependency for file src/F04EventActionMessenger.cc ...

Making dependency for file src/F04EventAction.cc ...

Making dependency for file src/F04ElementField.cc ...

Making dependency for file src/F04DetectorMessenger.cc ...

Making dependency for file src/F04DetectorConstruction.cc ...

Compiling F04DetectorConstruction.cc ...

Compiling F04DetectorMessenger.cc ...

Compiling F04ElementField.cc ...

Compiling F04EventAction.cc ...

Compiling F04EventActionMessenger.cc ...

Compiling F04ExtraPhysics.cc ...

Compiling F04FieldMessenger.cc ...

Compiling F04FocusSolenoid.cc ...

Compiling F04GlobalField.cc ...

Compiling F04Materials.cc ...

Compiling F04OpticalPhysics.cc ...

Compiling F04PhysicsList.cc ...

Compiling F04PhysicsListMessenger.cc ...

Compiling F04PrimaryGeneratorAction.cc ...

Compiling F04PrimaryGeneratorMessenger.cc ...

Compiling F04RunAction.cc ...

Compiling F04RunActionMessenger.cc ...

Compiling F04SimpleSolenoid.cc ...

Compiling F04StackingAction.cc ...

Compiling F04StepMax.cc ...

Compiling F04SteppingAction.cc ...

Compiling F04SteppingActionMessenger.cc ...

Compiling F04SteppingVerbose.cc ...

Compiling F04TrackingAction.cc ...

Compiling F04Trajectory.cc ...

Compiling F04TrajectoryPoint.cc ...

Compiling F04UserTrackInformation.cc ...

Creating/replacing object files in /tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a ...

ar: creating /tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a

Compiling field04.cc ...

Using granular libraries ...

Linking field04

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x1592): In function `F04PhysicsList::SetBuilderList6(bool)': : undefined reference to `G4EmExtraPhysics::G4EmExtraPhysics(G4String const&)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x15e9): In function `F04PhysicsList::SetBuilderList6(bool)': : undefined reference to `G4HadronHElasticPhysics::G4HadronHElasticPhysics(int, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x1646): In function `F04PhysicsList::SetBuilderList6(bool)': : undefined reference to `G4QStoppingPhysics::G4QStoppingPhysics(G4String const&, int, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x16ae): In function `F04PhysicsList::SetBuilderList6(bool)': : undefined reference to `G4IonBinaryCascadePhysics::G4IonBinaryCascadePhysics(G4String const&, int)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x171c): In function `F04PhysicsList::SetBuilderList6(bool)': : undefined reference to `G4NeutronTrackingCut::G4NeutronTrackingCut(G4String const&, int)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x1a1e): In function `F04PhysicsList::SetBuilderList5(bool)': : undefined reference to `G4EmExtraPhysics::G4EmExtraPhysics(G4String const&)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x1a75): In function `F04PhysicsList::SetBuilderList5(bool)': : undefined reference to `G4HadronDElasticPhysics::G4HadronDElasticPhysics(int, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x1ad2): In function `F04PhysicsList::SetBuilderList5(bool)': : undefined reference to `G4QStoppingPhysics::G4QStoppingPhysics(G4String const&, int, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x1b3a): In function `F04PhysicsList::SetBuilderList5(bool)': : undefined reference to `G4IonBinaryCascadePhysics::G4IonBinaryCascadePhysics(G4String const&, int)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x1ba8): In function `F04PhysicsList::SetBuilderList5(bool)': : undefined reference to `G4NeutronTrackingCut::G4NeutronTrackingCut(G4String const&, int)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x1ea4): In function `F04PhysicsList::SetBuilderList4(bool)': : undefined reference to `G4EmExtraPhysics::G4EmExtraPhysics(G4String const&)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x1f12): In function `F04PhysicsList::SetBuilderList4(bool)': : undefined reference to `G4HadronQElasticPhysics::G4HadronQElasticPhysics(G4String const&, int)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x1f85): In function `F04PhysicsList::SetBuilderList4(bool)': : undefined reference to `G4QStoppingPhysics::G4QStoppingPhysics(G4String const&, int, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x1fec): In function `F04PhysicsList::SetBuilderList4(bool)': : undefined reference to `G4IonBinaryCascadePhysics::G4IonBinaryCascadePhysics(G4String const&, int)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x2057): In function `F04PhysicsList::SetBuilderList4(bool)': : undefined reference to `G4NeutronTrackingCut::G4NeutronTrackingCut(G4String const&, int)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x23d2): In function `F04PhysicsList::SetBuilderList3(bool)': : undefined reference to `G4EmExtraPhysics::G4EmExtraPhysics(G4String const&)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x2449): In function `F04PhysicsList::SetBuilderList3(bool)': : undefined reference to `G4HadronElasticPhysics::G4HadronElasticPhysics(G4String const&, int, bool, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x24bc): In function `F04PhysicsList::SetBuilderList3(bool)': : undefined reference to `G4QStoppingPhysics::G4QStoppingPhysics(G4String const&, int, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x2523): In function `F04PhysicsList::SetBuilderList3(bool)': : undefined reference to `G4IonBinaryCascadePhysics::G4IonBinaryCascadePhysics(G4String const&, int)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x27fa): In function `F04PhysicsList::SetBuilderList2(bool)': : undefined reference to `G4EmExtraPhysics::G4EmExtraPhysics(G4String const&)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x2871): In function `F04PhysicsList::SetBuilderList2(bool)': : undefined reference to `G4HadronElasticPhysics::G4HadronElasticPhysics(G4String const&, int, bool, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x28d8): In function `F04PhysicsList::SetBuilderList2(bool)': : undefined reference to `G4IonBinaryCascadePhysics::G4IonBinaryCascadePhysics(G4String const&, int)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x2b1e): In function `F04PhysicsList::SetBuilderList1(bool)': : undefined reference to `G4EmExtraPhysics::G4EmExtraPhysics(G4String const&)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x2b95): In function `F04PhysicsList::SetBuilderList1(bool)': : undefined reference to `G4HadronElasticPhysics::G4HadronElasticPhysics(G4String const&, int, bool, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x2c08): In function `F04PhysicsList::SetBuilderList1(bool)': : undefined reference to `G4QStoppingPhysics::G4QStoppingPhysics(G4String const&, int, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x2c6f): In function `F04PhysicsList::SetBuilderList1(bool)': : undefined reference to `G4IonBinaryCascadePhysics::G4IonBinaryCascadePhysics(G4String const&, int)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x2cda): In function `F04PhysicsList::SetBuilderList1(bool)': : undefined reference to `G4NeutronTrackingCut::G4NeutronTrackingCut(G4String const&, int)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x3042): In function `F04PhysicsList::SetBuilderList0(bool)': : undefined reference to `G4EmExtraPhysics::G4EmExtraPhysics(G4String const&)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x30b9): In function `F04PhysicsList::SetBuilderList0(bool)': : undefined reference to `G4HadronElasticPhysics::G4HadronElasticPhysics(G4String const&, int, bool, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x312c): In function `F04PhysicsList::SetBuilderList0(bool)': : undefined reference to `G4QStoppingPhysics::G4QStoppingPhysics(G4String const&, int, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x3193): In function `F04PhysicsList::SetBuilderList0(bool)': : undefined reference to `G4IonBinaryCascadePhysics::G4IonBinaryCascadePhysics(G4String const&, int)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x31fe): In function `F04PhysicsList::SetBuilderList0(bool)': : undefined reference to `G4NeutronTrackingCut::G4NeutronTrackingCut(G4String const&, int)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x35b9): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `G4EmStandardPhysics::G4EmStandardPhysics(int, G4String const&)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x369e): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `G4EmStandardPhysics_option1::G4EmStandardPhysics_option1(int, G4String const&)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x37c6): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `G4EmStandardPhysics_option2::G4EmStandardPhysics_option2(int, G4String const&)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x3912): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `HadronPhysicsFTFC::HadronPhysicsFTFC(G4String const&, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x39b5): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `G4EmStandardPhysics_option3::G4EmStandardPhysics_option3(int, G4String const&)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x3bea): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `HadronPhysicsFTFP::HadronPhysicsFTFP(G4String const&, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x3cfc): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `HadronPhysicsFTFP_BERT::HadronPhysicsFTFP_BERT(G4String const&, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x3ff0): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `HadronPhysicsFTF_BIC::HadronPhysicsFTF_BIC(G4String const&, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x408d): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `HadronPhysicsLHEP::HadronPhysicsLHEP(G4String const&)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x4278): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `HadronPhysicsLHEP_BERT::HadronPhysicsLHEP_BERT(G4String const&)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x453b): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `HadronPhysicsLHEP_EMV::HadronPhysicsLHEP_EMV(G4String const&)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x46d1): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `HadronPhysicsLHEP_PRECO_HP::HadronPhysicsLHEP_PRECO_HP(G4String const&)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x4806): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `G4HadronInelasticQBBC::G4HadronInelasticQBBC(G4String const&, int, bool, bool, bool, bool, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x4934): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `G4HadronInelasticQBBC::G4HadronInelasticQBBC(G4String const&, int, bool, bool, bool, bool, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x4a73): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `G4HadronInelasticQBBC::G4HadronInelasticQBBC(G4String const&, int, bool, bool, bool, bool, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x4b98): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `G4HadronInelasticQBBC::G4HadronInelasticQBBC(G4String const&, int, bool, bool, bool, bool, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x4cc6): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `HadronPhysicsQGSC::HadronPhysicsQGSC(G4String const&, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x4dd4): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `HadronPhysicsQGSC_BERT::HadronPhysicsQGSC_BERT(G4String const&, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x4f02): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `HadronPhysicsQGSC_EFLOW::HadronPhysicsQGSC_EFLOW(G4String const&, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x51a6): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `HadronPhysicsQGSP::HadronPhysicsQGSP(G4String const&, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x52b4): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `HadronPhysicsQGSP_BERT::HadronPhysicsQGSP_BERT(G4String const&, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x5541): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `HadronPhysicsQGSP_BERT_HP::HadronPhysicsQGSP_BERT_HP(G4String const&, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x564f): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `HadronPhysicsQGSP_BIC::HadronPhysicsQGSP_BIC(G4String const&, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x579a): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `HadronPhysicsQGSP_BIC_HP::HadronPhysicsQGSP_BIC_HP(G4String const&, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x589f): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `HadronPhysicsQGSP::HadronPhysicsQGSP(G4String const&, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x5c95): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `HadronPhysicsQGSP::HadronPhysicsQGSP(G4String const&, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x5da3): In function `F04PhysicsList::AddPhysicsList(G4String const&)': : undefined reference to `HadronPhysicsQGSP::HadronPhysicsQGSP(G4String const&, bool)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x5fe5): In function `F04PhysicsList::F04PhysicsList(G4String)': : undefined reference to `G4DecayPhysics::G4DecayPhysics(G4String const&, int)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.text+0x634c): In function `F04PhysicsList::F04PhysicsList(G4String)': : undefined reference to `G4DecayPhysics::G4DecayPhysics(G4String const&, int)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.r._ZTV10G4QGSModelI19G4GammaParticipantsE+0x14): undefined reference to `G4VPartonStringModel::Scatter(G4Nucleus const&, G4DynamicParticle const&)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.r._ZTI10G4QGSModelI19G4GammaParticipantsE+0x8): undefined reference to `typeinfo for G4VPartonStringModel'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN10G4QGSModelI19G4GammaParticipantsED1Ev+0x19): In function `G4QGSModel<G4GammaParticipants>::~G4QGSModel()': : undefined reference to `G4SoftStringBuilder::~G4SoftStringBuilder()'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN10G4QGSModelI19G4GammaParticipantsED1Ev+0x27): In function `G4QGSModel<G4GammaParticipants>::~G4QGSModel()': : undefined reference to `G4DiffractiveStringBuilder::~G4DiffractiveStringBuilder()'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN10G4QGSModelI19G4GammaParticipantsED1Ev+0x31): In function `G4QGSModel<G4GammaParticipants>::~G4QGSModel()': : undefined reference to `vtable for G4GammaParticipants'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN10G4QGSModelI19G4GammaParticipantsED1Ev+0x39): In function `G4QGSModel<G4GammaParticipants>::~G4QGSModel()': : undefined reference to `G4QGSParticipants::~G4QGSParticipants()'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN10G4QGSModelI19G4GammaParticipantsED1Ev+0x41): In function `G4QGSModel<G4GammaParticipants>::~G4QGSModel()': : undefined reference to `G4VPartonStringModel::~G4VPartonStringModel()'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN10G4QGSModelI19G4GammaParticipantsED1Ev+0x5b): In function `G4QGSModel<G4GammaParticipants>::~G4QGSModel()': : undefined reference to `vtable for G4GammaParticipants'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN10G4QGSModelI19G4GammaParticipantsED1Ev+0x61): In function `G4QGSModel<G4GammaParticipants>::~G4QGSModel()': : undefined reference to `G4QGSParticipants::~G4QGSParticipants()'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN10G4QGSModelI19G4GammaParticipantsED1Ev+0x6d): In function `G4QGSModel<G4GammaParticipants>::~G4QGSModel()': : undefined reference to `G4VPartonStringModel::~G4VPartonStringModel()'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN10G4QGSModelI19G4GammaParticipantsED1Ev+0x89): In function `G4QGSModel<G4GammaParticipants>::~G4QGSModel()': : undefined reference to `G4DiffractiveStringBuilder::~G4DiffractiveStringBuilder()'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN10G4QGSModelI19G4GammaParticipantsED0Ev+0x19): In function `G4QGSModel<G4GammaParticipants>::~G4QGSModel()': : undefined reference to `G4SoftStringBuilder::~G4SoftStringBuilder()'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN10G4QGSModelI19G4GammaParticipantsED0Ev+0x27): In function `G4QGSModel<G4GammaParticipants>::~G4QGSModel()': : undefined reference to `G4DiffractiveStringBuilder::~G4DiffractiveStringBuilder()'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN10G4QGSModelI19G4GammaParticipantsED0Ev+0x31): In function `G4QGSModel<G4GammaParticipants>::~G4QGSModel()': : undefined reference to `vtable for G4GammaParticipants'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN10G4QGSModelI19G4GammaParticipantsED0Ev+0x39): In function `G4QGSModel<G4GammaParticipants>::~G4QGSModel()': : undefined reference to `G4QGSParticipants::~G4QGSParticipants()'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN10G4QGSModelI19G4GammaParticipantsED0Ev+0x41): In function `G4QGSModel<G4GammaParticipants>::~G4QGSModel()': : undefined reference to `G4VPartonStringModel::~G4VPartonStringModel()'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN10G4QGSModelI19G4GammaParticipantsED0Ev+0x63): In function `G4QGSModel<G4GammaParticipants>::~G4QGSModel()': : undefined reference to `vtable for G4GammaParticipants'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN10G4QGSModelI19G4GammaParticipantsED0Ev+0x69): In function `G4QGSModel<G4GammaParticipants>::~G4QGSModel()': : undefined reference to `G4QGSParticipants::~G4QGSParticipants()'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN10G4QGSModelI19G4GammaParticipantsED0Ev+0x75): In function `G4QGSModel<G4GammaParticipants>::~G4QGSModel()': : undefined reference to `G4VPartonStringModel::~G4VPartonStringModel()'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN10G4QGSModelI19G4GammaParticipantsED0Ev+0x91): In function `G4QGSModel<G4GammaParticipants>::~G4QGSModel()': : undefined reference to `G4DiffractiveStringBuilder::~G4DiffractiveStringBuilder()'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN24G4ElectroNuclearReaction13ApplyYourselfERK15G4HadProjectileR9G4Nucleus+0xf8c): In function `G4ElectroNuclearReaction::ApplyYourself(G4HadProjectile const&, G4Nucleus&)': : undefined reference to `G4ChiralInvariantPhaseSpace::ApplyYourself(G4HadProjectile const&, G4Nucleus&, G4HadFinalState*)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN24G4ElectroNuclearReactionD0Ev+0x75): In function `G4ElectroNuclearReaction::~G4ElectroNuclearReaction()': : undefined reference to `G4ChiralInvariantPhaseSpace::~G4ChiralInvariantPhaseSpace()'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN24G4ElectroNuclearReactionD0Ev+0xd7): In function `G4ElectroNuclearReaction::~G4ElectroNuclearReaction()': : undefined reference to `G4ChiralInvariantPhaseSpace::~G4ChiralInvariantPhaseSpace()'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN24G4ElectroNuclearReactionD1Ev+0x75): In function `G4ElectroNuclearReaction::~G4ElectroNuclearReaction()': : undefined reference to `G4ChiralInvariantPhaseSpace::~G4ChiralInvariantPhaseSpace()'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN24G4ElectroNuclearReactionD1Ev+0xcf): In function `G4ElectroNuclearReaction::~G4ElectroNuclearReaction()': : undefined reference to `G4ChiralInvariantPhaseSpace::~G4ChiralInvariantPhaseSpace()'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN10G4QGSModelI19G4GammaParticipantsE4InitERK9G4NucleusRK17G4DynamicParticle+0x659): In function `G4QGSModel<G4GammaParticipants>::Init(G4Nucleus const&, G4DynamicParticle const&)': : undefined reference to `G4QGSParticipants::BuildInteractions(G4ReactionProduct const&)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN10G4QGSModelI19G4GammaParticipantsE10GetStringsEv+0x66): In function `G4QGSModel<G4GammaParticipants>::GetStrings()': : undefined reference to `G4SoftStringBuilder::BuildString(G4PartonPair*)'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN10G4QGSModelI19G4GammaParticipantsE10GetStringsEv+0xa1): In function `G4QGSModel<G4GammaParticipants>::GetStrings()': : undefined reference to `G4PartonPair::~G4PartonPair()'

/tmp/geant4-jono/tmp/Linux-g++/field04/libfield04.a(F04PhysicsList.o)(.gnu.linkonce.t._ZN10G4QGSModelI19G4GammaParticipantsE10GetStringsEv+0xd4): In function `G4QGSModel<G4GammaParticipants>::GetStrings()': : undefined reference to `G4DiffractiveStringBuilder::BuildString(G4PartonPair*)' collect2: ld returned 1 exit status make: *** [/tmp/geant4-jono/bin/Linux-g++/field04] Error 1

It's as though there's a problem with linking to the libraries. Does anyone know what the problem is or how to solve it?

 Add Message Add Message
to: "Problem with compiling extended example Field04"

 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 ]