Message: Error: collect2: ld returned 1 exit status Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Error: collect2: ld returned 1 exit status 

Forum: Installation and Configuration
Date: 14 Aug, 2010
From: Evangelos Paradas <Evangelos Paradas>

Hi all! I am trying to simulate a gamma-ray detector, and I have write all files. So, when I run gmake, I get these errors:

/opt/geant4/geant4.9.3/g4workdir/tmp/Linux-g++/Erg_Pyr/libErg_Pyr.so: undefined reference to `EPPhysicsList::ConstructAllIons()'

/opt/geant4/geant4.9.3/g4workdir/tmp/Linux-g++/Erg_Pyr/libErg_Pyr.so: undefined reference to `EPPhysicsList::ConstructAllShortLiveds()'

/opt/geant4/geant4.9.3/g4workdir/tmp/Linux-g++/Erg_Pyr/libErg_Pyr.so: undefined reference to `EPPhysicsList::SetCuts()'

collect2: ld returned 1 exit status

Does anyone has any idea of what is going wrong?

 Add Message Add Message
to: "Error: collect2: ld returned 1 exit status"

 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 ]