<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Thank you, it works well.<BR><BR><BR>

<HR id=stopSpelling>
<BR>
Date: Fri, 19 Dec 2008 11:38:37 +0100<BR>From: gate.stute@gmail.com<BR>To: gjtian@hotmail.com<BR>Subject: Re: Re : [Gate-users] GATE and GEANT Install<BR>CC: dounia84@aol.com; gate-users@lists.healthgrid.org<BR><BR>Hi,<BR><BR>I made the modification in the variables.gmk file (that is used by the GNUmakefile of Gate).<BR>Just replace the old file by this new one and recompile Gate.<BR><BR>(I just replaced the manual ROOT library links by a call of the program root-config with the option --libs).<BR><BR>Hope it will work,<BR>Simon<BR><BR><BR>
<DIV class=EC_gmail_quote>2008/12/19 TienGarry <SPAN dir=ltr>&lt;<A href="mailto:gjtian@hotmail.com">gjtian@hotmail.com</A>&gt;</SPAN><BR>
<BLOCKQUOTE class=EC_gmail_quote style="PADDING-LEFT: 1ex">
<DIV>When I make GATE4.0 I get the link errors:<BR><BR>Linking Gate ...<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::ReadArray(double*&amp;)'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::SetReadParam(int)'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TThread::TThread(char const*, void* (*)(void*), void*, TThread::EPriority)'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::WriteArray(float const*, int)'<BR>/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `ROOT::Math::GaussIntegrator::GaussIntegrator()'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `typeinfo for TSQLResult'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `vtable for TSQLRow'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::GetLastProcessID(TRefTable*) const'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::GetTRefExecId()'<BR>/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `TMath::ErfInverse(double)'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::WriteObjectClass(void const*, TClass const*)'<BR>/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `TMath::Beta(double, double)'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::ReadVersion(unsigned int*, unsigned int*, TClass const*)'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::WriteArray(long const*, int)'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TThread::Run(void*)'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::WriteProcessID(TProcessID*)'<BR>/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `ROOT::Math::BrentMinimizer1D::~BrentMinimizer1D()'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::WriteVersionMemberWise(TClass const*, bool)'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TKey::Hash() const'<BR>/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `gRandom'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `typeinfo for TSQLRow'<BR>/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `ROOT::Math::RootFinder::RootFinder(ROOT::Math::RootFinder::EType)'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `int TStreamerInfo::ReadBuffer&lt;char**&gt;(TBuffer&amp;, char** const&amp;, int, int, int, int)'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::ReadStaticArray(long*)'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TKey::Streamer(TBuffer&amp;)'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TStreamerInfo::ReadBufferClones(TBuffer&amp;, TClonesArray*, int, int, int)'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TMutex::TMutex(bool)'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::WriteObject(TObject const*)'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::WriteArray(int const*, int)'<BR>/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `TMath::BesselK0(double)'<BR>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TMessage::Class()'<BR>/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `TMath::StruveH0(double)'<BR>collect2: ld returned 1 exit status<BR>make: *** [bin/Linux-g++/Gate] Error 1<BR><BR>I search this error, some got the same errors with me, when he make a program based on ROOT, <BR><BR><A href="http://root.cern.ch/phpBB2/viewtopic.php?t=7404&amp;view=next&amp;sid=da48524ef4f7180111d474d40b64e1f8">http://root.cern.ch/phpBB2/viewtopic.php?t=7404&amp;view=next&amp;sid=da48524ef4f7180111d474d40b64e1f8</A><BR><BR>Someone answer the question like this:<BR><BR><SPAN>You need to link against the libraries you use. Call `root-config --libs` instead of -lWhatever in your Makefile. <BR><BR>How can I solve it for gate, how to modify gate makefile? <BR>Thx.<BR></SPAN><BR>
<HR>
To: <A href="mailto:gjtian@hotmail.com">gjtian@hotmail.com</A>; <A href="mailto:gate.stute@gmail.com">gate.stute@gmail.com</A>
<DIV class=EC_Ih2E3d><BR>Subject: Re : [Gate-users] GATE and GEANT Install<BR></DIV>Date: Thu, 18 Dec 2008 07:58:50 -0500<BR>From: <A href="mailto:dounia84@aol.com">dounia84@aol.com</A>
<DIV class=EC_Ih2E3d><BR>CC: <A href="mailto:gate-users@lists.healthgrid.org">gate-users@lists.healthgrid.org</A><BR><BR></DIV>
<DIV>
<DIV></DIV>
<DIV class=EC_Wj3C7c>
<DIV><FONT face="Arial, Helvetica, sans-serif">Hello,<BR>i am having some pb with ecat7 output. Although gate tells me that ecat7 output is enabled i still get :<BR></FONT></DIV>Output module: 'sinogram'<BR>&nbsp;&gt;&gt; Job:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; build a set of 2D sinograms from a PET simulation<BR>&nbsp;&gt;&gt; Is enabled ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Yes<BR>&nbsp;&gt;&gt; Number of crystals per crystal ring: 0<BR>&nbsp;&gt;&gt; Number of crystal rings:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<BR>&nbsp;&gt;&gt; Number of radial sinogram bins:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<BR>&nbsp;&gt;&gt; Filled ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; No<BR>&nbsp;&gt;&gt; Attached to system:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; systems/ecat<BR>&nbsp;&gt;&gt; Input data:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; finalCoinc/gate/output/ecat7/enable<BR>***** COMMAND NOT FOUND &lt;/gate/output/ecat7/enable&gt; *****<BR><BR>***** Batch is interupted!! *****<BR><FONT face="Arial, Helvetica, sans-serif"><BR><BR>I don`t get why i have zero crystals...<BR></FONT>
<DIV><FONT face="Arial, Helvetica, sans-serif">If you had this problem already please tell me what you did to solve it. It has been a long long time that i&nbsp; am stuck with this!<BR>thank you in advance.<BR>Dounia Taleb.<BR></FONT></DIV><BR></DIV></DIV>
<DIV class=EC_Ih2E3d>
<HR>
使用新一代 Windows Live Messenger 轻松交流和共享! <A href="http://im.live.cn/">立刻下载!</A></DIV></DIV></BLOCKQUOTE></DIV><BR><br /><hr />更多热辣资讯尽在新版MSN首页! <a href='http://cn.msn.com/' target='_new'>立刻访问!</a></body>
</html>