Fork me on GitHub

Opened 8 years ago

Last modified 8 years ago

#1003 closed Bug

Error during compilation with PUPPI on Ubuntu 16.04 — at Version 1

Reported by: Dan Ciubotaru Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description (last modified by Pavel Demin)

When compiling Delphes 3.3.2 we had the error below. We created a GIT patch with a fix (fix_PUPPI_CMakeLists.patch).

Best regards


[ 92%] Linking CXX executable root2pileup
../libDelphes.so: 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**)'
../libDelphes.so: undefined reference to `TEveElement::CollectSceneParentsFromChildren(std::__cxx11::list<TEveElement*, std::allocator<TEveElement*> >&, TEveElement*)'
../libDelphes.so: undefined reference to `puppiCleanContainer::~puppiCleanContainer()'
../libDelphes.so: undefined reference to `puppiCleanContainer::puppiEvent()'
../libDelphes.so: undefined reference to `puppiCleanContainer::puppiCleanContainer(std::vector<RecoObj, std::allocator<RecoObj> >, std::vector<puppiAlgoBin, std::allocator<puppiAlgoBin> >, float, bool)'
../libDelphes.so: undefined reference to `TEveElement::CollectSceneParents(std::__cxx11::list<TEveElement*, std::allocator<TEveElement*> >&)'
collect2: error: ld returned 1 exit status
converters/CMakeFiles/root2pileup.dir/build.make:117: recipe for target 'converters/root2pileup' failed
make[2]: *** [converters/root2pileup] Error 1
CMakeFiles/Makefile2:226: recipe for target 'converters/CMakeFiles/root2pileup.dir/all' failed
make[1]: *** [converters/CMakeFiles/root2pileup.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Change History (2)

by Dan Ciubotaru, 8 years ago

Attachment: fix_PUPPI_CMakeLists.patch added

comment:1 by Pavel Demin, 8 years ago

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