Rootcint hanging during dictionary creation

We’re trying to generate a dictionary in the following way:
$ROOTSYS/bin/rootcint -f G0PlotData_Dict.C -c -I/u/group/gzero/G0Analysis/Linux_FC8/G0Analysis_new/Analysis/include -I/u/group/gzero/G0Analysis/Linux_FC8/G0Analysis_new/GUI/include G0PlotData.h G0PlotData_LinkDef.h

The trouble is that it hangs and never returns to the command line (and no error messages are created), however if I kill the command it has generated the dictionary file. This is a problem for several automated scripts we have. The dictionary generation work fine using ROOT 5.11 but gets stuck in 5.18. Any idea? This is a very strange behavior. Here is the LinkDef file I use:


#ifdef CINT

#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;

#pragma link C++ class G0PlotData+;

#endif


Hi,

Could you run rootcint in the debugger to see where it gets stuckgdb --args $ROOTSYS/bin/rootcint -f G0PlotData_Dict.C -c -I/u/group/gzero/G0Analysis/Linux_FC8/G0Analysis_new/Analysis/include -I/u/group/gzero/G0Analysis/Linux_FC8/G0Analysis_new/GUI/include G0PlotData.h G0PlotData_LinkDef.h gdb> run ... wait wait wait :) ... ... type CTRL+C ... gdb> where

A priori I see 2 possibilities. Either it is a disk I/O problem (i.e. it is hand trying to access a file) or it is a library mismatch problem (i.e. $LD_LIBRARY_PATH contains reference to a different version of ROOT).

Cheers,
Philippe.