Is Changed TGenericClassInfo on Root 4.0?

Hi,

i just installed a lot of different software on my new notebook and one of these is Root 4.0 but wen i recompiled the old software i got the error below. Something has change for TGenericClassInfo or it’s just a missing link on my software? i just copied my old sources but it doesn’t compile anymore. Any hint?

LogDict.cpp: In function ROOT::TGenericClassInfo* ROOT::GenerateInitInstance(const pamela::LogRecord*)': LogDict.cpp:49: error: no matching function for call to
ROOT::TGenericClassInfo::TGenericClassInfo(const char[18], Version_t, const
char[28], int, const std::type_info&, const ROOT::TInitBehavior*, void
()(), TClass()(const void), int)’

Cheers
Maurizio

when installing ROOT from source, do
make distclean
make

Rene

i did it but unfortunately it has no effects, some other hints?

/bin/sh …/…/libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I…/… -I…/… -I/usr/share/root/include -g -c -o LogDict.lo LogDict.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I…/… -I…/… -I/usr/share/root/include -g -c LogDict.cpp -fPIC -DPIC -o .libs/LogDict.o
LogDict.cpp: In function ROOT::TGenericClassInfo* ROOT::GenerateInitInstance(const pamela::LogRecord*)': LogDict.cpp:49: error: no matching function for call to
ROOT::TGenericClassInfo::TGenericClassInfo(const char[18], Version_t, const
char[28], int, const std::type_info&, const ROOT::TInitBehavior*, void
()(), TClass()(const void), int)’
/usr/share/root/include/TGenericClassInfo.h:17: error: candidates are:
ROOT::TGenericClassInfo::TGenericClassInfo(const ROOT::TGenericClassInfo&)
/usr/share/root/include/TGenericClassInfo.h:97: error:
ROOT::TGenericClassInfo::TGenericClassInfo()

cheers,
Maurizio

You should delete your old dictionaries (cxx and .o files)

Rene

thanks :slight_smile:

my make distclean didn’t deleted the ‘Dict.’ files generated by rootcint

thanks
Maurizio