On Mon, Nov 07, 2011 at 08:50:59AM -0600, AJ Lewis wrote:
> On Fri, Nov 04, 2011 at 09:10:52PM +0100, Pieter Hintjens wrote:
> > Great, I've applied these to zeromq2-1 and pushed back to github. When
> > I apply the patches to 3-0 there's a conflict (src/device.cpp is
> > deleted). Any chance you can make a pull request for 3-0 as well?
>
> Sure, I should be able to. I'll check it out and see what I find. You
> want both the AIX and HPUX fixes, correct?
Actually, everything compiles fine on AIX6.1 with zeromq3-0, provided
that I define "_H_LOCALEDEF" in the CXXFLAGS:
make CXXFLAGS+=-D_H_LOCALEDEF
Without that I get:
CXX libzmq_la-connect_session.lo
In file included from session.hpp:25,
from connect_session.hpp:27,
from connect_session.cpp:21:
i_engine.hpp:60: error: using typedef-name 'msg_t' after 'class'
/usr/include/sys/localedef31.h:133: error: 'msg_t' has a previous
declaration here
i_engine.hpp:63: error: using typedef-name 'msg_t' after 'class'
/usr/include/sys/localedef31.h:133: error: 'msg_t' has a previous
declaration here
Not sure why localedef31.h is getting pulled in...
Now, once I get it compiled, I do get a failure in the selftests:
PASS: test_pair_inproc
PASS: test_pair_tcp
PASS: test_reqrep_inproc
PASS: test_reqrep_tcp
PASS: test_hwm
PASS: test_reqrep_device
PASS: test_reqrep_drop
PASS: test_sub_forward
Resource temporarily unavailable (req.cpp:101)
/bin/sh: 790572 IOT/Abort trap(coredump)
FAIL: test_invalid_rep
PASS: test_shutdown_stress
PASS: test_pair_ipc
PASS: test_reqrep_ipc
PASS: test_timeo
============================================
1 of 13 tests failed
Please report to [email protected]
============================================
Not sure if that's expected in 3-1 or not...
> > On Fri, Nov 4, 2011 at 3:09 PM, AJ Lewis <[email protected]> wrote:
> > > Attached are 4 patches. They are also available on github as a pull
> > > request to zeromq2-1.
> > >
> > > The first fixes builds on AIX 6.1 for me.
> > >
> > > The next 3 are a progression of fixes to get HP-UX builds working with
> > > libdcekt for UUID generation (See
> > > https://zeromq.jira.com/browse/LIBZMQ-226). The old behavior used
> > > openssl's RAND_bytes() call, but for this to work properly on HP-UX, you
> > > need to either have openssl's prngd running, or have krng (kernel random
> > > number generator) installed. The old behavior can still be selected by
> > > using the new '--without-dce' flag to configure.
> > >
> > > I did not regenerate the automake/autoconf files for the patches. My
> > > version of automake is newer than the one used for 2.1.0, so I wasn't
> > > sure if you'd want all the new stuff that showed up with that.
> > >
> > > Regards,
> > > --
> > > AJ Lewis
> > > Software Engineer
> > > Quantum Corporation
> > >
> > > Work: 651 688-4346
> > >
> > > ----------------------------------------------------------------------
> > > The information contained in this transmission may be confidential. Any
> > > disclosure, copying, or further distribution of confidential information
> > > is not permitted unless such privilege is explicitly granted in writing
> > > by Quantum. Quantum reserves the right to have electronic communications,
> > > including email and attachments, sent across its networks filtered
> > > through anti virus and spam software programs and retain such messages in
> > > order to comply with applicable data security and retention requirements.
> > > Quantum is not responsible for the proper and complete transmission of
> > > the substance of this communication or for any delay in its receipt.
> > >
> > > _______________________________________________
> > > zeromq-dev mailing list
> > > [email protected]
> > > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> > >
> > >
> > _______________________________________________
> > zeromq-dev mailing list
> > [email protected]
> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
> --
> AJ Lewis
> Software Engineer
> Quantum Corporation
>
> Work: 651 688-4346
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
--
AJ Lewis
Software Engineer
Quantum Corporation
Work: 651 688-4346
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev