Re: [ROOT] Problems building root on solaris with gcc-3.3

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sat Jun 14 2003 - 07:45:32 MEST


Hi John,

This problem is unfortunately known and can be reproduced
on Solaris with CC5.2 or alpha/cxx.
I have forwarded this problem to Masa several weeks ago.
It is difficult for him to debug the problem. He does not have access
to one of the platforms with the problem.
Masa seems to be away for the time being.

Rene Brun

On 
Fri, 13 Jun 
2003, John Zweizig wrote:

> Hi All,
> 
> I have just attempted to build root with gcc-3.3 on a Sun workstation
> (E450) running Solaris 8. The build seems to go without any trouble and
> root works more or less, except that any attempt to use the ">>" or
> "<<" operator with cin, cout and cerr fails as follows:
> 
>   root [0] cout <<"Hi there" << endl;
>   Error: operator- not defined for basic_ostream<char,char_traits<char> >
>   FILE:(tmpfile) LINE:1
> 
> I can use cin.getline(), printf and fstreams, e.g.
> 
>   root [1] char xxx[100]
>   root [2] cin.getline(xxx,100)
>   abcdefghijlk
>   (basic_istream<char,char_traits<char> >::__istream_type)(-35132416)
>   root [3] printf("%s",xxx)
>   abcdefghijlk(const int)12
> 
> but:
> 
>   root [4] cin >> xxx
>   Error: operator- not defined for basic_istream<char,char_traits<char> >
>   FILE:(tmpfile) LINE:1
>   *** Interpreter error recovered ***
> 
> I seem to recall seeing a similar problem in rootalk, but I can't find it
> now. Can anyone suggest how I might start to tackle this problem?
> 
> Thanks in advance,
> 
> John
> 
> 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET