[Gate-users] Gate link problem

Isabel Catarina Duarte catarinaduarte86 at hotmail.com
Wed Aug 12 10:44:20 CEST 2009


Hi Lijunlu,
  
Please, try this:

In "variables.gmk", make the following changes.

ifdef G4ANALYSIS_USE_ROOT
CPPFLAGS += -DG4ANALYSIS_USE_ROOT -D_REENTRANT -I$(ROOTSYS)/include
ifdef G4ANALYSIS_USE_ROOT_PLOTTER
CPPFLAGS += -DG4ANALYSIS_USE_ROOT_PLOTTER
endif
EXTRALIBS +=  `root-config --libs`
endif




It works with me..
 
Catarina Duarte


 
 


 



Date: Wed, 12 Aug 2009 09:15:37 +0800
From: ljlubme at 163.com
To: gate-users at lists.healthgrid.org
Subject: [Gate-users] Gate link problem


Dear all users,

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 use the root5.22 and gate4.0,How can I solve it for gate? I have tried some method the helper offered,but it fails
thanks
lijunlu
Southern Medical University ,China
ljlubme at 163.com 
 
 



没有广告的终身免费邮箱,www.yeah.net 
_________________________________________________________________
O Windows Live ajuda-o a manter-se em contacto com todos os seus amigos, num só local.
http://www.microsoft.com/portugal/windows/windowslive/products/social-network-connector.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20090812/c9d67141/attachment.htm>


More information about the Gate-users mailing list