Boost logo

Boost Users :

From: Nikolai N Fetissov (nikolai-boost_at_[hidden])
Date: 2008-05-28 20:41:45


> Trying to build multicast boost example on SunOS 5.10 Generic_118833-36
> sun4u sparc SUNW,Sun-Fire
> Got the foolwing errors.
> Any help appreciated
>
>
> cd /ilx/src/dbs/boost_1_35_0/libs/asio/example/multicast
> /ilx/src/dbs/boost_1_35_0/tools/jam/src/bin.solaris/bjam --toolset=sun
> sun.compile.c++
> ../../../../bin.v2/libs/asio/example/multicast/sun/debug/threading-multi/receiver.o
> "../../../../boost/asio/detail/socket_ops.hpp", line 202: Error: Cannot
> assign void* to char*.
> "../../../../boost/asio/detail/socket_ops.hpp", line 213: Error: Cannot
> assign void* to char*.
> "../../../../boost/array.hpp", line 75: Error: Too few arguments for
> template std::reverse_iterator<boost::T*>.
> "../../../../boost/array.hpp", line 289: Where: While specializing
> "boost::array<boost::T, boost::N>".
> "../../../../boost/array.hpp", line 289: Where: Specialized in
> non-template code.
> "../../../../boost/array.hpp", line 76: Error: Too few arguments for
> template std::reverse_iterator<const boost::T*>.

Gregory,

Sun compiler in studio 11 is not supported.
It's missing many language features and
Rogue Wave STL that comes with it is crippled.
You'll have better luck compiling with gcc and
linking with Sun linker.

--
 Nikolai

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net