
Christopher Kohlhoff <chris <at> kohlhoff.com> writes:
If possible, can you retry with the boost.asio 0.3.8 release
candidate:
http://sourceforge.net/project/showfiles.php?group_id=122478 or against the CVS HEAD version of boost. It won't work for HP-UX yet, but I'd like to make the changes against the latest source code. If
the
changes are trivial (meaning changes to #ifdefs only) then I'd be happy to add support for HP-UX in 0.3.8 (but only with _XOPEN_SOURCE_EXTENDED undefined).
Cheers, Chris
Hi Chris, I am yet to try boost.asio 0.3.8. But I have tried to build the daytime_client.cpp on AIX 5.3 with xlC 8.00 and Solaris 10 with Studio 11 without any success. Following errors relating to msghdr crop up often on Solaris: /boost/1_33_1/64/boost/asio/detail/socket_ops.hpp", line 170: Err or: msg_control is not a member of msghdr. "/boost/1_33_1/64/boost/asio/detail/socket_ops.hpp", line 171: Err or: msg_controllen is not a member of msghdr. "/boost/1_33_1/64/boost/asio/detail/socket_ops.hpp", line 172: Err or: msg_flags is not a member of msghdr. "/boost/1_33_1/64/boost/asio/detail/socket_ops.hpp", line 197: Err or: msg_control is not a member of msghdr. "/boost/1_33_1/64/boost/asio/detail/socket_ops.hpp", line 198: Err or: msg_controllen is not a member of msghdr. " /boost/1_33_1/64/boost/asio/detail/socket_ops.hpp", line 199: Err or: msg_flags is not a member of msghdr. Errors on AIX 5.3: "/home/gauravj/1_33_1/include/boost/asio/error.hpp", line 292.21: 1540-1260 (S) An obj ect of type "std::basic_string<char,std::char_traits<char>,std::allocator<char> >" can not be constructed from an rvalue of type "int". "/home/gauravj/1_33_1/include/boost/asio/detail/socket_ops.hpp", line 600.61: 1540-025 6 (S) A parameter of type "hostent_data *" cannot be initialized with an expression of type "char *". "/home/gauravj/1_33_1/include/boost/asio/detail/socket_ops.hpp", line 600.61: 1540-120 5 (I) The error occurred while converting to parameter 5 of "gethostbyaddr_r(const cha r *, size_t, int, hostent *, hostent_data *)". "/home/gauravj/1_33_1/include/boost/asio/detail/socket_ops.hpp", line 655.49: 1540-025 6 (S) A parameter of type "hostent_data *" cannot be initialized with an expression of type "char *". "/home/gauravj/1_33_1/include/boost/asio/detail/socket_ops.hpp", line 655.49: 1540-120 5 (I) The error occurred while converting to parameter 3 of "gethostbyname_r(const cha r *, hostent *, hostent_data *)". Regards, Gaurav Jain