[Gate-users] GATE and GEANT Install

TienGarry gjtian at hotmail.com
Fri Dec 19 03:42:22 CET 2008


When I make GATE4.0 I get the link errors:

Linking Gate ...
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::ReadArray(double*&)'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::SetReadParam(int)'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TThread::TThread(char const*, void* (*)(void*), void*, TThread::EPriority)'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::WriteArray(float const*, int)'
/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `ROOT::Math::GaussIntegrator::GaussIntegrator()'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `typeinfo for TSQLResult'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `vtable for TSQLRow'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::GetLastProcessID(TRefTable*) const'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::GetTRefExecId()'
/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `TMath::ErfInverse(double)'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::WriteObjectClass(void const*, TClass const*)'
/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `TMath::Beta(double, double)'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::ReadVersion(unsigned int*, unsigned int*, TClass const*)'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::WriteArray(long const*, int)'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TThread::Run(void*)'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::WriteProcessID(TProcessID*)'
/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `ROOT::Math::BrentMinimizer1D::~BrentMinimizer1D()'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::WriteVersionMemberWise(TClass const*, bool)'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TKey::Hash() const'
/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `gRandom'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `typeinfo for TSQLRow'
/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `ROOT::Math::RootFinder::RootFinder(ROOT::Math::RootFinder::EType)'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `int TStreamerInfo::ReadBuffer<char**>(TBuffer&, char** const&, int, int, int, int)'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::ReadStaticArray(long*)'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TKey::Streamer(TBuffer&)'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TStreamerInfo::ReadBufferClones(TBuffer&, TClonesArray*, int, int, int)'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TMutex::TMutex(bool)'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::WriteObject(TObject const*)'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::WriteArray(int const*, int)'
/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `TMath::BesselK0(double)'
/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TMessage::Class()'
/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `TMath::StruveH0(double)'
collect2: ld returned 1 exit status
make: *** [bin/Linux-g++/Gate] Error 1

I search this error, some got the same errors with me, when he make a program based on ROOT, 

http://root.cern.ch/phpBB2/viewtopic.php?t=7404&view=next&sid=da48524ef4f7180111d474d40b64e1f8

Someone answer the question like this:

You need to link against the libraries you use. Call `root-config --libs` instead of -lWhatever in your Makefile.





How can I solve it for gate, how to modify gate makefile? 
Thx.

To: gjtian at hotmail.com; gate.stute at gmail.com
Subject: Re : [Gate-users] GATE and GEANT Install
Date: Thu, 18 Dec 2008 07:58:50 -0500
From: dounia84 at aol.com
CC: gate-users at lists.healthgrid.org


 Hello,

i am having some pb with ecat7 output. Although gate tells me that ecat7 output is enabled i still get :


Output module: 'sinogram'

 >> Job:                                 build a set of 2D sinograms from a PET simulation

 >> Is enabled ?                         Yes

 >> Number of crystals per crystal ring: 0

 >> Number of crystal rings:             0

 >> Number of radial sinogram bins:      0

 >> Filled ?                             No

 >> Attached to system:                  systems/ecat

 >> Input data:                          finalCoinc/gate/output/ecat7/enable

***** COMMAND NOT FOUND </gate/output/ecat7/enable> *****



***** Batch is interupted!! *****





I don`t get why i have zero crystals...


 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!

thank you in advance.

Dounia Taleb.


_________________________________________________________________
MSN安全保护中心,免费修复系统漏洞,保护MSN安全!
http://im.live.cn/safe/center/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20081219/922feffc/attachment.htm>


More information about the Gate-users mailing list