Open cwsalgado opened 8 years ago
ifarm1101> root -l root_startscript.cc root [0] Processing root_startscript.cc... RooFit v3.60 -- Developed by Wouter Verkerke and David Kirkby Copyright (C) 2000-2013 NIKHEF, University of California & Stanford University All rights reserved, please read http://roofit.sourceforge.net/license.txt Info in <TUnixSystem::ACLiC>: creating shared library /lustre/expphy/work/hallb/clasg12/salgado/WiBaS/examples/aclic/./../../src/WibFitFunction_cc.so Info in <TUnixSystem::ACLiC>: creating shared library /lustre/expphy/work/hallb/clasg12/salgado/WiBaS/examples/aclic/./../../src/WibVoigtFitFunction_cc.so Info in <TUnixSystem::ACLiC>: creating shared library /lustre/expphy/work/hallb/clasg12/salgado/WiBaS/examples/aclic/./../../src/WibasCore_cc.so dlopen error: /lustre/expphy/work/hallb/clasg12/salgado/WiBaS/examples/aclic/./../../src/WibasCore_cc.so: undefined symbol: _ZTI20PhasespacePointCloud Load Error: Failed to load Dynamic link library /lustre/expphy/work/hallb/clasg12/salgado/WiBaS/examples/aclic/./../../src/WibasCore_cc.so /usr/lib/../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' /lustre/expphy/work/hallb/clasg12/salgado/WiBaS/examples/aclic/./../../src/WibasCore_cc_ACLiC_dict.o: In function `WiBaS::WiBaS(WibFitFunction&)': WibasCore_cc_ACLiC_dict.cxx:(.text+0x1e): undefined reference to `PhasespacePointCloud::PhasespacePointCloud(int)' WibasCore_cc_ACLiC_dict.cxx:(.text+0x7c): undefined reference to `PhasespacePointCloud::~PhasespacePointCloud()' /lustre/expphy/work/hallb/clasg12/salgado/WiBaS/examples/aclic/./../../src/WibasCore_cc_ACLiC_dict.o: In function `WiBaS::AddPhasespacePoint(PhasespacePoint&)': WibasCore_cc_ACLiC_dict.cxx:(.text+0x193): undefined reference to `PhasespacePointCloud::AddPhasespacePoint(PhasespacePoint&, int)' /lustre/expphy/work/hallb/clasg12/salgado/WiBaS/examples/aclic/./../../src/WibasCore_cc_ACLiC_dict.o: In function `WiBaS::CalcWeight(PhasespacePoint&)': WibasCore_cc_ACLiC_dict.cxx:(.text+0x1d1): undefined reference to `PhasespacePointCloud::ArrangePointCoordinates(PhasespacePoint&)' WibasCore_cc_ACLiC_dict.cxx:(.text+0x2e5): undefined reference to `PhasespacePointCloud::GetPointVector(int)' WibasCore_cc_ACLiC_dict.cxx:(.text+0x340): undefined reference to `PhasespacePointCloud::CalcPhasespaceDistance(PhasespacePoint*, PhasespacePoint*)' WibasCore_cc_ACLiC_dict.cxx:(.text+0x380): undefined reference to `FastPointMap::FastPointMap(PhasespacePoint*, float)' WibasCore_cc_ACLiC_dict.cxx:(.text+0x3f6): undefined reference to `FastPointMap::FastPointMap(PhasespacePoint*, float)' WibasCore_cc_ACLiC_dict.cxx:(.text+0x547): undefined reference to `FastPointMap::FastPointMap()' /lustre/expphy/work/hallb/clasg12/salgado/WiBaS/examples/aclic/./../../src/WibasCore_cc_ACLiC_dict.o: In function `void std::__insertion_sort<__gnu_cxx::__normal_iterator<FastPointMap*, std::vector<FastPointMap, std::allocator<FastPointMap> > >, FastPointMap>(__gnu_cxx::__normal_iterator<FastPointMap*, std::vector<FastPointMap, std::allocator<FastPointMap> > >, __gnu_cxx::__normal_iterator<FastPointMap*, std::vector<FastPointMap, std::allocator<FastPointMap> > >, FastPointMap)': WibasCore_cc_ACLiC_dict.cxx:(.text._ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP12FastPointMapSt6vectorIS2_SaIS2_EEEES2_EvT_S8_T0_[_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP12FastPointMapSt6vectorIS2_SaIS2_EEEES2_EvT_S8_T0_]+0xa8): undefined reference to `FastPointMap::operator()(FastPointMap const&, FastPointMap const&)' /lustre/expphy/work/hallb/clasg12/salgado/WiBaS/examples/aclic/./../../src/WibasCore_cc_ACLiC_dict.o: In function `void std::__heap_select<__gnu_cxx::__normal_iterator<FastPointMap*, std::vector<FastPointMap, std::allocator<FastPointMap> > >, FastPointMap>(__gnu_cxx::__normal_iterator<FastPointMap*, std::vector<FastPointMap, std::allocator<FastPointMap> > >, __gnu_cxx::__normal_iterator<FastPointMap*, std::vector<FastPointMap, std::allocator<FastPointMap> > >, __gnu_cxx::__normal_iterator<FastPointMap*, std::vector<FastPointMap, std::allocator<FastPointMap> > >, FastPointMap)': WibasCore_cc_ACLiC_dict.cxx:(.text._ZSt13__heap_selectIN9__gnu_cxx17__normal_iteratorIP12FastPointMapSt6vectorIS2_SaIS2_EEEES2_EvT_S8_S8_T0_[_ZSt13__heap_selectIN9__gnu_cxx17__normal_iteratorIP12FastPointMapSt6vectorIS2_SaIS2_EEEES2_EvT_S8_S8_T0_]+0x95): undefined reference to `FastPointMap::operator()(FastPointMap const&, FastPointMap const&)' /lustre/expphy/work/hallb/clasg12/salgado/WiBaS/examples/aclic/./../../src/WibasCore_cc_ACLiC_dict.o: In function `void std::__move_median_first<__gnu_cxx::__normal_iterator<FastPointMap*, std::vector<FastPointMap, std::allocator<FastPointMap> > >, FastPointMap>(__gnu_cxx::__normal_iterator<FastPointMap*, std::vector<FastPointMap, std::allocator<FastPointMap> > >, __gnu_cxx::__normal_iterator<FastPointMap*, std::vector<FastPointMap, std::allocator<FastPointMap> > >, __gnu_cxx::__normal_iterator<FastPointMap*, std::vector<FastPointMap, std::allocator<FastPointMap> > >, FastPointMap)': WibasCore_cc_ACLiC_dict.cxx:(.text._ZSt19__move_median_firstIN9__gnu_cxx17__normal_iteratorIP12FastPointMapSt6vectorIS2_SaIS2_EEEES2_EvT_S8_S8_T0_[_ZSt19__move_median_firstIN9__gnu_cxx17__normal_iteratorIP12FastPointMapSt6vectorIS2_SaIS2_EEEES2_EvT_S8_S8_T0_]+0x6c): undefined reference to `FastPointMap::operator()(FastPointMap const&, FastPointMap const&)' WibasCore_cc_ACLiC_dict.cxx:(.text._ZSt19__move_median_firstIN9__gnu_cxx17__normal_iteratorIP12FastPointMapSt6vectorIS2_SaIS2_EEEES2_EvT_S8_S8_T0_[_ZSt19__move_median_firstIN9__gnu_cxx17__normal_iteratorIP12FastPointMapSt6vectorIS2_SaIS2_EEEES2_EvT_S8_S8_T0_]+0xa4): undefined reference to `FastPointMap::operator()(FastPointMap const&, FastPointMap const&)' WibasCore_cc_ACLiC_dict.cxx:(.text._ZSt19__move_median_firstIN9__gnu_cxx17__normal_iteratorIP12FastPointMapSt6vectorIS2_SaIS2_EEEES2_EvT_S8_S8_T0_[_ZSt19__move_median_firstIN9__gnu_cxx17__normal_iteratorIP12FastPointMapSt6vectorIS2_SaIS2_EEEES2_EvT_S8_S8_T0_]+0xf0): undefined reference to `FastPointMap::operator()(FastPointMap const&, FastPointMap const&)' /lustre/expphy/work/hallb/clasg12/salgado/WiBaS/examples/aclic/./../../src/WibasCore_cc_ACLiC_dict.o:WibasCore_cc_ACLiC_dict.cxx:(.text._ZSt19__move_median_firstIN9__gnu_cxx17__normal_iteratorIP12FastPointMapSt6vectorIS2_SaIS2_EEEES2_EvT_S8_S8_T0_[_ZSt19__move_median_firstIN9__gnu_cxx17__normal_iteratorIP12FastPointMapSt6vectorIS2_SaIS2_EEEES2_EvT_S8_S8_T0_]+0x140): more undefined references to `FastPointMap::operator()(FastPointMap const&, FastPointMap const&)' follow /lustre/expphy/work/hallb/clasg12/salgado/WiBaS/examples/aclic/./../../src/WibasCore_cc_ACLiC_dict.o: In function `WiBaS::~WiBaS()': WibasCore_cc_ACLiC_dict.cxx:(.text._ZN5WiBaSD2Ev[_ZN5WiBaSD5Ev]+0x26): undefined reference to `PhasespacePointCloud::~PhasespacePointCloud()' /lustre/expphy/work/hallb/clasg12/salgado/WiBaS/examples/aclic/./../../src/WibasCore_cc_ACLiC_dict.o:(.data.rel.ro._ZTI5WiBaS[_ZTI5WiBaS]+0x10): undefined reference to `typeinfo for PhasespacePointCloud' /lustre/expphy/work/hallb/clasg12/salgado/WiBaS/examples/aclic/./../../src/PhasespacePoint_cc.so: undefined reference to `PhasespaceCoord::GetID() const' collect2: error: ld returned 1 exit status root [1] root [1] .q
The root start script was not updated after the latest code changes. I generally recommend the use of the gcc compiled library, but the root version should work fine too now.