
Hi Chris, Christopher Kohlhoff <chris <at> kohlhoff.com> writes:
Hi Gaurav,
Thanks for taking the time to look into this!
First, can you confirm for me whether the Sun C++ compiler defines the macro "__sun"?
On Fri, 16 Feb 2007 12:08:46 +0530, Gaurav.Jain <at>
iflexsolutions.com said:
1). Added #include<stdlib.h> in all above cpp files
Ok.
2). Added #include<signal.h> in /boost/asio/detail/posix_signal_blocker.hpp
Ok.
Following test case got failed on execution : socket_base.cpp
It seems that the SO_SNDLOWAT and SO_RCVLOWAT socket options are not supported on Solaris 10. I just need to confirm this, and if it is the case I will change the code to expect this failure.
Cheers, Chris
Following test case got failed during execution : multicast.cpp
The errors from this test indicate a problem with multicast and IPv6. Do you have IPv6 network interfaces (including loopback) present on this system (i.e. visible when you run ifconfig)? Is multicast enabled
for them?
Sorry Chris, IPv6 network interfaces not available on my machine.
can you confirm for me whether the Sun C++ compiler defines the macro "__sun"?
Form the Solaris 10 man pages following are the predefined macros: __BUILTIN_VA_ARG_INCR __cplusplus __DATE__ __FILE__ __LINE__ __STDC__ = 0 __SVR4 __SUNPRO_CC = 0x580 __SUNPRO_CC_COMPAT = 4 or 5 __sun sun __TIME__ __`uname -s`_`uname -r` (replacing invalid charac- ters with underscores, for example: -D__SunOS_5_8, -D__SunOS_5_9) __unix unix _WCHAR_T __ARRAYNEW if the "array" forms of operators new and delete are enabled _BOOL if type bool is enabled
Following test case got failed on execution : socket_base.cpp
It seems that the SO_SNDLOWAT and SO_RCVLOWAT socket options are not supported on Solaris 10. I just need to confirm this, and if it is the
case I will change the code to expect this failure.
FYI: http://www.opengroup.org/onlinepubs/000095399/functions/xsh_chap02_10.ht ml A select() operation testing the ability to write to a socket shall return true only if the send low water mark could be processed. The default value for SO_SNDLOWAT is implementation-defined and protocol-specific. It is implementation-defined whether the SO_SNDLOWAT option can be set. Also according to Solaris 10 man page following options are supported for setsockopt() SO_DEBUG, SO_BROADCAST, SO_REUSEADDR, SO_KEEPALIVE, SO_LINGER, SO_OOBINLINE, SO_SNDBUF, SO_RCVBUF, SO_DONTROUTE SO_SNDLOWAT and SO_RCVLOWAT are not even supported on HP-UX. 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.