again Solaris with EGCS

From: Wolfgang Korsch (wkorsch@server1.pa.uky.edu)
Date: Wed Sep 22 1999 - 00:28:12 MEST


 Hi Everybody,
  I have been trying to compile ROOT 2.22/10 on a Sun Solaris 5.6 with
  gcc-2.95-1.
  Unfortunately the standard ROOT Makefile.solarisegcs file fails with
  the following error:

--------------------------------------------  
   ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
chmod: WARNING: can't access 
/cern/root/lib/libCint.so
/cern/root/lib/libCint.so done
g++ -O2 -fPIC -I/usr/openwin/include -c MAIN_cppmain.cxx
g++ -O2 -o /cern/root/bin/cint MAIN_cppmain.o \
        -L /cern/root/lib -lCint -lm -ltermcap -ldl -L/usr/ccs/lib -lgen
ld: fatal: library -lCint: not found
ld: fatal: File processing errors. No output written to 
/cern/root/bin/cint
collect2: ld returned 1 exit status
make: *** [/cern/root/bin/cint] Error 1

---------------------------------------------

Using the Makefile supplied by  Michal Lijowski seems to work until

----------------------------------------------

g++ -O2 -fPIC -I/usr/openwin/include -fno-rtti -c UNIX_UnixSystem.cxx
UNIX_UnixSystem.cxx: In method `void TUnixSystem::IgnoreInterrupt(unsigned char 
= kTRUE)':
UNIX_UnixSystem.cxx:413: assignment to `void (*)(int)' from `void (*)()'
UNIX_UnixSystem.cxx: In function `static void TUnixSystem::UnixSignal(ESignals, 
void (*)(ESignals))':
UNIX_UnixSystem.cxx:1840: assignment to `void (*)(int)' from `void (*)()'
make: *** [UNIX_UnixSystem.o] Error 1

-----------------------------------------------

Can anybody help me sloving this problem? Thanks in advance.


Wolfgang



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