[Gate-users] the problem of gate installation

Edoardo Pasca e.pasca at nki.nl
Mon Mar 30 09:03:18 CEST 2009


It looks to me that you didn't properly define where to find the ROOT
includes.

Edoardo




icecreamdbb wrote:
> 
> Hi, all Gate users !
> Now ,I have installed Root _5.23.02 , clhep-2.0.3.2 and Geant4.9.1.p03 
> successfully. But when I install the Gate_v4.00 ,some problems appeared .
>     When I export the command 'make' ,after a few minutes , it appears 
> some errors like,
> Compiling Gate.cc ...
> Using granular libraries ...
> Linking Gate ...
> ./tmp/Linux-g++/Gate/libGate.a(GateHitFileReader.o): In function 
> `GateHitFileReader::PrepareAcquisition()':
> GateHitFileReader.cc:(.text+0xe5a): undefined reference to 
> `TFile::TFile(char const*, char const*, char const*, int)'
> ./tmp/Linux-g++/Gate/libGate.a(GateToRoot.o): In function 
> `GateToRoot::RecordBeginOfAcquisition()':
> GateToRoot.cc:(.text+0x1e64): undefined reference to `TFile::TFile(char 
> const*, char const*, char const*, int)'
> GateToRoot.cc:(.text+0x20df): undefined reference to `TFile::TFile(char 
> const*, char const*, char const*, int)'
> ./tmp/Linux-g++/Gate/libGate.a(GateToRoot.o): In function 
> `GateToRoot::RecordVoxels(GateVGeometryVoxelStore*)':
> GateToRoot.cc:(.text+0x38f3): undefined reference to `TFile::TFile(char 
> const*, char const*, char const*, int)'
> /home/daibinbin/root-df/root/lib/libTree.so: undefined reference to 
> `TBufferFile::ReadArray(double*&)'
> /home/daibinbin/root-df/root/lib/libTree.so: undefined reference to 
> `TBufferFile::SetReadParam(int)'
> /home/daibinbin/root-df/root/lib/libTree.so: undefined reference to 
> `TThread::TThread(char const*, void* (*)(void*), void*, TThread::EPriority)'
> /home/daibinbin/root-df/root/lib/libTree.so: undefined reference to 
> `TBufferFile::WriteArray(float const*, int)'
> /home/daibinbin/root-df/root/lib/libHist.so: undefined reference to 
> `ROOT::Math::GaussIntegrator::GaussIntegrator()'
> /home/daibinbin/root-df/root/lib/libTree.so: undefined reference to 
> `typeinfo for TSQLResult'
> /home/daibinbin/root-df/root/lib/libHist.so: undefined reference to 
> `ROOT::Fit::FitUtil::EvaluateLogLGradient(ROOT::Math::IParametricFunctionMultiDim 
> const&, ROOT::Fit::UnBinData const&, double const*, double*, unsigned int&)'
> /home/daibinbin/root-df/root/lib/libTree.so: undefined reference to 
> `vtable for TSQLRow'
> /home/daibinbin/root-df/root/lib/libTree.so: undefined reference to 
> `TBufferFile::GetLastProcessID(TRefTable*) const'
> /home/daibinbin/root-df/root/lib/libTree.so: undefined reference to 
> `TBufferFile::GetTRefExecId()'
> /home/daibinbin/root-df/root/lib/libHist.so: undefined reference to 
> `TMath::ErfInverse(double)'
> /home/daibinbin/root-df/root/lib/libTree.so: undefined reference to 
> `TBufferFile::WriteObjectClass(void const*, TClass const*)'
> /home/daibinbin/root-df/root/lib/libHist.so: undefined reference to 
> `TMath::Beta(double, double)'
> /home/daibinbin/root-df/root/lib/libTree.so: undefined reference to 
> `TBufferFile::ReadVersion(unsigned int*, unsigned int*, TClass const*)'
> /home/daibinbin/root-df/root/lib/libTree.so: undefined reference to 
> `TBufferFile::PushDataCache(TVirtualArray*)'
> /home/daibinbin/root-df/root/lib/libTree.so: undefined reference to 
> `TBufferFile::WriteArray(long const*, int)'
> /home/daibinbin/root-df/root/lib/libTree.so: undefined reference to 
> `TThread::Run(void*)'
> /home/daibinbin/root-df/root/lib/libHist.so: undefined reference to 
> `ROOT::Fit::DataRange::DataRange(double, double)'
> /home/daibinbin/root-df/root/lib/libHist.so: undefined reference to 
> `ROOT::Fit::FitConfig::CreateMinimizer()'
> /home/daibinbin/root-df/root/lib/libTree.so: undefined reference to 
> `TBufferFile::WriteProcessID(TProcessID*)'
> /home/daibinbin/root-df/root/lib/libHist.so: undefined reference to 
> `ROOT::Math::MinimizerOptions::DefaultErrorDef()'
> /home/daibinbin/root-df/root/lib/libHist.so: undefined reference to 
> `ROOT::Math::BrentMinimizer1D::~BrentMinimizer1D()'
> /home/daibinbin/root-df/root/lib/libTree.so: undefined reference to 
> `TBufferFile::WriteVersionMemberWise(TClass const*, bool)'
> /home/daibinbin/root-df/root/lib/libHist.so: undefined reference to 
> `ROOT::Fit::BinData::Add(double const*, double, double const*, double)'
> /home/daibinbin/root-df/root/lib/libTree.so: undefined reference to 
> `TKey::Hash() const'
> /home/daibinbin/root-df/root/lib/libHist.so: undefined reference to 
> `gRandom'
> 
>  To see the details ,please open the attachment .
> wait for your answers . Thank you very much!
> 
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 网易邮箱,中国第一大电子邮件服务商 <http://email.163.com>
> 

-- 
Edoardo Pasca, Ph.D
Nederlands Kanker Instituut -- Antoni van Leeuwenhoek Ziekenhuis
Radiotherapy Department
Plesmanlaan 121
1066 CX Amsterdam
tel: 0031 (0)20 512 1759



More information about the Gate-users mailing list