I just found some time and I have tried to recompile
ROOT source code version 2.00/05 with GNU cc compiler
under Solaris 2.5. I could compile almost all source
code to get most shared object libraries except CINT,
UNIX, and VENUS. Below are the error messages where
the compilation/linking fails.
I don't need VENUS, I think, but at some point I would like
to replace HBOOK, HPLOT, and PAW with ROOT.
Thanks for any help.
Michal
----------------------------------------------------------------------------
Michal Lijowski Washington University
Research Associate St. Louis, MO 63130-4899, USA
Department of Physics phone: 314-935-6285
Campus Box 1105 email: lijowski@cosray2.wustl.edu
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/cc1plus /var/tmp/cca005zp.ii -quiet -dumpbase CINT_bcstrm.cc -O -version -fPIC -o /var/tmp/cca005zp.s
GNU C++ version 2.7.2.3 (sparc) compiled by GNU C version 2.7.2.3.
CINT_bcstrm.cxx: In function `int G__streambuf_do_sputn_6_0(struct G__value *, char *, struct G__param *, int)':
CINT_bcstrm.cxx:89: no member function `streambuf::do_sputn(const char *, int)' defined
CINT_bcstrm.cxx: In function `int G__streambuf_do_sgetn_7_0(struct G__value *, char *, struct G__param *, int)':
CINT_bcstrm.cxx:94: no member function `streambuf::do_sgetn(char *, int)' defined
make: *** [CINT_bcstrm.o] Error 1
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/cc1plus /var/tmp/cca0060A.ii -quiet -dumpbase UNIX_UnixSystem.cc -O -version -fPIC -o /var/tmp/cca0060A.s
GNU C++ version 2.7.2.3 (sparc) compiled by GNU C version 2.7.2.3.
UNIX_UnixSystem.cxx: In method `void TUnixSystem::IgnoreInterrupt(unsigned char = 1)':
UNIX_UnixSystem.cxx:386: assignment to `void (*)(int)' from `void (*)()'
UNIX_UnixSystem.cxx: In function `static void TUnixSystem::UnixSignal(enum ESignals, void (*)(enum ESignals))':
UNIX_UnixSystem.cxx:1734: assignment to `void (*)(int)' from `void (*)()'
make: *** [UNIX_UnixSystem.o] Error 1
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/cc1plus /var/tmp/cca0060K.ii -quiet -dumpbase VENUS_Venus.cc -O -version -fPIC -o /var/tmp/cca0060K.s
GNU C++ version 2.7.2.3 (sparc) compiled by GNU C version 2.7.2.3.
/usr/ccs/bin/as -V -Qy -s -K PIC -o VENUS_Venus.o /var/tmp/cca0060K.s
/usr/ccs/bin/as: SC4.0 dev 15 Feb 1995
ld: fatal: file VENUS_G__Venus.o: unknown type, unable to process using elf(3E) libraries
ld: warning: file VENUS_Venus.o: attempted multiple inclusion of file
ld: fatal: File processing errors. No output written to VENUS_G__Venus.o
make: *** [VENUSSO] Error 1