Re: [ROOT] compiling problem with 3.00.06

From: Jiri Masik (masik@pc203b.fzu.cz)
Date: Tue May 15 2001 - 13:40:59 MEST


> Rosario Turrisi wrote:
> > 
> > Dear Rooters,
> > I am compiling 3.00.06 on RH 6.1, gcc 2.95.2 and 2.91.66 (same
> > result...)
> > and I get this error:
> > $ make
> > cp cint/iosenum/iosenum.linuxegcs cint/include/iosenum.h
> > g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude  -D_REENTRANT -o
> > net/src/TAuthenticate.o -c net/src/TAuthenticate.cxx
> > net/src/TAuthenticate.cxx: In method `Bool_t
> > TAuthenticate::Authenticate()':
> > net/src/TAuthenticate.cxx:172: declaration of `Bool_t
> > TAuthenticate::CheckNetrc(TString &, TString &)' outside of class is not
> > definition
> > net/src/TAuthenticate.cxx:172: parse error before `{'
> > net/src/TAuthenticate.cxx:207: `stat' cannot be used as a function
> > make: *** [net/src/TAuthenticate.o] Error 1
> > 
> > Is this something I should expect?
> > I updated the source recently from cvs.
> > Any hint very welcome.
> >         Rosario
> > 

Hi,

I checked line 172 and it is a comment line in both 3.00-06 and
current CVS. Try to update your source tree - I guess you have a bad
copy of TAuthenticate.cxx.

        Jiri



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