Hi. I’m currently running ROOT 6.04.00 on Ubuntu 15.04.
I’m having this issue where after properly loading my libraries and including the appropriate header files, any attempts use anything built into the library will give the following error:
IncrementalExecutor::executeFunction: symbol '_ZN11GenParticle2P4Ev' unresolved while linking function '_GLOBAL__sub_I_cling_module_124'!
You are probably missing the definition of GenParticle::P4()
Trying to run my entire code will result in a segfault:
#5 0x00007f71207785f8 in int TStreamerInfoActions::VectorPtrLooper::ReadBasicType<unsigned int>(TBuffer&, void*, void const*, TStreamerInfoActions::TConfiguration const*) () from /home/wenhan/root6/lib/libRIO.so
#6 0x00007f7120834ab8 in TBufferFile::ApplySequenceVecPtr(TStreamerInfoActions::TActionSequence const&, void*, void*) () from /home/wenhan/root6/lib/libRIO.so
#7 0x00007f71175efdda in TBranchElement::ReadLeavesClonesMember(TBuffer&) () from /home/wenhan/root6/lib/libTree.so
#8 0x00007f711760ae82 in TBranch::GetEntry(long long, int) () from /home/wenhan/root6/lib/libTree.so
#9 0x00007f71175fab60 in TBranchElement::GetEntry(long long, int) () from /home/wenhan/root6/lib/libTree.so
#10 0x00007f71175fab05 in TBranchElement::GetEntry(long long, int) () from /home/wenhan/root6/lib/libTree.so
#11 0x00007f7118993ebf in ExRootTreeReader::ReadEntry(long long) () from /home/wenhan/root6/lib/libExRootAnalysis.so
#12 0x00007f71198300d1 in ?? ()
#13 0x00007f7124aac040 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#14 0x00007ffc453b5a24 in ?? ()
#15 0x00007ffc0000002e in ?? ()
#16 0x0000000000000000 in ?? ()
I don’t think the problem is with my code as it runs just fine on my MacBook but any help regarding this issue will be much appreciated.
Thanks in advance