[zeromq-dev] cmake support.
George Neill
georgen at neillnet.com
Tue Nov 11 10:14:16 CET 2008
Martin,
On Tue, Nov 11, 2008 at 2:44 AM, Martin Sustrik <sustrik at fastmq.com> wrote:
> George,
>
>> Okay! I have built libzmq and zmq_server successfully on aix, hpux,
>> linux, solaris and win. As soon as I get this all cleaned up and the
>> ancillary dirs added, i'll submit a patch. Unfortunately I don't have
>> a darwin, qnx or *bsd box laying around at the moment, so hopefully
>> one of you guys could help me out there?
>
> Yes, we can test it tomorrow.
>
> In the meantime: We haven't ever tested on aix or hpux. Have you had to do
> any modification to the code to make it build?
#if defined(ZMQ_HAVE_AIX) || defined(ZMQ_HAVE_HPUX)
// MSG_DONTWAIT doesn't exist, must set socket non-blocking
ssize_t nbytes = recv (r, buffer, 256, 0);
#else
ssize_t nbytes = recv (r, buffer, 256, MSG_DONTWAIT);
#endif
from libzmq, this is the only item I had to change on AIX (of course
not a real fix, just something to get past the compile error). I
suppose a private set_non_blocking(int fd) function should be created
... or something like that.
I had a couple more to deal with on HPUX, I will try to send a patch
(or the errors) for these tomorrow sometime.
BTW, I am using xlc_r on AIX and aCC on HP/UX.
Later,
George.
More information about the zeromq-dev
mailing list