[zeromq-dev] 0MQ/2.0-beta1 on OSX

Martin Sustrik sustrik at 250bpm.com
Wed Jan 13 09:55:05 CET 2010


Asko,

> Running actual tests on OS X PowerPC fails, though:
> 
> <<
> $ ./local_lat tcp://en0:5555 1 10000
> Assertion failed: (rc == 0), function main, file local_lat.c, line 52.
> <<
> 
> 'errno' is 22 (EINVAL), which is not one of the documented values for  
> zmq_bind(): http://api.zeromq.org/zmq_bind.3.html

It looks like the NIC name resolving code doesn't work as expected. 
Check using IP address of the NIC instead of NIC name. If it works, can 
you possibly debug the NIC name resolving code (ip.cpp:184) and check 
out why it fails on OSX/ppc?

Thanks.
Martin



More information about the zeromq-dev mailing list