[zeromq-dev] OS 10.7 Cannot Build with --with-pgm

Ron Elliott bluerocketdelivery at gmail.com
Sun Jul 22 06:43:35 CEST 2012


That should be remedied by adding -D__APPLE_USE_RFC_2292 to the compile flags, see this bug report:

http://code.google.com/p/openpgm/issues/detail?id=22

I have 3-x compiling now, but progress getting my code back to a testable state is slow so I'm still not 100% sure that it is working correctly but at least the compiler isn't complaining.

Worth noting, if you are trying to build openpgm and keep getting a "waiting for lock release on file …." error and you happen to have the source on an exFAT partition, move it off of there to get it to compile successfully.

On Jul 21, 2012, at 8:50 PM, Steven McCoy wrote:

> I have OS X 10.7 up and see the error whilst building with gcc.  
> 
> sockaddr.c: In function 'pgm_sockaddr_pktinfo':
> sockaddr.c:485: error: 'IPV6_PKTINFO' undeclared (first use in this function)
> sockaddr.c:485: error: (Each undeclared identifier is reported only once
> sockaddr.c:485: error: for each function it appears in.)
> make: *** [libpgm_noinst_la-sockaddr.lo] Error 1
> 
> -- 
> Steve-o
> 
> On 19 July 2012 09:12, Steven McCoy <steven.mccoy at miru.hk> wrote:
> Both are on the latest version, 5.1.118.  The fixes for OS X are in trunk which is currently wearing the version number 5.2.119.
> 
> -- 
> Steve-o
> 
> 
> On 18 July 2012 17:31, Ron Elliott <bluerocketdelivery at gmail.com> wrote:
> Does version 3.x use the same version of openpgm that compiles on mac? Looks like it's now just easier to upgrade if this issue doesn't exist in v3.
> 
> Thanks for your response
> 
> On Jul 17, 2012, at 12:27 PM, Steven McCoy wrote:
> 
>> On 17 July 2012 02:22, Ron Elliott <bluerocketdelivery at gmail.com> wrote:
>> Using the downloaded stable version 2.2 code I cannot get ZMQ to compile with the --with-pgm option. The project is too far along to make the switch to v3 so that's not an option atm. Any other solutions or is ZMQ dead for me?
>> 
>> 
>> It's a known issue, I have to upgrade my Mac mini from 10.6 to 10.7 to verify fixing the issue upstream in OpenPGM.
>> 
>> -- 
>> Steve-o 
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> 
> 
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> 
> 
> 
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120721/02871458/attachment.htm>


More information about the zeromq-dev mailing list