Re: error using ghroot at linux Redhat5.2 (fwd)

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Nov 02 1999 - 08:40:28 MET


Hi Wei,
You are giving a wrong prefix to the classes generated by gh2root
try something like;
  gh2root oo.dat  ooc
You cannot specify a "." in the class prefix.
Note that if you run with 2.23, you must update the version of gh2root.
I have installed a new version of gh2root on the web site.
This new version generates makefiles in phase with the latest version of
root.

Rene Brun

Wei Xie wrote:
> 
> Dear Rene,
> 
> I failed to send the following message to the roottalk mailing list
> though I did the registration. Could you please help to solve the
> problem ? Thanks !
> 
> Wei
> 
> ---------- Forwarded message ----------
> Date: Mon, 1 Nov 1999 21:00:44 +0200 (IST)
> From: Wei Xie <xiewei@wicc.weizmann.ac.il>
> To: roottalk <roottalk@hpsalo.cern.ch>
> Subject: error using ghroot at linux Redhat5.2
> 
> Dear ROOTer's
> 
> The attached is a simple Geant RZfile. After processing it with
> gh2root and start compiling it. The following error messages goes out.
> 
> Thank you, Wei
> -------------------------------------
> In file included from oo.cRun.cxx:31:
> oo.cRun.h:1: warning: garbage at end of `#ifndef' argument
> oo.cRun.h:2: warning: missing white space after `#define oo'
> In file included from oo.cRun.h:7,
>                  from oo.cRun.cxx:31:
> oo.cMaker.h:1: warning: garbage at end of `#ifndef' argument
> In file included from oo.cRun.cxx:32:
> oo.cMaker.h:1: warning: garbage at end of `#ifndef' argument
> In file included from oo.cINR.h:7,
>                  from oo.cRun.cxx:33:
> oo.cMaker.h:1: warning: garbage at end of `#ifndef' argument
> In file included from oo.cRun.cxx:31:
> oo.cRun.h:9: parse error before `cRun_H'
> oo.cRun.h:22: parse error before `public'
> oo.cRun.h:26: virtual outside class declaration
> oo.cRun.h:27: virtual outside class declaration
> oo.cRun.h:28: virtual outside class declaration
> oo.cRun.h:29: virtual outside class declaration
> oo.cRun.h:30: virtual outside class declaration
> oo.cRun.h:31: virtual outside class declaration
> oo.cRun.h:32: virtual outside class declaration
> oo.cRun.h:33: virtual outside class declaration
> oo.cRun.h:34: virtual outside class declaration
> oo.cRun.h: In function `Int_t GetDebug()':
> oo.cRun.h:34: `fDebug' undeclared (first use this function)
> oo.cRun.h:34: (Each undeclared identifier is reported only once
> oo.cRun.h:34: for each function it appears in.)
> oo.cRun.h:34: warning: control reaches end of non-void function
> `GetDebug()'
> oo.cRun.h: At top level:
> oo.cRun.h:35: virtual outside class declaration
> oo.cRun.h:36: virtual outside class declaration
> oo.cRun.h:37: virtual outside class declaration
> oo.cRun.h:38: parse error before `.'
> oo.cRun.h:38: virtual outside class declaration
> oo.cRun.h:39: virtual outside class declaration
> oo.cRun.h:40: parse error before `.'
> oo.cRun.h:40: virtual outside class declaration
> oo.cRun.h:42: virtual outside class declaration
> oo.cRun.h:43: virtual outside class declaration
> oo.cRun.h:44: virtual outside class declaration
> oo.cRun.h:46: virtual outside class declaration
> oo.cRun.h:48: virtual outside class declaration
> oo.cRun.h:49: virtual outside class declaration
> oo.cRun.h:51: virtual outside class declaration
> oo.cRun.h:52: virtual outside class declaration
> oo.cRun.h: In function `void SetDebug(Int_t = 1)':
> 
>   ------------------------------------------------------------------------
> 
>                 Name: oo.dat
>    oo.dat       Type: unspecified type (APPLICATION/OCTET-STREAM)
>             Encoding: BASE64



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:41 MET