[Gate-users] Problem link gate_v5.0.0

Davi Ezequiel François davifrancois at hotmail.com
Thu Jul 23 22:25:38 CEST 2009




Hi Gate
users,



 I am trying
to install gate_v5.0.0.tar.gz on a Fedora 11 with:- clhep-2.0.4.2.tgz;- geant4.9.2.p01.tar.gz; - root_v5.24.00.source.tar.gz;- lmf_v3.0.tar.gz;- ecat.tar.gz.But I have a problem at linking Gate, see:source/management finished
Creating/replacing object files in /usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a ...
ar: creating /usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a
Compiling Gate.cc ...
Using granular libraries ...
Linking Gate ...
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/exe/Gate.o: In function `main':
Gate.cc:(.text+0x1066): undefined reference to `vtable for GateTrackingAction'
Gate.cc:(.text+0x10b8): undefined reference to `GateSteppingAction::GateSteppingAction()'
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateEventAction.o): In function `GateEventAction::EndOfEventAction(G4Event const*)':
GateEventAction.cc:(.text+0x39e): undefined reference to `GateSteppingAction::GetMode()'
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateEventAction.o): In function `GateEventAction::BeginOfEventAction(G4Event const*)':
GateEventAction.cc:(.text+0x273): undefined reference to `GateSteppingAction::GetMode()'
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateSourceMgr.o): In function `GateSourceMgr::PrepareNextEvent(G4Event*)':
GateSourceMgr.cc:(.text+0x2d28): undefined reference to `GateSteppingAction::GetMode()'
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateSource.o): In function `GateSource::GeneratePrimaries(G4Event*)':
GateSource.cc:(.text+0x14c8): undefined reference to `GateSteppingAction::GetMode()'
GateSource.cc:(.text+0x27d8): undefined reference to `GateSteppingAction::SeekNewFile(bool)'
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateToRoot.o): In function `GateToRoot::RecordEndOfAcquisition()':
GateToRoot.cc:(.text+0x15b7): undefined reference to `GateSteppingAction::GetMode()'
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateToRoot.o): In function `GateToRoot::GetCurrentTracksData()':
GateToRoot.cc:(.text+0x2d36): undefined reference to `GateSteppingAction::SeekNewFile(bool)'
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateToRoot.o): In function `GateToRoot::RecordEndOfEvent(G4Event const*)':
GateToRoot.cc:(.text+0x4338): undefined reference to `GateSteppingAction::GetMode()'
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateToRoot.o): In function `GateToRoot::RecordBeginOfEvent(G4Event const*)':
GateToRoot.cc:(.text+0x4e23): undefined reference to `GateSteppingAction::GetMode()'
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateToRoot.o): In function `GateToRoot::RecordBeginOfAcquisition()':
GateToRoot.cc:(.text+0xc735): undefined reference to `GateSteppingAction::GetMode()'
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateAnalysis.o): In function `GateAnalysis::RecordEndOfEvent(G4Event const*)':
GateAnalysis.cc:(.text+0x1bd9): undefined reference to `GateSteppingAction::GetMode()'
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateGeneralParticleSource.o): In function `GateGeneralParticleSource::GeneratePrimaryVertex(G4Event*)':
GateGeneralParticleSource.cc:(.text+0x115e2): undefined reference to `GateSteppingAction::GetMode()'
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateTrajectoryNavigator.o):GateTrajectoryNavigator.cc:(.text+0xa28): more undefined references to `GateSteppingAction::GetMode()' follow
collect2: ld returned 1 exit status
gmake: *** [/usr/local/geant/gate_v5.0.0/bin/Linux-g++/Gate] Error 1







I checked
my environment settings and are ok, see.export G4INSTALL=/usr/local/geant/geant4.9.2.p01
export G4WORKDIR=/usr/local/geant/gate_v5.0.0
export ROOTSYS=/usr/local/geant/root
export PATH=$ROOTSYS/bin:$PATH
export LMF_HOME=/usr/local/geant/lmf_v3.0
export ECAT7_HOME=/usr/local/geant/ecat
export G4VERSION=9.2
export GATEHOME=/usr/local/geant/gate_v5.0.0
export LD_LIBRARY_PATH=/usr/local/lib:$ROOTSYS/lib:$export LD_LIBRARY_PATH

Can anyone
help or know what’s happening?

Thanks,

Davi Ezequiel François
 
NIMed - Núcleo de Pesquisas em Imagens Médicas
Pontifícia Universidade Católica do Rio Grande do Sul
Av. Ipiranga 6681 Prédio 96A - sala 220 - Porto Alegre - RS - Brasil CEP 90619-900 - Fone: (55) (51) 3320.3682 R. 7813
http://www.pucrs.br/fisica/pesquisas/nimed/index.htm
http://www.pucrs.br/



_________________________________________________________________
Novo Internet Explorer 8. Baixe agora, é grátis!
http://brasil.microsoft.com.br/IE8/mergulhe/?utm_source=MSN%3BHotmail&utm_medium=Tagline&utm_campaign=IE8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20090723/08e9667c/attachment.htm>


More information about the Gate-users mailing list