RE: my own class

From: Philippe Canal <>
Date: Mon, 27 Jun 2005 13:11:43 -0500

Most likely the rootcint dictionary has not been generated. If you have a ClassDef in your class, you have to compile, link and load a dictionary generated by rootcint.


-----Original Message-----
From: [] On Behalf Of Pietro GOVONI
Sent: Monday, June 27, 2005 9:49 AM
To: roottalk
Subject: [ROOT] my own class

Dear ROOTers,

After writing a very simple class, inheriting from a TObject.h, I am trying to link it inside my CMS ORCA code. The compile process of the class is successfull, I cannot say the same for the test program, on the other hand:

The ORCA I am using is necessarly ORCA_8_8_0. Unfortunately, I am not able to say which version of ROOT is in use, since the doc page doesn't load.

Did anybody already meet this problem?

Thanks in advance for your kind help,

Pietro Govoni

Reading cached build data
Scanning src/ElectronPhoton/EgammaGsfTracks/test/BuildFile
>> Compiling /afs/
>> Building binary pietroTracks

/afs/ slc3_ia32_gcc323/
undefined reference to `ROOT::GenerateInitInstance(TRootCalibObj const*)'
/afs/ slc3_ia32_gcc323/
undefined reference to `TRootCalibObj::Class()' /afs/ slc3_ia32_gcc323/
undefined reference to `TRootCalibObj::ShowMembers(TMemberInspector&, char*)'
/afs/ slc3_ia32_gcc323/
undefined reference to `TRootCalibObj::Streamer(TBuffer&)' collect2: ld returned 1 exit status
gmake: *** [/afs/ slc3_ia32_gcc323/src/ElectronPhoton/EgammaGsfTracks/test/pietroTracks/ pietroTracks]
Error 1
(FAILED BUILD) Received on Mon Jun 27 2005 - 20:12:37 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:09 MET