[Gate-users] Problem making gate 4

Thibault Frisson frisson at creatis.insa-lyon.fr
Mon Mar 15 16:08:13 CET 2010


Hi,

In the file variable.gmk try to replace:

EXTRALIBS += -L$(ROOTSYS)/lib \
-lCore -lCint \
-lHist -lGraf -lGraf3d -lGpad \
-lTree -lRint -lPostscript \
-lMatrix -lPhysics \
-lm -ldl -lpthread -rdynamic

by:

EXTRALIBS += -L$ROOTSYS/lib $(shell $(ROOTSYS)/bin/root-config --libs) -ldl

hope this helps.

Thibault



> Maybe you put more than you need?? :))
>
> On Mon, Mar 15, 2010 at 2:54 PM, Nicolas Ivanovich
> <nivanovich at gmail.com>wrote:
>
>> Thank for your answer.
>>
>> I have placed the needed libaries in the lib directory of root. However
>> now
>> I got the following linker errors:
>>
>> Linking Gate ...
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TClass::Streamer(void*, TBuffer&, TClass const*) const'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `ROOT::TSchemaRule::HasTarget(TString const&) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::FindObject(TObject const*) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraphErrors::~TGraphErrors()'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TClass::New(TClass::ENewType) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::DrawGraph(int, double const*, double const*, char const*)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::GetErrorXhigh(int) const'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TVirtualStreamerInfo::GetElementCounter(char const*, TClass*)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::ComputeRange(double&, double&, double&, double&) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::SetMinimum(double)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraphErrors::GetErrorYlow(int) const'
>> /opt/simu/root/lib/libGpad.so: undefined reference to
>> `TApplication::NeedGraphicsLibs()'
>> /opt/simu/root/lib/libRint.so: undefined reference to
>> `TApplication::LineProcessed(char const*)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TVirtualStreamerInfo::TVirtualStreamerInfo()'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::SavePrimitive(std::basic_ostream<char, std::char_traits<char>
>> >&,
>> char const*)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraphErrors::TGraphErrors(int, double const*, double const*, double
>> const*, double const*)'
>> /opt/simu/root/lib/libGpad.so: undefined reference to `TGraph::TGraph()'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TVersionCheck::TVersionCheck(int)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TClass::NewArray(long, void*, TClass::ENewType) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::SetMaximum(double)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to `TString::Clear()'
>> /opt/simu/root/lib/libGpad.so: undefined reference to
>> `TVirtualPadPainter::InitPainter()'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TDirectory::UnregisterContext(TDirectory::TContext*)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::Merge(TCollection*)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to `typeinfo for
>> TGraph'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraphErrors::ShowMembers(TMemberInspector&, char*)'
>> /opt/simu/root/lib/libGpad.so: undefined reference to `gPluginMgr'
>> /opt/simu/root/lib/libGpad.so: undefined reference to
>> `TGraph::GetHistogram() const'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TStreamerArtificial::GetReadRawFunc()'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::SwapPoints(int, int)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraphErrors::GetErrorYhigh(int) const'
>> /opt/simu/root/lib/libRint.so: undefined reference to
>> `TFunction::TFunction(void*)'
>> /opt/simu/root/lib/libRint.so: undefined reference to `Gl_setColors'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::~TGraph()'
>> /opt/simu/root/lib/libRIO.so: undefined reference to `TString::Hash(void
>> const*, int)'
>> /opt/simu/root/lib/libGpad.so: undefined reference to
>> `TClass::TClass(char
>> const*, short, std::type_info const&, TVirtualIsAProxy*, void (*)(void*,
>> TMemberInspector&, char*), char const*, char const*, int, int, bool)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TProcessID::GetPID()'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::GetMean(int)
>> const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::InitExpo(double, double)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TClass::NewArray(long, TClass::ENewType) const'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TClass::SetCurrentStreamerInfo(TVirtualStreamerInfo*)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::Print(char
>> const*) const'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `ROOT::TSchemaRule::GetReadRawFunctionPointer() const'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `ROOT::TSchemaRule::IsAliasRule() const'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TClass::GetConversionStreamerInfo(TClass const*, int) const'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TClass::Move(void*,
>> void*) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::Paint(char
>> const*)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TVirtualStreamerInfo::GetStreamMemberWise()'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraphErrors::SavePrimitive(std::basic_ostream<char,
>> std::char_traits<char>
>> >&, char const*)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraphErrors::SetPointError(int, double, double)'
>> /opt/simu/root/lib/libRint.so: undefined reference to
>> `TApplication::ProcessFile(char const*, int*, bool)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `ROOT::TSchemaRuleSet::HasRuleWithSourceClass(TString const&) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::RecursiveRemove(TObject*)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::DrawPanel()'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::LeastSquareFit(int, double*, double, double)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TClass::CallShowMembers(void*, TMemberInspector&, char*, int) const'
>> /opt/simu/root/lib/libRIO.so: undefined reference to `vtable for
>> TStreamerArtificial'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::InitGaus(double, double)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TDirectory::CleanTargets()'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TVirtualStreamerInfo::~TVirtualStreamerInfo()'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraphErrors::CopyPoints(double**, int, int, int)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TROOT::GetClass(char
>> const*, bool, bool) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraphErrors::TGraphErrors(TGraphErrors const&)'
>> /opt/simu/root/lib/libGpad.so: undefined reference to
>> `TGraph::TGraph(int)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::FindObject(char const*) const'
>> /opt/simu/root/lib/libRint.so: undefined reference to
>> `TApplication::ls(char const*) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::Expand(int,
>> int)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::CopyAndRelease(double**, int, int, int)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `ROOT::TSchemaRuleSet::FindRules(TString const&, int, unsigned int)
>> const'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `ROOT::TSchemaRuleSet::FindRules(TString const&, int) const'
>> /opt/simu/root/lib/libMathCore.so: undefined reference to
>> `ROOT::TGenericClassInfo::AdoptCollectionProxyInfo(ROOT::TCollectionProxyInfo*)'
>> /opt/simu/root/lib/libGpad.so: undefined reference to
>> `TVirtualPadPainter::ShowMembers(TMemberInspector&, char*)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::CtorAllocate()'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::GetErrorYlow(int) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::Integral(int, int) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::SetPoint(int, double, double)'
>> /opt/simu/root/lib/libGpad.so: undefined reference to
>> `TVirtualPadPainter::PadPainter(char const*)'
>> /opt/simu/root/lib/libRint.so: undefined reference to `gCint'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TVirtualStreamerInfo::ShowMembers(TMemberInspector&, char*)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `G__get_linked_tagnum_fwd'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::Eval(double,
>> TSpline*, char const*) const'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TStreamerArtificial::GetReadFunc()'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::RemovePoint()'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `ROOT::TSchemaMatch::GetRuleWithSource(TString const&) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraphErrors::SwapPoints(int, int)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraphErrors::FillZero(int, int, bool)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::GetErrorXlow(int) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::GetPoint(int, double&, double&) const'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TClass::GetSchemaRules(bool)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TVirtualStreamerInfo::TVirtualStreamerInfo(TClass*)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::Browse(TBrowser*)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::TGraph(TGraph const&)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TExMap::AddAt(unsigned int, unsigned long long, long long, long long)'
>> /opt/simu/root/lib/libGraf3d.so: undefined reference to
>> `TRefArray::TRefArray(TProcessID*)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TProcessID::GetProcessWithUID(unsigned int, void const*)'
>> /opt/simu/root/lib/libGpad.so: undefined reference to
>> `TClass::BuildRealData(void*, bool)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to `TGraph::Draw(char
>> const*)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TExMap::GetValue(unsigned long long, long long)'
>> /opt/simu/root/lib/libGpad.so: undefined reference to
>> `TVirtualPadPainter::~TVirtualPadPainter()'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraphErrors::TGraphErrors()'
>> /opt/simu/root/lib/libRint.so: undefined reference to
>> `TROOT::GetSvnDate()'
>> /opt/simu/root/lib/libGraf.so: undefined reference to `TGraph::Fit(TF1*,
>> char const*, char const*, double, double)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::FillZero(int, int, bool)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::Expand(int)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraphErrors::SetPointError(double, double)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraphErrors::Print(char const*) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::RemovePoint(int)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TClass::TClass(char
>> const*, short, char const*, char const*, int, int, bool)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TDirectory::Remove(TObject*)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `ROOT::TSchemaRule::GetTarget() const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraphErrors::GetErrorXlow(int) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::CopyPoints(double**, int, int, int)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::DrawGraph(int, float const*, float const*, char const*)'
>> /opt/simu/root/lib/libRint.so: undefined reference to
>> `TApplication::HandleException(int)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to `TClass::New(void*,
>> TClass::ENewType) const'
>> /opt/simu/root/lib/libRint.so: undefined reference to
>> `TGlobal::TGlobal(void*)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TExMap::GetValue(unsigned long long, long long, unsigned int&)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::GetCorrelationFactor() const'
>> /opt/simu/root/lib/libGpad.so: undefined reference to
>> `TVirtualPadPainter::InvalidateCS()'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::PaintStats(TF1*)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to `TGraph::Set(int)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::LeastSquareLinearFit(int, double&, double&, int&, double,
>> double)'
>> /opt/simu/root/lib/libGpad.so: undefined reference to
>> `TMultiGraph::GetHistogram() const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::GetErrorX(int) const'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `ROOT::TSchemaMatch::HasRuleWithSource(TString const&) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::ShowMembers(TMemberInspector&, char*)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TColor::GetColorDark(int)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraphErrors::ComputeRange(double&, double&, double&, double&) const'
>> /opt/simu/root/lib/libGpad.so: undefined reference to
>> `TAttPad::SetMargin(float, float, float, float)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::TGraph(int,
>> double const*, double const*)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to `TGraph::Fit(char
>> const*, char const*, char const*, double, double)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraphErrors::operator=(TGraphErrors const&)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraphErrors::CopyAndRelease(double**, int, int, int)'
>> /opt/simu/root/lib/libRint.so: undefined reference to
>> `TClass::TClass(char
>> const*, bool)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::GetErrorYhigh(int) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::Chisquare(TF1 const*) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraphErrors::GetErrorXhigh(int) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TClass::GetClass(char const*, bool, bool)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TBuffer::TBuffer(TBuffer::EMode, int, void*, bool, char* (*)(char*,
>> unsigned int, unsigned int))'
>> /opt/simu/root/lib/libGpad.so: undefined reference to
>> `TVirtualPadPainter::LockPainter()'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TDirectory::Append(TObject*, bool)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::AllocateArrays(int, int)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to `TGraph::Sort(bool
>> (*)(TGraph const*, int, int), bool, int, int)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraphErrors::GetErrorX(int) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraphErrors::GetErrorY(int) const'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `ROOT::TSchemaRule::GetReadFunctionPointer() const'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TClass::GetDirectoryAutoAdd() const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to `typeinfo for
>> TGraphErrors'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `ROOT::TSchemaMatch::HasRuleWithTarget(TString const&) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::DistancetoPrimitive(int, int)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TExMap::Add(unsigned
>> long long, long long, long long)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::SetTitle(char const*)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `ROOT::TSchemaRule::IsRenameRule() const'
>> /opt/simu/root/lib/libGpad.so: undefined reference to
>> `TVirtualPadPainter::Streamer(TBuffer&)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraphErrors::Apply(TF1*)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to `typeinfo for
>> TVirtualStreamerInfo'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::TGraph(int)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::UseCurrentStyle()'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::FitPanel()'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::TGraph(int,
>> float const*, float const*)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TProcessID::GetPIDs()'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TClass::GetStreamerInfo(int) const'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TClass::GetSchemaRules() const'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TVirtualStreamerInfo::Optimize(bool)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::ExecuteEvent(int, int, int)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TStreamerArtificial::Class()'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::GetErrorY(int) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to `G__set_tagnum'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TClass::GetClass(std::type_info const&, bool, bool)'
>> /opt/simu/root/lib/libGpad.so: undefined reference to
>> `TGraph::PaintGraph(int, double const*, double const*, char const*)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::Apply(TF1*)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TVirtualStreamerInfo::CanOptimize()'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::InitPolynom(double, double)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TDirectory::RegisterContext(TDirectory::TContext*)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TColor::GetColorBright(int)'
>> /opt/simu/root/lib/libGpad.so: undefined reference to `typeinfo for
>> TVirtualPadPainter'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::operator=(TGraph const&)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::SetEditable(bool)'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TExMap::Remove(unsigned long long, long long)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::DrawGraph(int, int const*, int const*, char const*)'
>> /opt/simu/root/lib/libRint.so: undefined reference to
>> `TApplication::ProcessRemote(char const*, int*)'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TROOT::MakeDefCanvas() const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::InsertPoint()'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::GetCovariance() const'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TProcessID::CheckInit()'
>> /opt/simu/root/lib/libPostscript.so: undefined reference to
>> `TStyle::GetPaperSize(float&, float&) const'
>> /opt/simu/root/lib/libGraf.so: undefined reference to `TGraph::TGraph()'
>> /opt/simu/root/lib/libRIO.so: undefined reference to
>> `TVirtualStreamerInfo::CanDelete()'
>> /opt/simu/root/lib/libGraf.so: undefined reference to
>> `TGraph::GetRMS(int)
>> const'
>>
>> 2010/3/14 sebnem erturk <sebnem.erturk at gmail.com>
>>
>> Hi Nicolas,
>>>
>>> By using this command $ROOT/bin/root-config --libs, you can check which
>>> ROOT libraries you need.
>>>
>>> Then,  you just need to variables.gmk   (under gate directory) file
>>>
>>> EXTRALIBS += -L$(ROOTSYS)/lib/root \
>>> -lCore -lCint \
>>> -lHist -lGraf -lGraf3d -lGpad \
>>> -lTree -lRint -lPostscript \
>>> -lMatrix -lPhysics \
>>> -lm -ldl -lpthread -rdynamic\
>>>  -lRIO -lNet -lThread -lMathCore
>>>
>>> hope this helps!!!
>>>
>>> Sebnem
>>>
>>> On Sun, Mar 14, 2010 at 9:51 PM, Nicolas Ivanovich
>>> <nivanovich at gmail.com>wrote:
>>>
>>>> Hi Gate users.
>>>>
>>>> Some time ago I installed Gate 5 over a virtual machine with Ubuntu.
>>>> Now
>>>> I
>>>> need install it over a Linux system that runs alone, out of a virtual
>>>> machine. I am trying to install Gate 4. I have installed the following
>>>> software:
>>>>
>>>> geant4: version 9.1
>>>> root: I don't know which version it is
>>>> clhep: version 2.0.3.2
>>>> gate: version 4.0
>>>> All this software i could compile it without problems. When I tried to
>>>> make
>>>> gate I got the following message:
>>>>
>>>> source/management finished
>>>> Creating/replacing object files in ./tmp/Linux-g++/Gate/libGate.a ...
>>>> ar: creating ./tmp/Linux-g++/Gate/libGate.a
>>>> Compiling Gate.cc ...
>>>> Using granular libraries ...
>>>> Linking Gate ...
>>>> /usr/bin/ld: cannot find -lGraf
>>>> collect2: ld returned 1 exit status
>>>> make: *** [bin/Linux-g++/Gate] Error 1
>>>>
>>>> Thank you very much once again.
>>>> _______________________________________________
>>>> Gate-users mailing list
>>>> Gate-users at lists.opengatecollaboration.org
>>>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>>>
>>>
>>>
>>>
>>> --
>>> Sebnem Erturk
>>> University of Pisa
>>> Applied Physics Dpt.
>>> Largo Pontecorvo
>>> 56127 Pisa-Italy
>>> Office :0039 050 2214346
>>> Mobile :0039 345 3331440
>>> http://www.df.unipi.it/~fiig/ <http://www.df.unipi.it/%7Efiig/>
>>>
>>
>>
>
>
> --
> Sebnem Erturk
> University of Pisa
> Applied Physics Dpt.
> Largo Pontecorvo
> 56127 Pisa-Italy
> Office :0039 050 2214346
> Mobile :0039 345 3331440
> http://www.df.unipi.it/~fiig/
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>


-- 
Thibault Frisson, Phd
Post-doctorant

Centre de lutte contre le cancer Léon Bérard
Service de radiothérapie
28 rue Laënnec
69373 Lyon cedex 08
Tel : 04 78 78 51 51
      06 70 37 05 21

Laboratoire CREATIS (UMR CNRS 5220)
INSA - Bâtiment Blaise Pascal
7, avenue Jean Capelle
69621 Villeurbanne cedex

http://www.creatis.insa-lyon.fr/rio


More information about the Gate-users mailing list