[asio].[hp-ux].[1_33_1] Build related issue

Hi, I have tried using boost 1_33_1 on HP UX machine, while compiling the program I am getting some errors. Can anybody help me out? The detail of the compilation is as follows: Boost Version: 1_33_1 bjam install -sTOOLS=acc --prefix="/home/pthakre/boost" --builddir="/tmp" \ "-sBUILD=release <runtime-link>dynamic/static <threading>multi <cxxflags>+DD64 <cflags>+DD64 <linkflags>+DD64" --without-python Jamfile Compiler Details: aCC: HP C/aC++ B3910B A.06.13 [Nov 27 2006] OS Details: HP-UX B.11.23 ia64 While compiling "daytime_server.cpp" with -D_HPUX_SOURCE -D_XOPEN_SOURCE_EXTENDED, I am getting the following error: "boost-1_33_1/include/boost/asio/detail/socket_types.hpp", line 136: error #2020: identifier "ip_mreq" is undefined typedef ip_mreq in4_mreq_type; Also, from /usr/include/netinet/in.h #ifndef _XOPEN_SOURCE_EXTENDED /* * Argument structure for IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP. */ struct ip_mreq { struct in_addr imr_multiaddr; /* IP multicast address of group */ struct in_addr imr_interface; /* local IP address of interface */ }; #endif /* ! _XOPEN_SOURCE_EXTENDED */ Compiling "daytime_server.cpp" without -D_HPUX_SOURCE -D_XOPEN_SOURCE_EXTENDED, I m getting 22 errors. I have done the following changes: Line 575 ./asio/detail/socket_ops.hpp: #if defined(BOOST_WINDOWS) || defined(__CYGWIN__) || defined(__hpux) Line 611 ./asio/detail/socket_ops.hpp: #if defined(BOOST_WINDOWS) || defined(__CYGWIN__) || defined(__hpux) Line 274 ./asio/error.hpp: #if defined(__sun) || defined(__QNX__) || defined(__hpux) Line 109 ./asio/system_exception.hpp: #elif defined(__sun) || defined(__QNX__) || defined(__hpux) Regards, Gaurav

Hello, That is one of the 'nice' features on HP/UX os. With X/Open compliant functions (_XOPEN_SOURCE_EXTENDED) you are unable to use multicasting (struct ip_mreq is not! defined). HP support told my that they would make a change request in order to provide an patch which enable multicasting with X/Open functions - but if ansd when thiswill happen no one knows. Regards, Oliver
Hi,
I have tried using boost 1_33_1 on HP UX machine, while compiling the program I am getting some errors. Can anybody help me out?
The detail of the compilation is as follows:
Boost Version: 1_33_1
bjam install -sTOOLS=acc --prefix="/home/pthakre/boost" --builddir="/tmp" \ "-sBUILD=release <runtime-link>dynamic/static <threading>multi <cxxflags>+DD64 <cflags>+DD64 <linkflags>+DD64" --without-python Jamfile
Compiler Details: aCC: HP C/aC++ B3910B A.06.13 [Nov 27 2006]
OS Details: HP-UX B.11.23 ia64
While compiling "daytime_server.cpp" with -D_HPUX_SOURCE -D_XOPEN_SOURCE_EXTENDED, I am getting the following error:
"boost-1_33_1/include/boost/asio/detail/socket_types.hpp", line 136: error #2020: identifier "ip_mreq" is undefined typedef ip_mreq in4_mreq_type;
Also, from /usr/include/netinet/in.h
#ifndef _XOPEN_SOURCE_EXTENDED /* * Argument structure for IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP. */ struct ip_mreq { struct in_addr imr_multiaddr; /* IP multicast address of group */ struct in_addr imr_interface; /* local IP address of interface */ };
#endif /* ! _XOPEN_SOURCE_EXTENDED */
Compiling "daytime_server.cpp" without -D_HPUX_SOURCE -D_XOPEN_SOURCE_EXTENDED, I m getting 22 errors.
I have done the following changes:
Line 575 ./asio/detail/socket_ops.hpp: #if defined(BOOST_WINDOWS) || defined(__CYGWIN__) || defined(__hpux)
Line 611 ./asio/detail/socket_ops.hpp: #if defined(BOOST_WINDOWS) || defined(__CYGWIN__) || defined(__hpux)
Line 274 ./asio/error.hpp: #if defined(__sun) || defined(__QNX__) || defined(__hpux)
Line 109 ./asio/system_exception.hpp: #elif defined(__sun) || defined(__QNX__) || defined(__hpux)
Regards, Gaurav
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Do you know the number of Change Request?
Thanks,
Boris
----- Original Message -----
From:
Hello,
That is one of the 'nice' features on HP/UX os. With X/Open compliant functions (_XOPEN_SOURCE_EXTENDED) you are unable to use multicasting (struct ip_mreq is not! defined). HP support told my that they would make a change request in order to provide an patch which enable multicasting with X/Open functions - but if ansd when thiswill happen no one knows. Regards, Oliver

No - the HP guy told me that only a service request was sended. I hope he rely did it :) Oliver
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Boris Gubenko Sent: Thursday, February 08, 2007 3:11 PM To: boost-users@lists.boost.org Cc: Boris Gubenko Subject: Re: [Boost-users] [asio].[hp-ux].[1_33_1] Build related issue
Do you know the number of Change Request?
Thanks, Boris
----- Original Message ----- From:
To: Sent: Wednesday, February 07, 2007 3:12 AM Subject: Re: [Boost-users] [asio].[hp-ux].[1_33_1] Build related issue Hello,
That is one of the 'nice' features on HP/UX os. With X/Open compliant functions (_XOPEN_SOURCE_EXTENDED) you are unable to use multicasting (struct ip_mreq is not! defined). HP support told my that they would make a change request in order to provide an patch which enable multicasting with X/Open functions - but if ansd when thiswill happen no one knows. Regards, Oliver
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Do you know the name of the HP support specialist you spoke with?
Thanks,
Boris
----- Original Message -----
From:
No - the HP guy told me that only a service request was sended. I hope he rely did it :) Oliver
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Boris Gubenko Sent: Thursday, February 08, 2007 3:11 PM To: boost-users@lists.boost.org Cc: Boris Gubenko Subject: Re: [Boost-users] [asio].[hp-ux].[1_33_1] Build related issue
Do you know the number of Change Request?
Thanks, Boris
----- Original Message ----- From:
To: Sent: Wednesday, February 07, 2007 3:12 AM Subject: Re: [Boost-users] [asio].[hp-ux].[1_33_1] Build related issue Hello,
That is one of the 'nice' features on HP/UX os. With X/Open compliant functions (_XOPEN_SOURCE_EXTENDED) you are unable to use multicasting (struct ip_mreq is not! defined). HP support told my that they would make a change request in order to provide an patch which enable multicasting with X/Open functions - but if ansd when thiswill happen no one knows. Regards, Oliver
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Hello Boris, May I ask how you are related to HP? The call number regarding to multicastin issue was 1214012192. I'm not sure if it is allowed to expose its name. The call was opened over my company - so I'm not sure. I've to ask my boss first. Regards,Oliver
Do you know the name of the HP support specialist you spoke with?
Thanks, Boris
----- Original Message ----- From:
To: Sent: Thursday, February 08, 2007 9:19 AM Subject: Re: [Boost-users] [asio].[hp-ux].[1_33_1] Build related issue No - the HP guy told me that only a service request was sended. I hope he rely did it :) Oliver
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Boris Gubenko Sent: Thursday, February 08, 2007 3:11 PM To: boost-users@lists.boost.org Cc: Boris Gubenko Subject: Re: [Boost-users] [asio].[hp-ux].[1_33_1] Build related issue
Do you know the number of Change Request?
Thanks, Boris
----- Original Message ----- From:
To: Sent: Wednesday, February 07, 2007 3:12 AM Subject: Re: [Boost-users] [asio].[hp-ux].[1_33_1] Build related issue Hello,
That is one of the 'nice' features on HP/UX os. With X/Open compliant functions (_XOPEN_SOURCE_EXTENDED) you are unable to use multicasting (struct ip_mreq is not! defined). HP support told my that they would make a change request in order to provide an patch which enable multicasting with X/Open functions - but if ansd when thiswill happen no one knows. Regards, Oliver
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Hello Boris, the external SR number is 8606474255 - could you please so kind to give me some informations about its status if you have access to it. Regards,Oliver
Do you know the name of the HP support specialist you spoke with?
Thanks, Boris
----- Original Message ----- From:
To: Sent: Thursday, February 08, 2007 9:19 AM Subject: Re: [Boost-users] [asio].[hp-ux].[1_33_1] Build related issue No - the HP guy told me that only a service request was sended. I hope he rely did it :) Oliver
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Boris Gubenko Sent: Thursday, February 08, 2007 3:11 PM To: boost-users@lists.boost.org Cc: Boris Gubenko Subject: Re: [Boost-users] [asio].[hp-ux].[1_33_1] Build related issue
Do you know the number of Change Request?
Thanks, Boris
----- Original Message ----- From:
To: Sent: Wednesday, February 07, 2007 3:12 AM Subject: Re: [Boost-users] [asio].[hp-ux].[1_33_1] Build related issue Hello,
That is one of the 'nice' features on HP/UX os. With X/Open compliant functions (_XOPEN_SOURCE_EXTENDED) you are unable to use multicasting (struct ip_mreq is not! defined). HP support told my that they would make a change request in order to provide an patch which enable multicasting with X/Open functions - but if ansd when thiswill happen no one knows. Regards, Oliver
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Oliver Kowalke wrote:
Hello Boris, the external SR number is 8606474255 - could you please so kind to give me some informations about its status if you have access to it.
Thanks for the SR number. I looked it up. It was entered as a High priority
problem and the people owning the header(s) are working on the fix. I'll add
an enclosure stating that the customer has inquired about the status of the
case and that this bug affects asio boost library.
To answer your question in the other mail: I work for HP: the C/C++ compiler
team.
Thanks again,
Boris
----- Original Message -----
From:
Hello Boris, the external SR number is 8606474255 - could you please so kind to give me some informations about its status if you have access to it. Regards,Oliver
Do you know the name of the HP support specialist you spoke with?
Thanks, Boris
----- Original Message ----- From:
To: Sent: Thursday, February 08, 2007 9:19 AM Subject: Re: [Boost-users] [asio].[hp-ux].[1_33_1] Build related issue No - the HP guy told me that only a service request was sended. I hope he rely did it :) Oliver
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Boris Gubenko Sent: Thursday, February 08, 2007 3:11 PM To: boost-users@lists.boost.org Cc: Boris Gubenko Subject: Re: [Boost-users] [asio].[hp-ux].[1_33_1] Build related issue
Do you know the number of Change Request?
Thanks, Boris
----- Original Message ----- From:
To: Sent: Wednesday, February 07, 2007 3:12 AM Subject: Re: [Boost-users] [asio].[hp-ux].[1_33_1] Build related issue Hello,
That is one of the 'nice' features on HP/UX os. With X/Open compliant functions (_XOPEN_SOURCE_EXTENDED) you are unable to use multicasting (struct ip_mreq is not! defined). HP support told my that they would make a change request in order to provide an patch which enable multicasting with X/Open functions - but if ansd when thiswill happen no one knows. Regards, Oliver
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (3)
-
Boris Gubenko
-
Gaurav.Jain@iflexsolutions.com
-
Oliver.Kowalke@qimonda.com