Message: Problem linking Underground Physics Example Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Problem linking Underground Physics Example 

Keywords: underground_physics, neutron, linking error
Forum: Documentation and Examples
Date: 26 Jul, 2005
From: Andrew Wroe <>

I have tried to compile and run the underground_physics example contained within the GEANT4.7.1 examples and I run into the following error when the example is linking:

/usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld: `.gnu.linkonce.t._ZN29G4NeutronHPEnergyDistribution4InitERSt14basic_ifstreamIcSt11char_traitsIcEE' referenced in section `.rodata' of /home/andrew/GEANT4/lib/Linux-g++/libG4had_neu_hp.a(G4NeutronHPInelasticCompFS.o): defined in discarded section `.gnu.linkonce.t._ZN29G4NeutronHPEnergyDistribution4InitERSt14basic_ifstreamIcSt11char_traitsIcEE' of /home/andrew/GEANT4/lib/Linux-g++/libG4had_neu_hp.a(G4NeutronHPInelasticCompFS.o)

This happens for each HPNeutron model defined in the physics list. Does this means that the process are unable to be found or simply that the program does not like where they are located? Do I need to build and link these processes independantly of the ./Configure installation procedure? If so how is this completed?

Thank you for your help, Andrew

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

 Add Message Add Message
to: "Problem linking Underground Physics Example"

 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 ]