Re: Question building 5.15/04 on Solaris 8 w/ Sun Workshop 7

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Sat, 31 Mar 2007 19:12:49 +0200


Hi Bruce,

sorry about the large response time. Could you check whether replacing

#ifndef G__NEWSTDHEADER
#if defined(__APPLE__)
#include <iostream.h>
#else
#include <stream.h>
#endif
#endif

by

#ifndef G__NEWSTDHEADER
#if defined(__APPLE__) || defined(__SUNPRO_CC)
#include <iostream.h>
#else
#include <stream.h>
#endif
#endif

in cint/lib/stream/strm.h and

#ifndef G__NEWSTDHEADER
#if defined(__APPLE__)
#include <iostream.h>
#elif defined(_WINDOWS)
#include <stdiostr.h>
#else
#include <stdiostream.h>
#endif
#endif

by

#ifndef G__NEWSTDHEADER
#if defined(__APPLE__) || defined(__SUNPRO_CC)
#include <iostream.h>
#elif defined(_WINDOWS)
#include <stdiostr.h>
#else
#include <stdiostream.h>
#endif
#endif

in cint/lib/stream/stdiostr.h

solves it for you? Note that this is not yet the final patch.

Cheers, Axel.

Bruce.Oneel_at_obs.unige.ch wrote:
> Hi,
>
> I'm trying to build Root 5.15/04 on Solaris 8 with Sun Workshop 7.
> It's not quite working.
>
> I get the same error with Root 5.14/00c as well.
>
> Thanks in advance for any help!
>
> cheers
>
> bruce
>
> bin/rmkdepend -R -fcint/src/libstrm.d -Y -w 1000 -- -KPIC -DG__REGEXP1
> -DG__UNIX -DG__OSFDLL -DG__SHAREDLIB -DG__ROOT -DG__REDIRECTIO
> -Iinclude -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/src
> -Icint/lib/ -Icint/lib/stream -D__cplusplus -- cint/src/libstrm.cxx
> CC -O -KPIC -DG__REGEXP1 -DG__UNIX -DG__OSFDLL -DG__SHAREDLIB
> -DG__ROOT -DG__REDIRECTIO -Iinclude -DG__HAVE_CONFIG -DG__NOMAKEINFO
> -DG__CINTBODY -Icint/src -Icint/lib/ -Icint/lib/stream -o
> cint/src/libstrm.o -c cint/src/libstrm.cxx
> "cint/lib/stream/stdiostr.h", line 27: Error: Could not open include
> file <stdiostream.h>.
> "cint/lib/stream/strm.h", line 25: Error: Could not open include file
> <stream.h>.
> "cint/src/libstrm.cxx", line 42: Error: std::basic_streambuf<char,
> std::char_traits<char>>::overflow(int) is not accessible from
> G__G__stream_0_1_0(G__value*, const char*, G__param*, int).
> "cint/src/libstrm.cxx", line 45: Error: std::basic_streambuf<char,
> std::char_traits<char>>::overflow(int) is not accessible from
> G__G__stream_0_1_0(G__value*, const char*, G__param*, int).
> "cint/src/libstrm.cxx", line 53: Error: std::basic_streambuf<char,
> std::char_traits<char>>::underflow() is not accessible from
> G__G__stream_0_2_0(G__value*, const char*, G__param*, int).
> "cint/src/libstrm.cxx", line 59: Error: std::basic_streambuf<char,
> std::char_traits<char>>::pbackfail(int) is not accessible from
> G__G__stream_0_3_0(G__value*, const char*, G__param*, int).
> "cint/src/libstrm.cxx", line 65: Error: std::basic_streambuf<char,
> std::char_traits<char>>::sync() is not accessible from
> G__G__stream_0_4_0(G__value*, const char*, G__param*, int).
> "cint/src/libstrm.cxx", line 73: Error: streamoff is not defined.
> "cint/src/libstrm.cxx", line 73: Error: Badly formed expression.
> "cint/src/libstrm.cxx", line 77: Error: streamoff is not defined.
> "cint/src/libstrm.cxx", line 77: Error: Badly formed expression.
> "cint/src/libstrm.cxx", line 87: Error: std::basic_streambuf<char,
> std::char_traits<char>>::seekpos(std::fpos<__mbstate_t>, int) is not
> accessible from G__G__stream_0_6_0(G__value*, const char*, G__param*,
> int).
> "cint/src/libstrm.cxx", line 90: Error: std::basic_streambuf<char,
> std::char_traits<char>>::seekpos(std::fpos<__mbstate_t>, int) is not
> accessible from G__G__stream_0_6_0(G__value*, const char*, G__param*,
> int).
> "cint/src/libstrm.cxx", line 98: Error: std::basic_streambuf<char,
> std::char_traits<char>>::xsputn(const char*, long) is not accessible
> from G__G__stream_0_7_0(G__value*, const char*, G__param*, int).
> "cint/src/libstrm.cxx", line 104: Error: std::basic_streambuf<char,
> std::char_traits<char>>::xsgetn(char*, long) is not accessible from
> G__G__stream_0_8_0(G__value*, const char*, G__param*, int).
> "cint/src/libstrm.cxx", line 116: Error: out_waiting is not a member
> of std::basic_streambuf<char, std::char_traits<char>>.
> "cint/src/libstrm.cxx", line 140: Error: stossc is not a member of
> std::basic_streambuf<char, std::char_traits<char>>.
> "cint/src/libstrm.cxx", line 211: Error: _RWSTDMutex::operator=(const
> _RWSTDMutex&) is not accessible from std::basic_streambuf<char,
> std::char_traits<char>>::operator=(const std::basic_streambuf<char,
> std::char_traits<char>>&).
> "cint/src/libstrm.cxx", line 239: Error: opfx is not a member of
> std::basic_ostream<char, std::char_traits<char>>.
> "cint/src/libstrm.cxx", line 245: Error: osfx is not a member of
> std::basic_ostream<char, std::char_traits<char>>.
> "cint/src/libstrm.cxx", line 273: Error: streamoff is not defined.
>
Received on Sat Mar 31 2007 - 19:12:49 CEST

This archive was generated by hypermail 2.2.0 : Mon Apr 02 2007 - 17:50:02 CEST