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

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Mon, 02 Apr 2007 12:52:35 -0500


Hi Bruce,

Which 'solaris' platform did you try when configure. On your platform you should not be use libstrm.cxx but either sunstrm.cxx or sun5strm.cxx

I think you should try:

  ./configure solarisCC5

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of Bruce.Oneel_at_obs.unige.ch
Sent: Monday, April 02, 2007 5:03 AM
To: Axel Naumann
Cc: Bruce.Oneel_at_obs.unige.ch; ROOT Mailin List Subject: Re: [ROOT] Question building 5.15/04 on Solaris 8 w/ Sun Workshop 7

Hi,

No problem, thanks for an answer. Sadly the answer helps, but doesn't solve the problem.

Thanks 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/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.
"cint/src/libstrm.cxx", line 273: Error: Badly formed expression.
"cint/src/libstrm.cxx", line 512: Error: A value of type void is not
allowed.
"cint/src/libstrm.cxx", line 649: Error: bitalloc is not a member of std::basic_ios<char, std::char_traits<char>>. "cint/src/libstrm.cxx", line 687: Error: ipfx is not a member of std::basic_istream<char, std::char_traits<char>>. "cint/src/libstrm.cxx", line 693: Error: isfx is not a member of std::basic_istream<char, std::char_traits<char>>. "cint/src/libstrm.cxx", line 711: Error: streamoff is not defined. Compilation aborted, too many Error messages. make: *** [cint/src/libstrm.o] Error 1

Axel Naumann writes:
> 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.
> >
>

-- 
Time estimates - Double the number and increment the unit

Bruce O'Neel                       phone:  +41 22 379 21 57
INTEGRAL Science Data Centre               +41 22 379 21 00 (switchb.)
Chemin d'Ecogia 16                 fax:    +41 22 379 21 35
CH-1290 VERSOIX                    e-mail: Bruce.Oneel_at_obs.unige.ch
Switzerland                        WWW:    http://isdc.unige.ch/
Received on Mon Apr 02 2007 - 19:53:00 CEST

This archive was generated by hypermail 2.2.0 : Tue Apr 03 2007 - 11:50:01 CEST