How to extract a data from dna.root file?

In my case, after command:

root [0] .> dump.txt

Nothing happened, ROOT stacks and i can see only cursor lighting…Trying to wait 3 hour - nothing changed

Tryies this solution - How to convert .root to .txt file?
and get this Errors;

In file included from input_line_10:1:
/home/local1/dnaphysics-build/d2.cxx:21:18: error: use of undeclared identifier 'fTree'
 ((TTreePlayer *)fTree->GetPlayer())->SetScanRedirect(kTRUE)
                 ^
/home/local1/dnaphysics-build/d2.cxx:22:18: error: use of undeclared identifier 'fTree'
 ((TTreePlayer *)fTree->GetPlayer())->SetScanFileName(outputname);