Re: [ROOT] root compilation on SUN solaris 5.8

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Feb 08 2002 - 08:21:37 MET


Stefan,

I have no problems in compiling ROOT on Solaris with CC5.
You have a problem with the include path. The system includes
should not be in /opt/SUNWspro/SC5.0 for CC5.
Check your compiler setup.

Rene Brun


Stefan Iulian wrote:
> 
>  Hi rooters,
> 
>  I tried to compile root 3.03/00 and 3.03/07 on
> solaris 5.8 with solarisCC5 option, and I get:
> --------------------------------------------------
> 
>   CC -O -KPIC -DG__REGEXP1 -DG__UNIX -DG__OSFDLL
> -Iinclude -DHAVE_CONFIG -DG__SHAREDLIB -DG__ROOT
> -DG__REDIRECTIO -ptr/home/stefan/cern/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
> 
> ----------------------------------------------
> 
> What can I do?
> 
>  Cheers,
>  Iulian
> 
> __________________________________________________
> Do You Yahoo!?
> Send FREE Valentine eCards with Yahoo! Greetings!
> http://greetings.yahoo.com



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:41 MET