it seems rootcint does not see the right ROOT include files.
Please check carefully that $ROOTSYS is correctly set when running rootcint.
Cheers, Fons.
Fabrice RETIERE wrote:
>
> Hi,
>
> I wrote a few months ago a code using root version 1.?? with aCC. I am
> trying to port it to root_v2.20-06-aCC. Everything works fine but
> rootcint. I get the error messages listed below. Do I have to change
> something in the LinkDef.h file or somewhere else to make it works? I
> couldn't find anything saying that on the web site. It may also be that
> this version of root is not properly installed on my machine. Could you
> help me figure out what's going on?
>
> Thanks.
>
> Fabrice
>
> Error: No symbol R__EXTERNInt_tgDebug in current scope
> FILE:/usr/remote/prive/cern/root_v2.20-06-aCC/include/Rtypes.h LINE:88
> Error: No symbol R__EXTERNTDirectory in current scope
> FILE:/usr/remote/prive/cern/root_v2.20-06-aCC/include/TDirectory.h
> LINE:107
> Error: No symbol gDirectory in current scope
> FILE:/usr/remote/prive/cern/root_v2.20-06-aCC/include/TDirectory.h
> LINE:107
> Error: No symbol R__EXTERNTROOT in current scope
> FILE:/usr/remote/prive/cern/root_v2.20-06-aCC/include/TROOT.h LINE:195
> Error: No symbol gROOT in current scope
> FILE:/usr/remote/prive/cern/root_v2.20-06-aCC/include/TROOT.h LINE:195
>
> ----------------------------------------------------------------------------
> Fabrice RETIERE (Subatech Nantes) E-mail: retiere@subatech.in2p3.fr
> Phone: +33 (0)2.51.85.84.60 Fax: +33 (0)2.51.85.84.79
> ----------------------------------------------------------------------------
-- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland Phone: +41 22 7679248 E-Mail: Fons.Rademakers@cern.ch Fax: +41 22 7677910 URL: http://root.cern.ch/~rdm/