[ROOT] Problems Compiling ROOT 3

From: Chris Milne (phycm@phy.hw.ac.uk)
Date: Fri Aug 17 2001 - 15:19:53 MEST


I'm having problems compiling rootv 3.01/06 on a Solaris box

I'm using Sun CC 5.0 and GNU Make version 3.78.1 
under Solaris 2.8

I set ROOTSYS to /usr/local/root

ran 
./configure solarisCC5
gmake 

and got the following errors

Makefile:227: x3d/src/G__X3D.d: No such file or directory
Makefile:227: rootx/src/rootx.d: No such file or directory
build/unix/depend.sh rootx/src/rootx.d "-KPIC -I/usr/openwin/include 
-ptr/usr/local/root -Iinclude  " 
rootx/src/rootx.cxx > rootx/src/rootx.d
CC -O -KPIC -DG__REGEXP1 -DG__UNIX -DG__OSFDLL -Iinclude  -DG__SHAREDLIB 
-DG__ROOT -DG__REDIRECTIO 
-ptr/usr/local/root  -Icint/lib/snstream -o cint/src/sun5strm.o -c 
cint/src/sun5strm.cxx
"/usr/include/iso/wchar_iso.h", line 100: Error: Multiple declaration for 
mbstate_t.
"/opt/SUNWspro/SC5.0/include/CC/./iosfwd", line 51: Error: The name mbstate_t is 
ambiguous, std::mbstate_t and 
std::mbstate_t.
"/opt/SUNWspro/SC5.0/include/CC/./iosfwd", line 78: Error: The name mbstate_t is 
ambiguous, std::mbstate_t and 
std::mbstate_t.
"/opt/SUNWspro/SC5.0/include/CC/rw/iotraits", line 56: Error: The name mbstate_t 
is ambiguous, std::mbstate_t and 
std::mbstate_t.
4 Error(s) detected.
gmake: *** [cint/src/sun5strm.o] Error 4


any ideas anyone ??

thanks
================================================================================
==============================

Ian 

___________________________________________
Dr. Ian Galbraith,
Physics Department, Heriot-Watt University,     
Edinburgh, EH14 4AS, United Kingdom.
Tel: 0131 451 3066	Fax: 0131 451 3136  
Email: I.Galbraith@hw.ac.uk 



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