Fork me on GitHub

Opened 8 years ago

Last modified 8 years ago

#1055 new How to

problem compiling Delphes in remote machine

Reported by: Matias Vazquez Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description (last modified by Pavel Demin)

Dear Delphes developers,

I have compiled Delphes many times befores in other machines without problems. However, when trying to build it in a remote machine after installing all the dependences, I am finding the following error:

-bash-4.2$ make
make: Circular external/fastjet/JetDefinition.hh <- external/fastjet/ClusterSequence.hh dependency dropped.
>> Building hepmc2pileup
tmp/classes/ClassesDict.o: In function `(anonymous namespace)::TriggerDictionaryInitialization_ClassesDict_Impl()':
ClassesDict.cc:(.text+0x63e0): undefined reference to `TROOT::RegisterModule(char const*, char const**, char const**, char const*, char const*, void (*)(), std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > const&, char const**)'
tmp/external/ExRootAnalysis/ExRootAnalysisDict.o: In function `(anonymous namespace)::TriggerDictionaryInitialization_ExRootAnalysisDict_Impl()':
ExRootAnalysisDict.cc:(.text+0x2140): undefined reference to `TROOT::RegisterModule(char const*, char const**, char const**, char const*, char const*, void (*)(), std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > const&, char const**)'
tmp/modules/ModulesDict.o: In function `(anonymous namespace)::TriggerDictionaryInitialization_ModulesDict_Impl()':
ModulesDict.cc:(.text+0xba30): undefined reference to `TROOT::RegisterModule(char const*, char const**, char const**, char const*, char const*, void (*)(), std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > const&, char const**)'
tmp/modules/FastJetDict.o: In function `(anonymous namespace)::TriggerDictionaryInitialization_FastJetDict_Impl()':
FastJetDict.cc:(.text+0x1af0): undefined reference to `TROOT::RegisterModule(char const*, char const**, char const**, char const*, char const*, void (*)(), std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > > const&, char const**)'
collect2: error: ld returned 1 exit status
make: *** [hepmc2pileup] Error 1

I suspect that the fact that I installed ROOT and FastJet in non-default folders might have something to do, nonetheless I am not sure how can I specify them in the installation.

Thanks a lot,

Matias.

Change History (1)

comment:1 by Pavel Demin, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.