[zeromq-dev] OS 10.7 Cannot Build with --with-pgm
Steven McCoy
steven.mccoy at miru.hk
Sun Jul 22 16:35:48 CEST 2012
On 22 July 2012 00:43, Ron Elliott <bluerocketdelivery at gmail.com> wrote:
> That should be remedied by adding -D__APPLE_USE_RFC_2292 to the compile
> flags, see this bug report:
>
>
I actually read the headers this time:
*/usr/include/netinet6/in6.h*:
/* RFC 3542 define the following socket options in a manner incompatible
* with RFC 2292:
* IPV6_PKTINFO
* IPV6_HOPLIMIT
* IPV6_NEXTHOP
* IPV6_HOPOPTS
* IPV6_DSTOPTS
* IPV6_RTHDR
*
* To use the new IPv6 Sockets options introduced by RFC 3542
* the constant __APPLE_USE_RFC_3542 must be defined before
* including <netinet/in.h>
*
* To use the old IPv6 Sockets options from RFC 2292
* the constant __APPLE_USE_RFC_2292 must be defined before
* including <netinet/in.h>
*
* Note that eventually RFC 3542 is going to be the
* default and RFC 2292 will be obsolete.
*/
The RFC 2292 version of IPV6_PKTINFO:
#define IPV6_2292PKTINFO 19 /* bool; send/recv if, src/dst addr */
The RFC 3542 version:
#define IPV6_RECVPKTINFO 61 /* bool; recv if, dst addr
* APPLE: Value purposely different than
FreeBSD (36) to avoid
* collision with definition of
IPV6_TCLASS in previous
* darwin implementations */
--
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120722/97ffd4d1/attachment.htm>
More information about the zeromq-dev
mailing list