Re: Compiling boost on tru64 (Richard Hadsell)
Mark Helzer wrote:
I'm getting this error trying to build boost tru64cxx65-C++-action bin/boost/libs/date_time/build/libboost_date_time.so/tru64 cxx65/debug/greg_month.o cxx: Error: /adp/local/src/boost_1_32_0/boost/cstdint.hpp, line 87: #5 could not open source file "inttypes.h"
Quite true, it doesn't exist. Here's my command line: bjam -sTOOLS=tru64cxx65 install
Compiler is
cxx -V
Compaq C++ V6.5-041 for Digital UNIX V4.0F (Rev. 1229) Compiler Driver V6.5-041 (cxx) cxx Driver
Is this a configuration issue?
For now, remove '|| defined(__osf__)' from line 85 of cstdint.hpp. There may be a more general fix in the current CVS version, but this change works for me (and my 4.0F system).
Kewl, that works, I got a little further down the path. Next problem:
cxx: Error: /adp/local/src/boost_1_32_0/boost/bind.hpp, line 206: #266
"value"
is ambiguous
detected during:
instantiation of class "boost::_bi::list1<A1> [with
A1=boost::_bi::list_av_1
Mark Helzer wrote:
Kewl, that works, I got a little further down the path. Next problem:
cxx: Error: /adp/local/src/boost_1_32_0/boost/bind.hpp, line 206: #266 "value" is ambiguous
Can you please try adding _bi:: in front of value and see if this fixes the problem?
Peter Dimov wrote:
Mark Helzer wrote:
Kewl, that works, I got a little further down the path. Next problem:
cxx: Error: /adp/local/src/boost_1_32_0/boost/bind.hpp, line 206: #266 "value" is ambiguous
Can you please try adding _bi:: in front of value and see if this fixes the problem?
The following patch (against 1.32) certainly allows the MIPS Pro compiler to compile that file without the two ambiguity errors. Kevin -- | Kevin Wheatley, Cinesite (Europe) Ltd | Nobody thinks this | | Senior Technology | My employer for certain | | And Network Systems Architect | Not even myself | --- /tmp/bind.hpp.orig Fri Jan 28 10:56:34 2005 +++ /data/RnD/3rdPartyLibraries/www.boost.org/boost_1_32_0/boost/bind.hpp Fri Jan 28 10:55:52 2005 @@ -203,9 +203,9 @@ A1 operator[] (boost::arg<1> (*) ()) const { return a1_; } - template<class T> T & operator[] (value<T> & v) const { return v.get(); } + template<class T> T & operator[] (_bi::value<T> & v) const { return v.get(); } - template<class T> T const & operator[] (value<T> const & v) const { return v.get(); } + template<class T> T const & operator[] (_bi::value<T> const & v) const { return v.get(); } template<class T> T & operator[] (reference_wrapper<T> const & v) const { return v.get(); }
Kevin Wheatley wrote:
Peter Dimov wrote:
Mark Helzer wrote:
Kewl, that works, I got a little further down the path. Next problem:
cxx: Error: /adp/local/src/boost_1_32_0/boost/bind.hpp, line 206: #266 "value" is ambiguous
Can you please try adding _bi:: in front of value and see if this fixes the problem?
The following patch (against 1.32) certainly allows the MIPS Pro compiler to compile that file without the two ambiguity errors.
Committed, thank you.
participants (3)
-
Kevin Wheatley
-
Mark Helzer
-
Peter Dimov