<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
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*&)'<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<char**>(TBuffer&, char** const&, 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&)'<br>/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TStreamerInfo::ReadBufferClones(TBuffer&, 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>http://root.cern.ch/phpBB2/viewtopic.php?t=7404&view=next&sid=da48524ef4f7180111d474d40b64e1f8<br><br>Someone answer the question like this:<br><br><span class="postbody">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 id="stopSpelling">To: gjtian@hotmail.com; gate.stute@gmail.com<br>Subject: Re : [Gate-users] GATE and GEANT Install<br>Date: Thu, 18 Dec 2008 07:58:50 -0500<br>From: dounia84@aol.com<br>CC: gate-users@lists.healthgrid.org<br><br>
<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>
>> Job: build a set of 2D sinograms from a PET simulation<br>
>> Is enabled ? Yes<br>
>> Number of crystals per crystal ring: 0<br>
>> Number of crystal rings: 0<br>
>> Number of radial sinogram bins: 0<br>
>> Filled ? No<br>
>> Attached to system: systems/ecat<br>
>> Input data: finalCoinc/gate/output/ecat7/enable<br>
***** COMMAND NOT FOUND </gate/output/ecat7/enable> *****<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 am stuck with this!<br>
thank you in advance.<br>
Dounia Taleb.<br>
</font></div><br /><hr />使用新一代 Windows Live Messenger 轻松交流和共享! <a href='http://im.live.cn/' target='_new'>立刻下载!</a></body>
</html>