Re: Compiling ROOT using egcs

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Dec 16 1998 - 15:21:37 MET


Pasha Murat wrote:
> 
>         Hi Jonathan, I also failed to generate dictionaries for 2.20
> which would compile on either SGI/egcs 1.1.1 or Red Hat Linux 5.0/KCC_3_3.
> Dear Rene and Fons, could we try to build ROOT 2.20 on any of the platforms
> discussed including generation of the dictionaries?
> 
> I do not believe that the problem is related to the installation procedure itself,
> but suspect that something is going wrong when ROOTCINT is being built, so it
> generates dictionaries which do not compile.
> 
>                                                 regards, pasha.
> 

Hi Pasha,
I have installed today Root under RedHat 5 with KCC_3_3 (machine
cdfpca).
I do not see any problems either during installation or when running the
tutorials suite  or the big stress test program.
I also tested under RedHat 5 with egc1.1.1 and results are OK.
Could you try an installation from scratch starting from our current
development version on the web (2.20/05).

Rene Brun


--------------------------------------------------------------------------------
> Jonathan Hays writes:
>  >
>  > Hi,
>  >
>  > I have recently started using the ROOT system and quickly
>  > discovered that if I wanted to use egcs to compile my own
>  > classes then I needed a version of the ROOT libraries etc
>  > also compiled with egcs....
>  >
>  > Unable to find any binaries compiled with egcs I decided it
>  > might be an interesting (and maybe even useful) exercise
>  > to try and compile my own binaries...
>  >
>  > I downloaded a copy of the sources for version 2.20/04 11/12/98
>  > from the ROOT webpages and after some fiddling with the Makefiles
>  > tried to compile....
>  >
>  > I get the following errors:
>  >
>  > During the generation of the dictionary BASE_G__Base2.cxx I get:
>  > Error: source file "iosenum.h" cannot open FILE:/afs/cern.ch/user/
>  > j/jhays/lepton/ROOT/ROOT_egcs/root/cint/include/iostream.h LINE:31
>  >
>  > Then when it attempts to compile the generated dictionary the following
>  > error occurs:
>  >
>  > (including the compiler line so you can see which options I have used)
>  > g++  -Wall -fPIC -fno-rtti -fno-exceptions -I/usr/openwin/include -c
>  > BASE_G__Base2.cxx
>  >
>  > BASE_G__Base2.cxx: In function `int G__TStorage_SetReAllocHooks_6_1(struct
>  > G__value *, char *, struct G__param *, int)':
>  > BASE_G__Base2.cxx:248: no matching function for call to
>  > `TStorage::SetReAllocHooks (void * (**)(void *, size_t), void * (**)(void
>  > *, size_t, size_t))'
>  >
>  > TStorage.h:56: candidates are: TStorage::SetReAllocHooks(void * (*)(void
>  > *, size_t), void * (*)(void *, size_t, size_t))
>  >
>  > gmake: *** [BASE_G__Base2.o] Error 1
>  >
>  > uname -a on my system generates the following output:
>  > SunOS cms6 5.5.1 Generic_103640-19 sun4m sparc SUNW,SPARCstation-20
>  >
>  > and g++ -v the following:
>  > Reading specs from
>  > /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.60/specs
>  > gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
>  >
>  > I would be grateful for any help anyone could offer to get this to
>  > compile (or point me to some egcs compiled binaries for my system)
>  >
>  > Cheers,
>  >
>  > Jon.
>  >
>  >
>  > =====================================================
>  > Jonathan Hays
>  >
>  > Studio 103                            CERN - HC/EP
>  > 36 Rue De L'Athenee                   E27900
>  > 1206 Geneve                           1211 Geneve 23
>  > Suisse                                Suisse
>  >                                       +41 22 7671546
>  > =====================================================



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