Fork me on GitHub

Opened 8 years ago

Closed 8 years ago

#1003 closed Bug (fixed)

Error during compilation with PUPPI on Ubuntu 16.04

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

Attachments (1)

fix_PUPPI_CMakeLists.patch (1.3 KB ) - added by Dan Ciubotaru 8 years ago.

Download all attachments as: .zip

Change History (4)

by Dan Ciubotaru, 8 years ago

Attachment: fix_PUPPI_CMakeLists.patch added

comment:1 by Pavel Demin, 8 years ago

Description: modified (diff)

comment:2 by Pavel Demin, 8 years ago

Thanks for the patch. It's now in the master branch: 308ab1ad3b43b706ad4f1b1a23d1c40c051c636f.

comment:3 by Michele Selvaggi, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.