root [0] .x tree2a.C++ Info in : creating shared library /home/birt/ROOT/tutorials/./tree2a_C.so dlopen error: /home/birt/ROOT/tutorials/./tree2a_C.so: undefined symbol: DoError__C7TObjectiPCcT2Pv Load Error: Failed to load Dynamic link library /home/birt/ROOT/tutorials/./tree2a_C.so /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function `_start': /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18): undefined reference to `main' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `tree2aw(void)': /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x1fa): undefined reference to `TFile::TFile(char const *, char const *, char const *, int)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x219): undefined reference to `TTree::TTree(char const *, char const *, int)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x280): undefined reference to `TObject::operator delete(void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x2ae): undefined reference to `TTree::Branch(char const *, char const *, void *, int, int)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x58f): undefined reference to `TTree::Fill(void)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x87e): undefined reference to `TObject::Write(char const *, int, int)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x892): undefined reference to `TTree::~TTree(void)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x8a6): undefined reference to `TFile::~TFile(void)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x8d3): undefined reference to `TObject::operator delete(void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x902): undefined reference to `TTree::~TTree(void)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x931): undefined reference to `TFile::~TFile(void)' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `tree2ar(void)': /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x9b2): undefined reference to `TFile::TFile(char const *, char const *, char const *, int)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x9d0): undefined reference to `TObject::operator delete(void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0xa8d): undefined reference to `TH1F::TH1F(char const *, char const *, int, double, double)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0xaab): undefined reference to `TObject::operator delete(void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0xb7c): undefined reference to `TCanvas::TCanvas(char const *, char const *, int, int)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0xb9a): undefined reference to `TObject::operator delete(void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0xc75): undefined reference to `TVirtualPad::Pad(void)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0xd09): undefined reference to `TObject::operator delete(void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0xd39): undefined reference to `TObject::operator delete(void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0xd69): undefined reference to `TObject::operator delete(void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0xd9b): undefined reference to `TVirtualPad::Pad(void)' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `ROOT::GenerateInitInstance(Gctrak const *)': /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0xe2c): undefined reference to `ROOT::DefineBehavior(void *, void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0xe6b): undefined reference to `ROOT::TGenericClassInfo::TGenericClassInfo(char const *, int, char const *, int, type_info const &, ROOT::TInitBehavior const *, void (*)(void), TClass *(*)(void const *), int)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0xea2): undefined reference to `ROOT::TGenericClassInfo::SetNew(void *(*)(void *))' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0xebb): undefined reference to `ROOT::TGenericClassInfo::SetNewArray(void *(*)(long))' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0xed4): undefined reference to `ROOT::TGenericClassInfo::SetDelete(void (*)(void *))' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0xeed): undefined reference to `ROOT::TGenericClassInfo::SetDeleteArray(void (*)(void *))' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0xf06): undefined reference to `ROOT::TGenericClassInfo::SetDestructor(void (*)(void *))' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `Gctrak::ImplFileName(void)': /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0xf58): undefined reference to `ROOT::TGenericClassInfo::GetImplFileName(void)' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `Gctrak::ImplFileLine(void)': /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0xf8c): undefined reference to `ROOT::TGenericClassInfo::GetImplFileLine(void)' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `Gctrak::Dictionary(void)': /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0xfc0): undefined reference to `ROOT::TGenericClassInfo::GetClass(void)' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `Gctrak::Class(void)': /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x1007): undefined reference to `ROOT::TGenericClassInfo::GetClass(void)' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `Gctrak::Streamer(TBuffer &)': /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x1067): undefined reference to `TClass::ReadBuffer(TBuffer &, void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x108c): undefined reference to `TClass::WriteBuffer(TBuffer &, void *, char const *)' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `Gctrak::ShowMembers(TMemberInspector &, char *)': /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x1410): undefined reference to `TObject::ShowMembers(TMemberInspector &, char *)' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `ROOT::new_Gctrak(void *)': /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x14f7): undefined reference to `TObject::operator delete(void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x1514): undefined reference to `TObject::operator delete(void *, void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x1543): undefined reference to `TObject::operator delete(void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x157b): undefined reference to `TObject::operator delete(void *, void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `ROOT::newArray_Gctrak(long)': /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x168e): undefined reference to `TObject::operator delete [](void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x172c): undefined reference to `TObject::operator delete [](void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `ROOT::deleteArray_Gctrak(void *)': /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x1813): undefined reference to `TObject::operator delete [](void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `G__filegMKs5h_247_0_0(G__value *, char const *, G__param *, int)': /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x1a08): undefined reference to `TObject::operator delete [](void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x1a58): undefined reference to `TObject::operator delete(void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x1b2c): undefined reference to `TObject::operator delete [](void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x1b5d): undefined reference to `TObject::operator delete(void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `G__filegMKs5h_247_3_1(G__value *, char const *, G__param *, int)': /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x1f6a): undefined reference to `TObject::operator delete(void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x1fc9): undefined reference to `TObject::operator delete(void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `G__filegMKs5h_247_4_1(G__value *, char const *, G__param *, int)': /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x207f): undefined reference to `TObject::operator delete [](void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `__tcf_0': /home/birt/ROOT/tutorials/./filegMKs5h.o(.text+0x30e8): undefined reference to `ROOT::TGenericClassInfo::~TGenericClassInfo(void)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x8): undefined reference to `TObject::DoError(int, char const *, char const *, void *) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x10): undefined reference to `TObject::AppendPad(char const *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x14): undefined reference to `TObject::Browse(TBrowser *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x18): undefined reference to `TObject::ClassName(void) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x1c): undefined reference to `TObject::Clear(char const *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x20): undefined reference to `TObject::Clone(char const *) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x24): undefined reference to `TObject::Compare(TObject const *) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x28): undefined reference to `TObject::Copy(TObject &) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x2c): undefined reference to `TObject::Delete(char const *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x30): undefined reference to `TObject::DistancetoPrimitive(int, int)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x34): undefined reference to `TObject::Draw(char const *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x38): undefined reference to `TObject::DrawClass(void) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x3c): undefined reference to `TObject::DrawClone(char const *) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x40): undefined reference to `TObject::Dump(void) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x44): undefined reference to `TObject::Execute(char const *, char const *, int *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x48): undefined reference to `TObject::Execute(TMethod *, TObjArray *, int *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x4c): undefined reference to `TObject::ExecuteEvent(int, int, int)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x50): undefined reference to `TObject::FindObject(char const *) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x54): undefined reference to `TObject::FindObject(TObject const *) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x58): undefined reference to `TObject::GetDrawOption(void) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x5c): undefined reference to `TObject::GetUniqueID(void) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x60): undefined reference to `TObject::GetName(void) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x64): undefined reference to `TObject::GetIconName(void) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x68): undefined reference to `TObject::GetOption(void) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x6c): undefined reference to `TObject::GetObjectInfo(int, int) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x70): undefined reference to `TObject::GetTitle(void) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x74): undefined reference to `TObject::HandleTimer(TTimer *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x78): undefined reference to `TObject::Hash(void) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x7c): undefined reference to `TObject::InheritsFrom(char const *) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x80): undefined reference to `TObject::InheritsFrom(TClass const *) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x84): undefined reference to `TObject::Inspect(void) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x88): undefined reference to `TObject::IsFolder(void) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x8c): undefined reference to `TObject::IsEqual(TObject const *) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x90): undefined reference to `TObject::IsSortable(void) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x94): undefined reference to `TObject::Notify(void)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x98): undefined reference to `TObject::ls(char const *) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0x9c): undefined reference to `TObject::Paint(char const *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0xa0): undefined reference to `TObject::Pop(void)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0xa4): undefined reference to `TObject::Print(char const *) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0xa8): undefined reference to `TObject::Read(char const *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0xac): undefined reference to `TObject::RecursiveRemove(TObject *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0xb0): undefined reference to `TObject::SavePrimitive(ofstream &, char const *)'/home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0xb4): undefined reference to `TObject::SetDrawOption(char const *)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0xb8): undefined reference to `TObject::SetUniqueID(unsigned int)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0xbc): undefined reference to `TObject::UseCurrentStyle(void)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0xc0): undefined reference to `TObject::Write(char const *, int, int)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0xc4): undefined reference to `TObject::Info(char const *, char const *,...) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0xc8): undefined reference to `TObject::Warning(char const *, char const *,...) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0xcc): undefined reference to `TObject::Error(char const *, char const *,...) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0xd0): undefined reference to `TObject::SysError(char const *, char const *,...) const' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.d.__vt_6Gctrak+0xd4): undefined reference to `TObject::Fatal(char const *, char const *,...) const' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `TObject::operator new(unsigned int)': /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.t.__nw__7TObjectUi+0x1b): undefined reference to `TStorage::ObjectAlloc(unsigned int)' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `TObject::operator new [](unsigned int)': /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.t.__vn__7TObjectUi+0x1b): undefined reference to `TStorage::ObjectAlloc(unsigned int)' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `TObject::operator new(unsigned int, void *)': /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.t.__nw__7TObjectUiPv+0x1f): undefined reference to `TStorage::ObjectAlloc(unsigned int, void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `Gctrak::~Gctrak(void)': /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.t._._6Gctrak+0x29): undefined reference to `TObject::~TObject(void)' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.t._._6Gctrak+0x40): undefined reference to `TObject::operator delete(void *)' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `Gctrak::Gctrak(Gctrak const &)': /home/birt/ROOT/tutorials/./filegMKs5h.o(.Gctrak::gnu.linkonce.t.(Gctrak const &)+0x1d): undefined reference to `TObject::TObject(TObject const &)' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `Gctrak type_info function': /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.t.__tf6Gctrak+0x1f): undefined reference to `TObject type_info function' /home/birt/ROOT/tutorials/./filegMKs5h.o(.gnu.linkonce.t.__tf6Gctrak+0x28): undefined reference to `TObject type_info node' /home/birt/ROOT/tutorials/./filegMKs5h.o: In function `Gctrak::Gctrak(void)': /home/birt/ROOT/tutorials/./filegMKs5h.o(.Gctrak::gnu.linkonce.t.(void)+0x19): undefined reference to `TObject::TObject(void)' collect2: ld returned 1 exit status *** Interpreter error recovered *** root [1]