<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Dear Simon,<br><br>You are right, I have a problem in GateSteppingAction.cc when compile gate_v5.0.0.<br><br>Compiling GateSteppingAction.cc ...<br>src/GateSteppingAction.cc: In member function âG4int GateSteppingAction::SeekNewFile(G4bool)â:<br>src/GateSteppingAction.cc:123: error: incomplete type âGateOutputMgrâ used in nested name specifier<br>src/GateSteppingAction.cc: In member function âvirtual void GateSteppingAction::UserSteppingAction(const G4Step*)â:<br>src/GateSteppingAction.cc:327: error: incomplete type âGateOutputMgrâ used in nested name specifier<br>gmake[1]: *** [../../tmp/Linux-g++/Gate/GateSteppingAction.o] Error 1<br>source/mandatory_G4_classes finished<br><br><br>What can I do to solve my problem?<br><br><br>Davi Ezequiel François<br>&nbsp;<br>NIMed - Núcleo de Pesquisas em Imagens Médicas<br>Pontifícia Universidade Católica do Rio Grande do Sul<br>Av. Ipiranga 6681 Prédio 96A - sala 220 - Porto Alegre - RS - Brasil CEP 90619-900 - Fone: (55) (51) 3320.3682 R. 7813<br><a href="http://www.pucrs.br/fisica/pesquisas/nimed/index.htm">http://www.pucrs.br/fisica/pesquisas/nimed/index.htm</a><br><a href="http://www.pucrs.br/">http://www.pucrs.br/</a><br><br><br><br><br><hr id="stopSpelling">Date: Thu, 23 Jul 2009 22:40:09 +0200<br>Subject: Re: [Gate-users] Problem link gate_v5.0.0<br>From: gate.stute@gmail.com<br>To: davifrancois@hotmail.com<br>CC: gate-users@lists.healthgrid.org<br><br>Hi,<br><br>Did the file GateSteppingAction.cc really successfully compile ? It seems that it not the case.<br>If an error occured during the compilation of this file, the problem will be easy to solve, but else it won't !<br>
<br>Cheers,<br>Simon<br><br><div class="EC_gmail_quote">On Thu, Jul 23, 2009 at 10:25 PM, Davi Ezequiel François <span dir="ltr">&lt;<a href="mailto:davifrancois@hotmail.com">davifrancois@hotmail.com</a>&gt;</span> wrote:<br>
<blockquote class="EC_gmail_quote" style="padding-left: 1ex;">



<div>


<font style="font-size: 12pt;" size="3"><span lang="EN-US">Hi Gate
users,</span></font><BR>



<font style="font-size: 12pt;" size="3"><span lang="EN-US">&nbsp;I am trying
to install gate_v5.0.0.tar.gz on a Fedora 11 with:</span></font><font style="font-size: 12pt;" size="3"><span lang="EN-US"><span><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal;"></span></span></span></font><BR>
<font style="font-size: 12pt;" size="3"><span lang="EN-US"><span><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal;">- </span></span></span></font><font style="font-size: 12pt;" size="3">clhep-2.0.4.2.tgz;</font><BR>
<font style="font-size: 12pt;" size="3">- geant4.9.2.p01.tar.gz;</font><BR><font style="font-size: 12pt;" size="3"> - root_v5.24.00.source.tar.gz;</font><BR><font style="font-size: 12pt;" size="3">- lmf_v3.0.tar.gz;</font><BR>
<font style="font-size: 12pt;" size="3">- ecat.tar.gz.</font><BR><font style="font-size: 12pt;" size="3">But I have a problem at linking Gate, see:</font><BR><font style="font-size: 12pt;" size="3">source/management finished<br>
Creating/replacing object files in /usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a ...<br>ar: creating /usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a<br>Compiling Gate.cc ...<br>Using granular libraries ...<br>
Linking Gate ...<br>/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/exe/Gate.o: In function `main':<br>Gate.cc:(.text+0x1066): undefined reference to `vtable for GateTrackingAction'<br>Gate.cc:(.text+0x10b8): undefined reference to `GateSteppingAction::GateSteppingAction()'<br>
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateEventAction.o): In function `GateEventAction::EndOfEventAction(G4Event const*)':<br>GateEventAction.cc:(.text+0x39e): undefined reference to `GateSteppingAction::GetMode()'<br>
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateEventAction.o): In function `GateEventAction::BeginOfEventAction(G4Event const*)':<br>GateEventAction.cc:(.text+0x273): undefined reference to `GateSteppingAction::GetMode()'<br>
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateSourceMgr.o): In function `GateSourceMgr::PrepareNextEvent(G4Event*)':<br>GateSourceMgr.cc:(.text+0x2d28): undefined reference to `GateSteppingAction::GetMode()'<br>
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateSource.o): In function `GateSource::GeneratePrimaries(G4Event*)':<br>GateSource.cc:(.text+0x14c8): undefined reference to `GateSteppingAction::GetMode()'<br>
GateSource.cc:(.text+0x27d8): undefined reference to `GateSteppingAction::SeekNewFile(bool)'<br>/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateToRoot.o): In function `GateToRoot::RecordEndOfAcquisition()':<br>
GateToRoot.cc:(.text+0x15b7): undefined reference to `GateSteppingAction::GetMode()'<br>/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateToRoot.o): In function `GateToRoot::GetCurrentTracksData()':<br>
GateToRoot.cc:(.text+0x2d36): undefined reference to `GateSteppingAction::SeekNewFile(bool)'<br>/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateToRoot.o): In function `GateToRoot::RecordEndOfEvent(G4Event const*)':<br>
GateToRoot.cc:(.text+0x4338): undefined reference to `GateSteppingAction::GetMode()'<br>/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateToRoot.o): In function `GateToRoot::RecordBeginOfEvent(G4Event const*)':<br>
GateToRoot.cc:(.text+0x4e23): undefined reference to `GateSteppingAction::GetMode()'<br>/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateToRoot.o): In function `GateToRoot::RecordBeginOfAcquisition()':<br>
GateToRoot.cc:(.text+0xc735): undefined reference to `GateSteppingAction::GetMode()'<br>/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateAnalysis.o): In function `GateAnalysis::RecordEndOfEvent(G4Event const*)':<br>
GateAnalysis.cc:(.text+0x1bd9): undefined reference to `GateSteppingAction::GetMode()'<br>/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateGeneralParticleSource.o): In function `GateGeneralParticleSource::GeneratePrimaryVertex(G4Event*)':<br>
GateGeneralParticleSource.cc:(.text+0x115e2): undefined reference to `GateSteppingAction::GetMode()'<br>/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<br>
collect2: ld returned 1 exit status<br>gmake: *** [/usr/local/geant/gate_v5.0.0/bin/Linux-g++/Gate] Error 1<br><br></font><BR><font style="font-size: 12pt;" size="3"><span lang="EN-US"></span></font>





<font style="font-size: 12pt;" size="3"><span lang="EN-US">I checked
my environment settings and are ok, see.</span></font><BR>export G4INSTALL=/usr/local/geant/geant4.9.2.p01<br>export G4WORKDIR=/usr/local/geant/gate_v5.0.0<br>export ROOTSYS=/usr/local/geant/root<br>export PATH=$ROOTSYS/bin:$PATH<br>
export LMF_HOME=/usr/local/geant/lmf_v3.0<br>export ECAT7_HOME=/usr/local/geant/ecat<br>export G4VERSION=9.2<br>export GATEHOME=/usr/local/geant/gate_v5.0.0<br>export LD_LIBRARY_PATH=/usr/local/lib:$ROOTSYS/lib:$export LD_LIBRARY_PATH<br>
<br><font style="font-size: 12pt;" size="3"><span lang="EN-US">Can anyone
help or know what’s happening?</span></font><BR>

Thanks,<br><br>Davi Ezequiel François<br>&nbsp;<br>NIMed - Núcleo de Pesquisas em Imagens Médicas<br>Pontifícia Universidade Católica do Rio Grande do Sul<br>Av. Ipiranga 6681 Prédio 96A - sala 220 - Porto Alegre - RS - Brasil CEP 90619-900 - Fone: (55) (51) 3320.3682 R. 7813<br>
<a href="http://www.pucrs.br/fisica/pesquisas/nimed/index.htm">http://www.pucrs.br/fisica/pesquisas/nimed/index.htm</a><br><a href="http://www.pucrs.br/">http://www.pucrs.br/</a><br><div class="EC_hm">
<br><br><br><hr>Instale o novo Internet Explorer 8 otimizado para o MSN. <a href="http://ie8.msn.com/microsoft/internet-explorer-8/pt-br/ie8.aspx">Download aqui</a></div></div>
<br>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.healthgrid.org">Gate-users@lists.healthgrid.org</a><br>
<a href="http://lists.healthgrid.org/mailman/listinfo/gate-users">http://lists.healthgrid.org/mailman/listinfo/gate-users</a><br>
<br></blockquote></div><br><br /><hr />Com o Windows Live, você pode organizar, editar e <a href='http://www.microsoft.com/brasil/windows/windowslive/products/photo-gallery-edit.aspx' target='_new'>compartilhar suas fotos.</a></body>
</html>