Hi,
I always get a core dump when I am trying to run an analysis macro that
was created via MakeSelector() in the compiled mode.
First I loaded some root files into a chain and then I did the following
commands:
root [1] chain.MakeSelector("selector")
Info in <TTreePlayer::MakeClass>: Files: selector.h and selector.C
generated from Tree: h45
(Int_t)0
root [2] chain.Process("selector.C")
(Int_t)0
root [3] chain.Process("selector.C+")
Warning in <ACLiC>: script has already been loaded in interpreted mode
Warning in <ACLiC>: unloading /home/frank/analysis/./selector.C and
compiling it
Info in <TUnixSystem::ACLiC>: creating shared library
/home/frank/analysis/./selector_C.so
Note: Link requested for undefined class TBrowser (ignore this message)
FILE: LINE:0
Note: Link requested for undefined class TMethod (ignore this message)
FILE: LINE:0
Note: Link requested for undefined class TTimer (ignore this message)
FILE: LINE:0
[...]
Note: Link requested for undefined class TMatrix (ignore this message)
FILE: LINE:0
Note: Link requested for undefined class TMatrixD (ignore this message)
FILE: LINE:0
Error in <ACLiC>: Dictionary generation failed with a core dump!
Error in <TSelector::GetSelector>: file selector.C+ does not have a valid
class deriving from TSelector
(Int_t)(-1)
root [4]
So, the program is running in interpreted mode but not in the compiled
version. Do I miss any steps before I can run the program in the compiled
version? Remember, I did not change anything in the files selector.C and
.h between the generation and the run.
I am using RooT 3.10-01 and gcc 2.95.3 on Mandrake 8.
Thanks for your help.
Frank
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET