Boost logo

Boost :

From: Gaurav.Jain_at_[hidden]
Date: 2007-03-13 09:28:47


Hi Chris,

>
> Hi Gaurav,
>
> On Wed, 7 Mar 2007 18:20:48 +0530, Gaurav.Jain <at> iflexsolutions.com
said:
> > Hi,
> >
> > Am compiling & running the BOOST ASIO test case on IBM AIX machine.
The
> > detail of this activity is as follow:
> [...]
> > "/1.33.1/include/boost-1_33_1/boost/asio/ip/basic_endpoint.hpp",
line
> > 176.14: 1540-0217 (S) "ss_family" is not a member of "struct
> > socbkaddr_storage".
>
> These error messages don't correspond to the asio 0.3.8 release
> candidate 2. Can confirm if you are using that version? Thanks.
>

I am afraid to say that you are right in your observation. I am now
using asio 0.3.8rc2 to compile and run the asio test cases. I am able to
run the following test cases successfully:

basic_datagram_socket.cpp
basic_deadline_timer.cpp
basic_socket_acceptor.cpp
basic_stream_socket.cpp
buffer.cpp
buffered_read_stream.cpp
buffered_stream.cpp
buffered_write_stream.cpp
completion_condition.cpp
datagram_socket_service.cpp
deadline_timer.cpp
deadline_timer_service.cpp
error.cpp
io_service.cpp
is_read_buffered.cpp
is_write_buffered.cpp
placeholders.cpp
read.cpp
read_until.cpp
socket_acceptor_service.cpp
socket_base.cpp
strand.cpp
stream_socket_service.cpp
time_traits.cpp
write.cpp

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

Following test cases are throwing ambiguous reference to "ip" error
during compilation:

"socket_base.cpp", line 38.5: 1540-0600 (S) The reference to "ip" is
ambiguous.
"/usr/include/netinet/ip.h", line 141.8: 1540-0425 (I) "ip" is defined
on line 141 of
"/usr/include/netinet/ip.h".

"/1.33.1/include/boost/asio/ip/basic_resolver.hpp", line 27.11:
1540-0425
 (I) "boost::asio::ip" is defined on line 27 of
"/1.33.1/include/boost/as
io/ip/basic_resolver.hpp".
"/1.33.1/include/boost/asio/ip/resolver_service.hpp", line 27.11:
1540-04
25 (I) "boost::asio::ip" is defined on line 27 of
"/1.33.1/include/boost/
asio/ip/resolver_service.hpp".
"/1.33.1/include/boost/asio/ip/basic_endpoint.hpp", line 36.11:
1540-0425
 (I) "boost::asio::ip" is defined on line 36 of
"/1.33.1/include/boost/as
io/ip/basic_endpoint.hpp".
"/1.33.1/include/boost/asio/ip/address.hpp", line 33.11: 1540-0425 (I)
"b
oost::asio::ip" is defined on line 33 of
"/1.33.1/include/boost/asio/ip/address.hpp".

socket_base.cpp
address_v4.cpp
address_v6.cpp
host_name.cpp
tcp.cpp
udp.cpp
unicast.cpp
v6_only.cpp

After qualifying boost::asio:: to all the ip in the above mentioned test
cases, I am able to compile & execute them.

> > multicast.cpp
> >
> >
> >
> > command line : /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 multicast.cpp -L$HOME/1.33.1/64/lib -lboost_system-sw
> > -lxnet -lsocket -l
> >
> > nsl
> >
> >
> >
> > /asio_test/ip>./a.out
> >
> > Running 2 test cases...
> >
> > multicast.cpp(241): error in "ip_multicast_runtime::test": check !ec
> > failed
> >
> > unknown location(0): fatal error in "ip_multicast_runtime::test":
> > std::length_error: b
> >
> > oolean socket option resize
>
> Any chance you can run this test in the debugger and find out:
>
> - The value of ec at line 241
>
> - The call stack for where the exception is thrown.

I have not run multicast.cpp. Once I run it, will tell you the results.

Regards,
Gaurav Jain

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