Project

General

Profile

Bug #5197

larcore fails to build

Added by Wesley Ketchum about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Install / build / code mgmt
Target version:
Start date:
01/13/2014
Due date:
% Done:

100%

Estimated time:
Occurs In:
Experiment:
MicroBooNE
Co-Assignees:
Duration:

Description

larcore fails to build in a setup with uboonecode and larreco as local products (also, in a setup while trying to build the whole larsoft_suite). Error message is below:

[ 46%] Building CXX object larcore/Geometry/CMakeFiles/Geometry.dir/ChannelMapAlg.cxx.o
Linking CXX shared library ../lib/libStandardGeometryHelper_service.so
CMakeFiles/StandardGeometryHelper_service.dir/StandardGeometryHelper_service.cc.o: In function `TString::Contains(char const*, TString::ECaseCompare) const':
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TString.h:557: undefined reference to `TString::Index(char const*, int, int, TString::ECaseCompare) const'
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TString.h:557: undefined reference to `TString::Index(char const*, int, int, TString::ECaseCompare) const'
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TString.h:557: undefined reference to `TString::Index(char const*, int, int, TString::ECaseCompare) const'
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TString.h:557: undefined reference to `TString::Index(char const*, int, int, TString::ECaseCompare) const'
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TString.h:557: undefined reference to `TString::Index(char const*, int, int, TString::ECaseCompare) const'
CMakeFiles/StandardGeometryHelper_service.dir/StandardGeometryHelper_service.cc.o:/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TString.h:557: more undefined references to `TString::Index(char const*, int, int, TString::ECaseCompare) const' follow
CMakeFiles/StandardGeometryHelper_service.dir/StandardGeometryHelper_service.cc.o: In function `__static_initialization_and_destruction_0':
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TVersionCheck.h:34: undefined reference to `TVersionCheck::TVersionCheck(int)'
collect2: error: ld returned 1 exit status
make2: * [larcore/lib/libStandardGeometryHelper_service.so] Error 1
make1:
[larcore/Geometry/CMakeFiles/StandardGeometryHelper_service.dir/all] Error 2
make1:
Waiting for unfinished jobs....
[ 47%] Building CXX object larcore/Geometry/CMakeFiles/Geometry.dir/ChannelMapStandardAlg.cxx.o
[ 47%] Building CXX object larcore/Geometry/CMakeFiles/Geometry.dir/CryostatGeo.cxx.o
Linking CXX shared library ../lib/libGeometry_service.so
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::ROOTGeoManager() const':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:255: undefined reference to `gGeoManager'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::WorldBox(double*, double*, double*, double*, double*, double*) const':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:677: undefined reference to `gGeoManager'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:677: undefined reference to `TGeoManager::GetVolume(char const*) const'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::GetTPCFrontFaceCenter(unsigned int, unsigned int) const':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:699: undefined reference to `TVector3::TVector3(double, double, double)'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::TotalMass(char const*) const':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:829: undefined reference to `gGeoManager'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:829: undefined reference to `TGeoManager::FindVolumeFast(char const*, bool)'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:830: undefined reference to `TGeoVolume::Weight(double, char const*)'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::MassBetweenPoints(double*, double*) const':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:860: undefined reference to `gGeoManager'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:860: undefined reference to `TGeoManager::InitTrack(double const*, double const*)'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `TGeoManager::GetCurrentNode() const':
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TGeoManager.h:484: undefined reference to `TGeoManager::GetCurrentNavigator() const'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::MassBetweenPoints(double*, double*) const':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:869: undefined reference to `TGeoManager::FindNextBoundary(double, char const*, bool)'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `TGeoManager::GetStep() const':
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TGeoManager.h:384: undefined reference to `TGeoManager::GetCurrentNavigator() const'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::MassBetweenPoints(double*, double*) const':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:873: undefined reference to `TGeoManager::Step(bool, bool)'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:868: undefined reference to `TGeoManager::IsSameLocation(double, double, double, bool)'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `TGeoManager::GetCurrentPoint() const':
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TGeoManager.h:486: undefined reference to `TGeoManager::GetCurrentNavigator() const'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `TObjArray::GetEntriesFast() const':
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TObjArray.h:67: undefined reference to `TObjArray::GetAbsLast() const'
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TObjArray.h:67: undefined reference to `TObjArray::GetAbsLast() const'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::LoadGeometryFile(std::string, std::string)':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:236: undefined reference to `TGeoManager::Import(char const*, char const*, char const*)'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:239: undefined reference to `gGeoManager'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::VolumeName(TVector3)':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:706: undefined reference to `gGeoManager'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:706: undefined reference to `TGeoManager::FindVolumeFast(char const*, bool)'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:725: undefined reference to `gGeoManager'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:725: undefined reference to `TGeoManager::FindNode(double, double, double)'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::MaterialName(TVector3)':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:733: undefined reference to `gGeoManager'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:733: undefined reference to `TGeoManager::FindVolumeFast(char const*, bool)'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:754: undefined reference to `gGeoManager'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:754: undefined reference to `TGeoManager::FindNode(double, double, double)'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::preBeginRun(art::Run const&)':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:161: undefined reference to `TString::operator=(char const*)'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:145: undefined reference to `TString::operator=(char const*)'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:147: undefined reference to `TString::operator=(char const*)'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:149: undefined reference to `TString::operator=(char const*)'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:151: undefined reference to `TString::operator=(char const*)'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o:/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:157: more undefined references to `TString::operator=(char const*)' follow
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::Geometry(fhicl::ParameterSet const&, art::ActivityRegistry&)':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:66: undefined reference to `TString::TString(std::string const&)'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:70: undefined reference to `TString::ToLower()'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `TString::Contains(char const*, TString::ECaseCompare) const':
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TString.h:557: undefined reference to `TString::Index(char const*, int, int, TString::ECaseCompare) const'
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TString.h:557: undefined reference to `TString::Index(char const*, int, int, TString::ECaseCompare) const'
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TString.h:557: undefined reference to `TString::Index(char const*, int, int, TString::ECaseCompare) const'
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TString.h:557: undefined reference to `TString::Index(char const*, int, int, TString::ECaseCompare) const'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::Geometry(fhicl::ParameterSet const&, art::ActivityRegistry&)':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:66: undefined reference to `TString::~TString()'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::~Geometry()':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:112: undefined reference to `TString::~TString()'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::NearestWire(double const*, unsigned int, unsigned int, unsigned int) const':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:914: undefined reference to `TVector3::TVector3(double const*)'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:915: undefined reference to `TVector3::~TVector3()'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:915: undefined reference to `TVector3::~TVector3()'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::NearestWire(std::vector<double, std::allocator<double> >, unsigned int, unsigned int, unsigned int) const':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:927: undefined reference to `TVector3::TVector3(double const*)'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:928: undefined reference to `TVector3::~TVector3()'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:928: undefined reference to `TVector3::~TVector3()'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::NearestWireID(std::vector<double, std::allocator<double> >, unsigned int, unsigned int, unsigned int) const':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:949: undefined reference to `TVector3::TVector3(double const*)'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:950: undefined reference to `TVector3::~TVector3()'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:950: undefined reference to `TVector3::~TVector3()'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::NearestWireID(double const*, unsigned int, unsigned int, unsigned int) const':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:959: undefined reference to `TVector3::TVector3(double const*)'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:960: undefined reference to `TVector3::~TVector3()'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:960: undefined reference to `TVector3::~TVector3()'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::NearestChannel(double const*, unsigned int, unsigned int, unsigned int) const':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:969: undefined reference to `TVector3::TVector3(double const*)'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:970: undefined reference to `TVector3::~TVector3()'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:970: undefined reference to `TVector3::~TVector3()'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::NearestChannel(std::vector<double, std::allocator<double> >, unsigned int, unsigned int, unsigned int) const':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:982: undefined reference to `TVector3::TVector3(double const*)'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:983: undefined reference to `TVector3::~TVector3()'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/Geometry_service.cc:983: undefined reference to `TVector3::~TVector3()'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `TString::Contains(char const*, TString::ECaseCompare) const':
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TString.h:557: undefined reference to `TString::Index(char const*, int, int, TString::ECaseCompare) const'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `__static_initialization_and_destruction_0':
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TVersionCheck.h:34: undefined reference to `TVersionCheck::TVersionCheck(int)'
collect2: error: ld returned 1 exit status
make2:
[larcore/lib/libGeometry_service.so] Error 1
make1:
[larcore/Geometry/CMakeFiles/Geometry_service.dir/all] Error 2
[ 48%] Building CXX object larcore/Geometry/CMakeFiles/Geometry.dir/GeoObjectSorter.cxx.o
[ 49%] Building CXX object larcore/Geometry/CMakeFiles/Geometry.dir/GeoObjectSorterStandard.cxx.o
[ 49%] Building CXX object larcore/Geometry/CMakeFiles/Geometry.dir/OpDetGeo.cxx.o
[ 50%] Linking CXX shared library ../../lib/libGeometryTest_module.so
Building CXX object larcore/Geometry/CMakeFiles/Geometry.dir/PlaneGeo.cxx.o
CMakeFiles/GeometryTest_module.dir/GeometryTest_module.cc.o: In function `ServiceHandle':
/grid/fermiapp/products/larsoft/art/v1_08_10/include/art/Framework/Services/Registry/ServiceHandle.h:33: undefined reference to `art::ServiceRegistry::instance()'
/grid/fermiapp/products/larsoft/art/v1_08_10/include/art/Framework/Services/Registry/ServiceHandle.h:33: undefined reference to `art::ServiceRegistry::instance()'
/grid/fermiapp/products/larsoft/art/v1_08_10/include/art/Framework/Services/Registry/ServiceHandle.h:33: undefined reference to `art::ServiceRegistry::instance()'
/grid/fermiapp/products/larsoft/art/v1_08_10/include/art/Framework/Services/Registry/ServiceHandle.h:33: undefined reference to `art::ServiceRegistry::instance()'
/grid/fermiapp/products/larsoft/art/v1_08_10/include/art/Framework/Services/Registry/ServiceHandle.h:33: undefined reference to `art::ServiceRegistry::instance()'
CMakeFiles/GeometryTest_module.dir/GeometryTest_module.cc.o: In function `geo::GeometryTest::testStepping()':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/test/GeometryTest_module.cc:792: undefined reference to `gGeoManager'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/test/GeometryTest_module.cc:792: undefined reference to `TGeoManager::InitTrack(double const*, double const*)'
CMakeFiles/GeometryTest_module.dir/GeometryTest_module.cc.o: In function `TGeoManager::GetCurrentPoint() const':
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TGeoManager.h:486: undefined reference to `TGeoManager::GetCurrentNavigator() const'
CMakeFiles/GeometryTest_module.dir/GeometryTest_module.cc.o: In function `TGeoManager::GetCurrentDirection() const':
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TGeoManager.h:487: undefined reference to `TGeoManager::GetCurrentNavigator() const'
CMakeFiles/GeometryTest_module.dir/GeometryTest_module.cc.o: In function `TGeoManager::GetCurrentNode() const':
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TGeoManager.h:484: undefined reference to `TGeoManager::GetCurrentNavigator() const'
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TGeoManager.h:484: undefined reference to `TGeoManager::GetCurrentNavigator() const'
CMakeFiles/GeometryTest_module.dir/GeometryTest_module.cc.o: In function `geo::GeometryTest::testStepping()':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/test/GeometryTest_module.cc:809: undefined reference to `TGeoManager::FindNextBoundary(double, char const*, bool)'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/test/GeometryTest_module.cc:810: undefined reference to `TGeoManager::FindNormal(bool)'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/test/GeometryTest_module.cc:811: undefined reference to `TGeoManager::Step(bool, bool)'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/test/GeometryTest_module.cc:815: undefined reference to `TGeoManager::InitTrack(double const*, double const*)'
CMakeFiles/GeometryTest_module.dir/GeometryTest_module.cc.o: In function `TGeoManager::GetCurrentNode() const':
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TGeoManager.h:484: undefined reference to `TGeoManager::GetCurrentNavigator() const'
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TGeoManager.h:484: undefined reference to `TGeoManager::GetCurrentNavigator() const'
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TGeoManager.h:484: undefined reference to `TGeoManager::GetCurrentNavigator() const'
CMakeFiles/GeometryTest_module.dir/GeometryTest_module.cc.o: In function `ServiceHandle':
/grid/fermiapp/products/larsoft/art/v1_08_10/include/art/Framework/Services/Registry/ServiceHandle.h:33: undefined reference to `art::ServiceRegistry::instance()'
CMakeFiles/GeometryTest_module.dir/GeometryTest_module.cc.o: In function `geo::TPCGeo::ActiveMass() const':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/TPCGeo.h:58: undefined reference to `TGeoVolume::Weight(double, char const*)'
CMakeFiles/GeometryTest_module.dir/GeometryTest_module.cc.o: In function `geo::CryostatGeo::Mass() const':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/CryostatGeo.h:53: undefined reference to `TGeoVolume::Weight(double, char const*)'
CMakeFiles/GeometryTest_module.dir/GeometryTest_module.cc.o: In function `ServiceHandle':
/grid/fermiapp/products/larsoft/art/v1_08_10/include/art/Framework/Services/Registry/ServiceHandle.h:33: undefined reference to `art::ServiceRegistry::instance()'
CMakeFiles/GeometryTest_module.dir/GeometryTest_module.cc.o: In function `geo::GeometryTest::analyze(art::Event const&)':
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/test/GeometryTest_module.cc:124: undefined reference to `gGeoManager'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/test/GeometryTest_module.cc:124: undefined reference to `TGeoManager::CheckOverlaps(double, char const*)'
/uboone/app/users/wketchum/larsoft_beta/srcs/larcore/Geometry/test/GeometryTest_module.cc:125: undefined reference to `TGeoManager::PrintOverlaps() const'
CMakeFiles/GeometryTest_module.dir/GeometryTest_module.cc.o: In function `ServiceHandle':
/grid/fermiapp/products/larsoft/art/v1_08_10/include/art/Framework/Services/Registry/ServiceHandle.h:33: undefined reference to `art::ServiceRegistry::instance()'
/grid/fermiapp/products/larsoft/art/v1_08_10/include/art/Framework/Services/Registry/ServiceHandle.h:33: undefined reference to `art::ServiceRegistry::instance()'
CMakeFiles/GeometryTest_module.dir/GeometryTest_module.cc.o: In function `get<geo::Geometry, void>':
/grid/fermiapp/products/larsoft/art/v1_08_10/include/art/Framework/Services/Registry/detail/ServiceCacheEntry.h:145: undefined reference to `art::detail::ServiceCacheEntry::getService(art::ActivityRegistry&, std::stack<std::shared_ptr<art::detail::ServiceWrapperBase>, std::deque<std::shared_ptr<art::detail::ServiceWrapperBase>, std::allocator<std::shared_ptr<art::detail::ServiceWrapperBase> > > >&) const'
CMakeFiles/GeometryTest_module.dir/GeometryTest_module.cc.o: In function `art::ServiceHandle<geo::Geometry, (art::ServiceScope)0>::ServiceHandle()':
/grid/fermiapp/products/larsoft/art/v1_08_10/include/art/Framework/Services/Registry/ServiceHandle.h:33: undefined reference to `art::ServiceRegistry::instance()'
collect2: error: ld returned 1 exit status
make2:
[larcore/lib/libGeometryTest_module.so] Error 1
make1:
[larcore/Geometry/test/CMakeFiles/GeometryTest_module.dir/all] Error 2
[ 51%] Building CXX object larcore/Geometry/CMakeFiles/Geometry.dir/TPCGeo.cxx.o
[ 51%] Building CXX object larcore/Geometry/CMakeFiles/Geometry.dir/WireGeo.cxx.o
Linking CXX shared library ../lib/libGeometry.so
[ 51%] Built target Geometry
make: *
[all] Error 2

History

#1 Updated by Erica Snider about 6 years ago

  • Category set to Install / build / code mgmt
  • Status changed from New to Assigned
  • Assignee set to Erica Snider
  • Target version set to v0_02_02

Hi Wes,
I found a problem with the larsoft_suite build (you can git pull in larevt to get that), but I was not able to reproduce a failure with larreco and uboonecode in the local products directory. Can you tell me exactly the steps you took to get the point of failure?

Thanks!

#2 Updated by Wesley Ketchum about 6 years ago

Sure! Here's the exact steps I followed, just now:

source /grid/fermiapp/uboone/software/setup_uboone.sh
mkdir larsoft_beta_011414
cd larsoft_beta_011414/
setup larsoft v0_02_01 -q e4:prof
mrb newDev
source localProducts_larsoft_v0_02_01_e4_prof/setup
cd srcs/
mrb g uboonecode
cd ../build/
source mrb s
mrb i -j4
<uboonecode builds without issue>
cd ../srcs/
mrb g larcore
cd ../build/
source mrb setEnv
mrb install -j4

This fails with the following output from the building process:
Scanning dependencies of target Geometry
Scanning dependencies of target TriggerAlgoMicroBoone_service
Scanning dependencies of target SignalShapingServiceMicroBooNE_service
Scanning dependencies of target daq_datatypes
[ 2%] Building CXX object uboonecode/uboone/TriggerAlgo/CMakeFiles/TriggerAlgoMicroBoone_service.dir/TriggerAlgoMicroBoone_service.cc.o
[ 4%] Building CXX object uboonecode/uboone/Utilities/CMakeFiles/SignalShapingServiceMicroBooNE_service.dir/SignalShapingServiceMicroBooNE_service.cc.o
[ 6%] Building CXX object uboonecode/uboone/RawData/uboone_datatypes/CMakeFiles/daq_datatypes.dir/evttypes.cpp.o
[ 9%] Building CXX object uboonecode/uboone/RawData/uboone_datatypes/CMakeFiles/daq_datatypes.dir/globalHeader.cpp.o
[ 11%] Building CXX object larcore/Geometry/CMakeFiles/Geometry.dir/AuxDetGeo.cxx.o
[ 13%] Building CXX object uboonecode/uboone/RawData/uboone_datatypes/CMakeFiles/daq_datatypes.dir/gps.cpp.o
[ 16%] Building CXX object larcore/Geometry/CMakeFiles/Geometry.dir/ChannelMapAlg.cxx.o
Linking CXX shared library ../../lib/libTriggerAlgoMicroBoone_service.so
[ 18%] Building CXX object uboonecode/uboone/RawData/uboone_datatypes/CMakeFiles/daq_datatypes.dir/triggerData.cpp.o
[ 18%] Built target TriggerAlgoMicroBoone_service
[ 20%] Building CXX object uboonecode/uboone/RawData/uboone_datatypes/CMakeFiles/daq_datatypes.dir/crateData.cpp.o
Linking CXX shared library ../../lib/libSignalShapingServiceMicroBooNE_service.so
[ 23%] Building CXX object larcore/Geometry/CMakeFiles/Geometry.dir/ChannelMapStandardAlg.cxx.o
[ 25%] Scanning dependencies of target Geometry_service
Building CXX object uboonecode/uboone/RawData/uboone_datatypes/CMakeFiles/daq_datatypes.dir/crateHeader.cpp.o
[ 25%] Built target SignalShapingServiceMicroBooNE_service
Scanning dependencies of target StandardGeometryHelper_service
[ 27%] Building CXX object larcore/Geometry/CMakeFiles/Geometry_service.dir/Geometry_service.cc.o
[ 30%] Building CXX object larcore/Geometry/CMakeFiles/StandardGeometryHelper_service.dir/StandardGeometryHelper_service.cc.o
[ 32%] Building CXX object uboonecode/uboone/RawData/uboone_datatypes/CMakeFiles/daq_datatypes.dir/cardData.cpp.o
[ 34%] Building CXX object uboonecode/uboone/RawData/uboone_datatypes/CMakeFiles/daq_datatypes.dir/cardHeader.cpp.o
[ 37%] Building CXX object larcore/Geometry/CMakeFiles/Geometry.dir/CryostatGeo.cxx.o
Linking CXX shared library ../lib/libStandardGeometryHelper_service.so
[ 39%] Building CXX object uboonecode/uboone/RawData/uboone_datatypes/CMakeFiles/daq_datatypes.dir/channelData.cpp.o
CMakeFiles/StandardGeometryHelper_service.dir/StandardGeometryHelper_service.cc.o: In function `TString::Contains(char const*, TString::ECaseCompare) const':
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TString.h:557: undefined reference to `TString::Index(char const*, int, int, TString::ECaseCompare) const'
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TString.h:557: undefined reference to `TString::Index(char const*, int, int, TString::ECaseCompare) const'
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TString.h:557: undefined reference to `TString::Index(char const*, int, int, TString::ECaseCompare) const'
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TString.h:557: undefined reference to `TString::Index(char const*, int, int, TString::ECaseCompare) const'
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TString.h:557: undefined reference to `TString::Index(char const*, int, int, TString::ECaseCompare) const'
CMakeFiles/StandardGeometryHelper_service.dir/StandardGeometryHelper_service.cc.o:/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TString.h:557: more undefined references to `TString::Index(char const*, int, int, TString::ECaseCompare) const' follow
CMakeFiles/StandardGeometryHelper_service.dir/StandardGeometryHelper_service.cc.o: In function `__static_initialization_and_destruction_0':
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TVersionCheck.h:34: undefined reference to `TVersionCheck::TVersionCheck(int)'
collect2: error: ld returned 1 exit status
make2: * [larcore/lib/libStandardGeometryHelper_service.so] Error 1
make1:
[larcore/Geometry/CMakeFiles/StandardGeometryHelper_service.dir/all] Error 2
make1:
Waiting for unfinished jobs....
[ 41%] Building CXX object larcore/Geometry/CMakeFiles/Geometry.dir/GeoObjectSorter.cxx.o
[ 44%] Building CXX object uboonecode/uboone/RawData/uboone_datatypes/CMakeFiles/daq_datatypes.dir/crateDataPMT.cpp.o
[ 46%] Building CXX object larcore/Geometry/CMakeFiles/Geometry.dir/GeoObjectSorterStandard.cxx.o
[ 48%] Building CXX object larcore/Geometry/CMakeFiles/Geometry.dir/OpDetGeo.cxx.o
[ 51%] Building CXX object uboonecode/uboone/RawData/uboone_datatypes/CMakeFiles/daq_datatypes.dir/cardDataPMT.cpp.o
[ 53%] Building CXX object uboonecode/uboone/RawData/uboone_datatypes/CMakeFiles/daq_datatypes.dir/cardHeaderPMT.cpp.o
Linking CXX shared library ../lib/libGeometry_service.so
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::ROOTGeoManager() const':
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:255: undefined reference to `gGeoManager'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::WorldBox(double*, double*, double*, double*, double*, double*) const':
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:677: undefined reference to `gGeoManager'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:677: undefined reference to `TGeoManager::GetVolume(char const*) const'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::GetTPCFrontFaceCenter(unsigned int, unsigned int) const':
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:699: undefined reference to `TVector3::TVector3(double, double, double)'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::TotalMass(char const*) const':
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:829: undefined reference to `gGeoManager'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:829: undefined reference to `TGeoManager::FindVolumeFast(char const*, bool)'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:830: undefined reference to `TGeoVolume::Weight(double, char const*)'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::MassBetweenPoints(double*, double*) const':
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:860: undefined reference to `gGeoManager'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:860: undefined reference to `TGeoManager::InitTrack(double const*, double const*)'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `TGeoManager::GetCurrentNode() const':
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TGeoManager.h:484: undefined reference to `TGeoManager::GetCurrentNavigator() const'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::MassBetweenPoints(double*, double*) const':
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:869: undefined reference to `TGeoManager::FindNextBoundary(double, char const*, bool)'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `TGeoManager::GetStep() const':
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TGeoManager.h:384: undefined reference to `TGeoManager::GetCurrentNavigator() const'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::MassBetweenPoints(double*, double*) const':
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:873: undefined reference to `TGeoManager::Step(bool, bool)'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:868: undefined reference to `TGeoManager::IsSameLocation(double, double, double, bool)'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `TGeoManager::GetCurrentPoint() const':
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TGeoManager.h:486: undefined reference to `TGeoManager::GetCurrentNavigator() const'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `TObjArray::GetEntriesFast() const':
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TObjArray.h:67: undefined reference to `TObjArray::GetAbsLast() const'
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TObjArray.h:67: undefined reference to `TObjArray::GetAbsLast() const'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::LoadGeometryFile(std::string, std::string)':
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:236: undefined reference to `TGeoManager::Import(char const*, char const*, char const*)'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:239: undefined reference to `gGeoManager'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::VolumeName(TVector3)':
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:706: undefined reference to `gGeoManager'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:706: undefined reference to `TGeoManager::FindVolumeFast(char const*, bool)'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:725: undefined reference to `gGeoManager'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:725: undefined reference to `TGeoManager::FindNode(double, double, double)'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::MaterialName(TVector3)':
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:733: undefined reference to `gGeoManager'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:733: undefined reference to `TGeoManager::FindVolumeFast(char const*, bool)'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:754: undefined reference to `gGeoManager'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:754: undefined reference to `TGeoManager::FindNode(double, double, double)'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::preBeginRun(art::Run const&)':
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:161: undefined reference to `TString::operator=(char const*)'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:145: undefined reference to `TString::operator=(char const*)'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:147: undefined reference to `TString::operator=(char const*)'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:149: undefined reference to `TString::operator=(char const*)'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:151: undefined reference to `TString::operator=(char const*)'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o:/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:157: more undefined references to `TString::operator=(char const*)' follow
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::Geometry(fhicl::ParameterSet const&, art::ActivityRegistry&)':
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:66: undefined reference to `TString::TString(std::string const&)'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:70: undefined reference to `TString::ToLower()'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `TString::Contains(char const*, TString::ECaseCompare) const':
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TString.h:557: undefined reference to `TString::Index(char const*, int, int, TString::ECaseCompare) const'
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TString.h:557: undefined reference to `TString::Index(char const*, int, int, TString::ECaseCompare) const'
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TString.h:557: undefined reference to `TString::Index(char const*, int, int, TString::ECaseCompare) const'
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TString.h:557: undefined reference to `TString::Index(char const*, int, int, TString::ECaseCompare) const'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::Geometry(fhicl::ParameterSet const&, art::ActivityRegistry&)':
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:66: undefined reference to `TString::~TString()'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::~Geometry()':
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:112: undefined reference to `TString::~TString()'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::NearestWire(double const*, unsigned int, unsigned int, unsigned int) const':
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:914: undefined reference to `TVector3::TVector3(double const*)'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:915: undefined reference to `TVector3::~TVector3()'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:915: undefined reference to `TVector3::~TVector3()'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::NearestWire(std::vector<double, std::allocator<double> >, unsigned int, unsigned int, unsigned int) const':
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:927: undefined reference to `TVector3::TVector3(double const*)'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:928: undefined reference to `TVector3::~TVector3()'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:928: undefined reference to `TVector3::~TVector3()'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::NearestWireID(std::vector<double, std::allocator<double> >, unsigned int, unsigned int, unsigned int) const':
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:949: undefined reference to `TVector3::TVector3(double const*)'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:950: undefined reference to `TVector3::~TVector3()'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:950: undefined reference to `TVector3::~TVector3()'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::NearestWireID(double const*, unsigned int, unsigned int, unsigned int) const':
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:959: undefined reference to `TVector3::TVector3(double const*)'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:960: undefined reference to `TVector3::~TVector3()'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:960: undefined reference to `TVector3::~TVector3()'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::NearestChannel(double const*, unsigned int, unsigned int, unsigned int) const':
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:969: undefined reference to `TVector3::TVector3(double const*)'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:970: undefined reference to `TVector3::~TVector3()'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:970: undefined reference to `TVector3::~TVector3()'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `geo::Geometry::NearestChannel(std::vector<double, std::allocator<double> >, unsigned int, unsigned int, unsigned int) const':
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:982: undefined reference to `TVector3::TVector3(double const*)'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:983: undefined reference to `TVector3::~TVector3()'
/uboone/app/users/wketchum/larsoft_beta_011414/srcs/larcore/Geometry/Geometry_service.cc:983: undefined reference to `TVector3::~TVector3()'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `TString::Contains(char const*, TString::ECaseCompare) const':
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TString.h:557: undefined reference to `TString::Index(char const*, int, int, TString::ECaseCompare) const'
CMakeFiles/Geometry_service.dir/Geometry_service.cc.o: In function `__static_initialization_and_destruction_0':
/grid/fermiapp/products/larsoft/root/v5_34_12/Linux64bit+2.6-2.5-nu-e4-prof/include/TVersionCheck.h:34: undefined reference to `TVersionCheck::TVersionCheck(int)'
collect2: error: ld returned 1 exit status
make2:
[larcore/lib/libGeometry_service.so] Error 1
make1:
[larcore/Geometry/CMakeFiles/Geometry_service.dir/all] Error 2
[ 55%] Building CXX object larcore/Geometry/CMakeFiles/Geometry.dir/PlaneGeo.cxx.o
[ 58%] Building CXX object larcore/Geometry/CMakeFiles/Geometry.dir/TPCGeo.cxx.o
[ 60%] Building CXX object uboonecode/uboone/RawData/uboone_datatypes/CMakeFiles/daq_datatypes.dir/windowHeaderPMT.cpp.o
[ 62%] Building CXX object uboonecode/uboone/RawData/uboone_datatypes/CMakeFiles/daq_datatypes.dir/eventRecord.cpp.o
[ 65%] Building CXX object uboonecode/uboone/RawData/uboone_datatypes/CMakeFiles/daq_datatypes.dir/beamData.cpp.o
[ 67%] Building CXX object larcore/Geometry/CMakeFiles/Geometry.dir/WireGeo.cxx.o
[ 69%] Building CXX object uboonecode/uboone/RawData/uboone_datatypes/CMakeFiles/daq_datatypes.dir/beamHeader.cpp.o
Linking CXX shared library ../../../lib/libdaq_datatypes.so
[ 69%] Built target daq_datatypes
Linking CXX shared library ../lib/libGeometry.so
[ 69%] Built target Geometry
make: *
[all] Error 2

real 0m48.052s
user 1m39.325s
sys 0m20.537s

------------------------------------
ERROR: Stage build failed.
------------------------------------

#3 Updated by Wesley Ketchum about 6 years ago

OK, doing some testing with Eric this morning, we determined that everything does build properly if we pull down uboonecode and larcore at the same time, and build them for the first time together. So, doing...

source /grid/fermiapp/uboone/software/setup_uboone.sh
mkdir larsoft_beta_011414
cd larsoft_beta_011414/
setup larsoft v0_02_01 -q e4:prof
mrb newDev
source localProducts_larsoft_v0_02_01_e4_prof/setup
cd srcs/
mrb g uboonecode
mrb g larcore
cd ../build/
source mrb s
mrb i -j4

everything builds fine. I imagine this may have been (part of) my problem with building the whole suite.

#4 Updated by Lynn Garren about 6 years ago

  • Status changed from Assigned to Resolved
  • Assignee changed from Erica Snider to Lynn Garren

This was due to a bug in mrb. Now fixed. Please use mrb v0_05_03.

#5 Updated by Lynn Garren about 6 years ago

  • % Done changed from 0 to 100

#6 Updated by Wesley Ketchum about 6 years ago

  • Status changed from Resolved to Assigned
  • Assignee changed from Lynn Garren to Erica Snider
  • % Done changed from 100 to 0

Using mrb v0_05_03 (issuing setup mrb v0_05_03 explicitly), I still see the same problem.

#7 Updated by Lynn Garren about 6 years ago

Now very confused. What are the exact steps to replicate this problem?

#8 Updated by Wesley Ketchum about 6 years ago

source /grid/fermiapp/products/larsoft/setup
setup mrb v0_05_03
setup git
setup gitflow
export MRB_PROJECT=larsoft
cd /uboone/app/users/wketchum/larsoft_beta_011414 (completely cleaned out directory before this)
setup larsoft v0_02_01 -q e4:prof
mrb newDev
source localProducts_larsoft_v0_02_01_e4_prof/setup
cd srcs/
mrb g uboonecode
cd ../build/
source mrb s
mrb i -j4
<all good>
cd ../srcs/
mrb g larcore
cd ../build/
source mrb s
mrb i -j4
<same error as above>

#9 Updated by Lynn Garren about 6 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

I believe that this vexing problem is finally fixed with mrb v0_05_04

#10 Updated by Wesley Ketchum about 6 years ago

I just tried it again, explicitly setting up mrb v0_05_04, and it still does not work. Looks like the same error.

#11 Updated by Wesley Ketchum about 6 years ago

  • % Done changed from 100 to 0

#12 Updated by Lynn Garren about 6 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100

The problem is order dependent and solved by zapping the build directory after checking out larcore. While a nicer solution may be possible in the future, we cannot promise this since it appears to be tied to cmake caching. This issue is now closed.



Also available in: Atom PDF