ROOT "Event" Compile Error

Hi,

I’m compiling the default “Event” program from v4.00.08f.

in $ROOTSYS/test directory
gmake Event

produces the following errors. I’m wondering if my setup wasn’t right. I downloaded the source and compiled root myself. It’s gcc 2.96 on rh7.3.

Thanks,
John

g++ -O -Wall -fPIC -pthread -I/work/root_v4.00.08f/include -c EventDict.cxx
EventDict.cxx: In function ROOT::TGenericClassInfo *ROOT::GenerateInitInstance (const Track *)': EventDict.cxx:49: no matching function for call toROOT::TGenericClassInfo::TGenericClassInfo (const char[6], Version_t,
const char[8], int, const type_info &, const ROOT::TInitBehavior ,
void (
) (), TClass () (const void *), int)’

Hi,

This would typically happen if you have generated EventDict.cxx with an older version of rootcint (for example if the old one is still on your PATH variable).

Cheers,
Philippe.