<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
&nbsp;
<P>Hi,
<P>&nbsp;
<P>I had the same problem and did this:<BR>
<BR>In "variables.gmk", make the following changes.<BR><BR>ifdef G4ANALYSIS_USE_ROOT<BR>CPPFLAGS += -DG4ANALYSIS_USE_ROOT -D_REENTRANT -I$(ROOTSYS)/include<BR>ifdef G4ANALYSIS_USE_ROOT_PLOTTER<BR>CPPFLAGS += -DG4ANALYSIS_USE_ROOT_PLOTTER<BR>endif<BR>EXTRALIBS += &nbsp;`root-config --libs`<BR>endif<BR><BR><BR>
<P align=left><EM><FONT face="Lucida Handwriting, Cursive" size=4></FONT></EM></P>
<P align=left>It&nbsp;works with me..</P>
<P align=left>Catarina Duarte<BR><BR><BR>&nbsp;</P>
<BR>
<HR id=stopSpelling>
Date: Mon, 30 Mar 2009 11:11:13 +0800<BR>From: icecreamdbb@126.com<BR>To: gate-users@lists.healthgrid.org<BR>Subject: [Gate-users] the problem of gate installation<BR><BR>
<DIV><BR>Hi, all Gate users !<BR>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 .<BR>&nbsp;&nbsp;&nbsp; When I export the command 'make' ,after a few minutes , it appears some errors like,<BR>Compiling Gate.cc ...<BR>Using granular libraries ...<BR>Linking Gate ...<BR>./tmp/Linux-g++/Gate/libGate.a(GateHitFileReader.o): In function `GateHitFileReader::PrepareAcquisition()':<BR>GateHitFileReader.cc:(.text+0xe5a): undefined reference to `TFile::TFile(char const*, char const*, char const*, int)'<BR>./tmp/Linux-g++/Gate/libGate.a(GateToRoot.o): In function `GateToRoot::RecordBeginOfAcquisition()':<BR>GateToRoot.cc:(.text+0x1e64): undefined reference to `TFile::TFile(char const*, char const*, char const*, int)'<BR>GateToRoot.cc:(.text+0x20df): undefined reference to `TFile::TFile(char const*, char const*, char const*, int)'<BR>./tmp/Linux-g++/Gate/libGate.a(GateToRoot.o): In function `GateToRoot::RecordVoxels(GateVGeometryVoxelStore*)':<BR>GateToRoot.cc:(.text+0x38f3): undefined reference to `TFile::TFile(char const*, char const*, char const*, int)'<BR>/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TBufferFile::ReadArray(double*&amp;)'<BR>/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TBufferFile::SetReadParam(int)'<BR>/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TThread::TThread(char const*, void* (*)(void*), void*, TThread::EPriority)'<BR>/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TBufferFile::WriteArray(float const*, int)'<BR>/home/daibinbin/root-df/root/lib/libHist.so: undefined reference to `ROOT::Math::GaussIntegrator::GaussIntegrator()'<BR>/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `typeinfo for TSQLResult'<BR>/home/daibinbin/root-df/root/lib/libHist.so: undefined reference to `ROOT::Fit::FitUtil::EvaluateLogLGradient(ROOT::Math::IParametricFunctionMultiDim const&amp;, ROOT::Fit::UnBinData const&amp;, double const*, double*, unsigned int&amp;)'<BR>/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `vtable for TSQLRow'<BR>/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TBufferFile::GetLastProcessID(TRefTable*) const'<BR>/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TBufferFile::GetTRefExecId()'<BR>/home/daibinbin/root-df/root/lib/libHist.so: undefined reference to `TMath::ErfInverse(double)'<BR>/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TBufferFile::WriteObjectClass(void const*, TClass const*)'<BR>/home/daibinbin/root-df/root/lib/libHist.so: undefined reference to `TMath::Beta(double, double)'<BR>/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TBufferFile::ReadVersion(unsigned int*, unsigned int*, TClass const*)'<BR>/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TBufferFile::PushDataCache(TVirtualArray*)'<BR>/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TBufferFile::WriteArray(long const*, int)'<BR>/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TThread::Run(void*)'<BR>/home/daibinbin/root-df/root/lib/libHist.so: undefined reference to `ROOT::Fit::DataRange::DataRange(double, double)'<BR>/home/daibinbin/root-df/root/lib/libHist.so: undefined reference to `ROOT::Fit::FitConfig::CreateMinimizer()'<BR>/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TBufferFile::WriteProcessID(TProcessID*)'<BR>/home/daibinbin/root-df/root/lib/libHist.so: undefined reference to `ROOT::Math::MinimizerOptions::DefaultErrorDef()'<BR>/home/daibinbin/root-df/root/lib/libHist.so: undefined reference to `ROOT::Math::BrentMinimizer1D::~BrentMinimizer1D()'<BR>/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TBufferFile::WriteVersionMemberWise(TClass const*, bool)'<BR>/home/daibinbin/root-df/root/lib/libHist.so: undefined reference to `ROOT::Fit::BinData::Add(double const*, double, double const*, double)'<BR>/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TKey::Hash() const'<BR>/home/daibinbin/root-df/root/lib/libHist.so: undefined reference to `gRandom' </DIV>
<DIV><BR>&nbsp;To see the details ,please open the attachment .</DIV>
<DIV>wait for your answers . Thank you very much!</DIV>
<DIV><BR><BR>&nbsp;</DIV><BR><BR><SPAN title=neteasefooter>
<HR>
<A href="http://email.163.com/">网易邮箱,中国第一大电子邮件服务商</A> </SPAN><br /><hr />Descubra todas as formas novas de se manter em contacto. <a href='http://www.microsoft.com/windows/windowslive/default.aspx' target='_new'>Com amigos e familiares.</a></body>
</html>