Boost logo

Boost :

From: Gaurav.Jain_at_[hidden]
Date: 2007-02-16 07:31:48


Hi Chris,

I have compiled & run some more ASIO related test cases. The details are
given below

Boost Version: 1_33_1 (64 bit build)

Asio Version: 0.3.8 (64 bit build)

Compiler Details: Sun Studio 11: C++ 5.8 Compiler

OS Details: SunOS FICTESTING 5.10 Generic_118833-03 sun4u sparc
SUNW,Sun-Fire-280R

List of test cases executed successfully:

address.cpp
address_v4.cpp
address_v6.cpp
basic_endpoint.cpp
basic_resolver.cpp
basic_resolver_entry.cpp
basic_resolver_iterator.cpp
basic_resolver_query.cpp
host_name.cpp
resolver_query_base.cpp
resolver_service.cpp
tcp.cpp
udp.cpp
unicast.cpp
v6_only.cpp

Changes done to run above test cases successfully:

1). Added #include <sys/sockio.h> in /boost/asio/detail/
socket_types.hpp under #else part of
#if defined(BOOST_WINDOWS) || defined(__CYGWIN__)

With out including sys/sockio.h 1 common error detected during
compilation of ip/tcp.cpp & ip/udp.cpp test cases

For example: while compiling "tcp.cpp "(with out including sys/sockio.h
in /boost/asio/detail/ socket_types.hpp) following error crop up

/asio_test/ip>CC -I$HOME/1.33.1/64/include -xtarget=ultra -xarch=v
9 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -library=stlport4
-features=tmplife -features=t
mplrefstatic tcp.cpp -L$HOME/1.33.1/64/lib -lboost_system-sw -lxnet
-lsocket -lnsl

"/1.33.1/64/include/boost/asio/detail/reactive_socket_service.hpp"
, line 260: Error: SIOCATMARK is not defined.

"/1.33.1/64/include/boost/asio/stream_socket_service.hpp", line 162:
     Where: While instantiating
"boost::asio::detail::reactive_socket_service<boost:
:asio::ip::tcp, boost::asio::detail::select_reactor<0>>::at_mark(const
boost::asio::de
tail::reactive_socket_service<boost::asio::ip::tcp,
boost::asio::detail::select_reacto
r<0>>::implementation_type&, boost::system::error_code&) const".

"/1.33.1/64/include/boost/asio/stream_socket_service.hpp", line 162:
     Where: Instantiated from non-template code.
1 Error(s) detected.

Following test case got failed during execution :
multicast.cpp

Details :

/asio_test/ip>CC -I$HOME/1.33.1/64/include -xtarget=ultra -xarch=v
9 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -library=stlport4
-features=tmplife
-features=tmplrefstatic multicast.cpp -L$HOME/1.33.1/64/lib
-lboost_system-sw -lxnet
-lsocket -lnsl

/asio_test/ip>./a.out
Running 2 test cases...
multicast.cpp(148): error in "ip_multicast_runtime::test": check !ec
failed
multicast.cpp(164): error in "ip_multicast_runtime::test": check !ec
failed
multicast.cpp(181): error in "ip_multicast_runtime::test": check !ec
failed
multicast.cpp(191): error in "ip_multicast_runtime::test": check !ec
failed
unknown location(0): fatal error in "ip_multicast_runtime::test":
std::length_error: i
nteger socket option resize

*** 4 failures detected in test suite "ip/multicast"

Regards,
Gaurav

DISCLAIMER:
This message contains privileged and confidential information and is intended only for an individual named. If you are not the intended recipient, you should not disseminate, distribute, store, print, copy or deliver this message. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. The sender, therefore, does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required, please request a hard-copy version.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk