RE: [ROOT] rootcint errors

From: Philippe Canal (pcanal@fnal.gov)
Date: Sat May 05 2001 - 20:01:29 MEST


Hi Christian,

> rootcint -f FunctionsCint.cxx -c Functions_LinkDef.h

Usually the header files in given on the rootcint command line
instead of #include-ing it in the LinkDef file (as you might be
doing)

  rootcint -f FunctionsCint.cxx -c Functions.h Functions_LinkDef.h

> Warning: #pragma link, function
> FindX(Double_t,Int_t,Double_t*,Double_t*) not found
> FILE:Functions_LinkDef.h LINE:76

This is explaining that rootcint did not see any prototype for the
function FindX (that it expects in the global scope).

> class HstStack in Functions.h line 159 original base of virtual func
> *** Datamember MGraph::fftwPlan: no size indication!
> *** Datamember MGraph::fftwPlan: pointer to fundamental type (need
> manual intervention)

This is explaining that you have data member look like:

class MGraph {
   ....
   float *fftwPlan;
   ....
};

With only this informations, rootcint does not know how to create the
streamer for this data member ("need manual intervention").  You can
either hand-code the streamer or give rootcint more information
using the following syntax (The first part of the comment IS revelant
and part of the syntax)

class MGraph {
   ....
   int    fftwPlanSize;
   float *fftwPlan;   //[fftwPlanSize]  pointer to an array of suze
fftwPlanSize
   ....
};

> _IO_seekoff                         0x310
> /vol/pub/gcc-2.95.2/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/libs
> tdc++.a(streambuf.o)

This is weird and usually is a compiler installation/usage errors.

Cheers,

Philippe



This archive was generated by hypermail 2b29 : Fri Jun 08 2001 - 11:51:24 MEST