RE: [ROOT] Problems compiling ROOT 2.25.03

From: Andrés Gómez Tato (agomez@cesga.es)
Date: Fri Sep 28 2001 - 11:12:54 MEST


Hello Rene and thank you for your fast answer.

We are using the option solarisgcc

Best regards

-----Mensaje original-----
De:	Rene Brun [SMTP:Rene.Brun@cern.ch]
Enviado el:	viernes, 28 de septiembre de 2001 6:55
Para:	AndrXs GXmez Tato
CC:	roottalk@pcroot.cern.ch
Asunto:	Re: [ROOT] Problems compiling ROOT 2.25.03

The ./configure supports the following combinations on Solaris:

solaris              for Solaris CC
solarisCC5           for Solaris CC 5.0
solarisegcs          for Solaris egcs 1.1.x
solarisgcc           for Solaris gcc 2.8.1
solariskcc           for Solaris KCC

Which one did you select ?

It could also be that 2.25 was not fully ported to Solaris with gcc.
Version 3 is OK.

Rene Brun

Andrés Gómez Tato wrote:
> 
> Hello.
> 
> Several users of CESGA have requested the instalation of ROOT (version 2.25.03)  in our machines for compatibility with their experimental software. We have downloaded it and making the compilation with gcc we obtain several errors that I send attached in this mail. Could you help us?
> 
> Thanks in advance
> 
> Best regards
> 
> Andres Gomez Tato
> Dep. Aplications & Projects
> Centro de Supercomputacion de Galicia S.A.
> Avda. de Vigo s/n
> E-15706 Santiago de Compostela
> Spain
> Tel. +34 981569810
> Fax: +34 981594616
> e-mail: agomez@cesga.es
> URL: http://www.cesga.es
> 
> SO: SunOS 5.6
> Arch: SPARC
> Compiler: gcc 2.95.3
> gmake:  3.76.1
> 
> ROOTSYS=<directory where I decompressed root>
> configure: solarisgcc --with-xpm=<libXpm.a found in cern ftp>
> 
> Make out
> 
> --8<--------------
> 
> gcc -O -fPIC -DG__REGEXP1 -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT
> -DG__REDIRECTIO -Iinclude  -o cint/src/loadfile.o -c cint/src/loadfile.c
> g++ -shared -O -o lib/libCint.so cint/src/auxu.o cint/src/cast.o
> cint/src/debug.o cint/src/decl.o cint/src/disp.o cint/src/dump.o
> cint/src/end.o cint/src/error.o cint/src/expr.o cint/src/fread.o
> cint/src/func.o cint/src/g__cfunc.o cint/src/gcoll.o                   0x268
> /opt/cesga/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/libstdc++.a(isgetline.o)
> _IO_getline_info                    0x1fc
> /opt/cesga/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/libstdc++.a(isgetline.o)
> _IO_getline_info                    0xa0
> /opt/cesga/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/libstdc++.a(isgetline.o)
> _IO_getline_info                    0x18
> /opt/cesga/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/libstdc++.a(iogetline.o)
> __expm1                             0x8c
> /opt/cesga/SUNWspro/WS6/lib/libm.a(cosh.o)__expm1
> 0x108       /opt/cesga/SUNWspro/WS6/lib/libm.a(tanh.o)__expm1
>             0xbc        /opt/cesga/SUNWspro/WS6/lib/libm.a(tanh.o)__expm1
>                         0x98
> /opt/cesga/SUNWspro/WS6/lib/libm.a(sinh.o)_IO_file_xsputn
> [...]
> 
> ifstream::ios virtual table         0xcc
> /opt/cesga/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/libstdc++.a(fstream.o)
> fseek                               0x15c
> /opt/cesga/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/libstdc++.a(stdiostream.o)
> .umul                               0x14c
> /opt/cesga/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/libstdc++.a(floatconv.o)
> .umul                               0x15c
> /opt/cesga/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/libstdc++.a(floatconv.o)
> .umul                               0x594
> /opt/cesga/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/libstdc++.a(floatconv.o)
> .umul                               0x510
> /opt/cesga/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/libstdc++.a(floatconv.o)
> .umul                               0x4f4
> /opt/cesga/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/libstdc++.a(floatconv.o)
> .umul                               0x574
> /opt/cesga/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/libstdc++.a(floatconv.o)
> .umul                               0x1cf4
> t/cesga/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/libstdc++.a(iovfscanf.o)
> _IO_getc                            0xe4c
> /opt/cesga/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/libstdc++.a(iostream.o)
> _IO_getc                            0x814
> /opt/cesga/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/libstdc++.a(iostream.o)
> _IO_getc                            0x7
> 
> [...]
> 
> <unknown>                           0xc58
> /opt/cesga/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/libstdc++.a(iovfscanf.o)
> <unknown>                           0xc68
> /opt/cesga/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/libstdc++.a(iovfscanf.o)
> <unknown>                           0xc70
> /opt/cesga/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/libstdc++.a(iovfscanf.o)
> ld: fatal: relocations remain against allocatable but non-writable sections
> collect2: ld returned 1 exit status
> gmake: *** [lib/libCint.so] Error 1
> 
> -------------->8--



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:00 MET