[zeromq-dev] Fixes for AIX and HP-UX in 2.1.10
Martin Sustrik
sustrik at 250bpm.com
Mon Nov 7 18:29:20 CET 2011
Hi AJ,
> 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...
It should not matter as msg_t should be in zmq namespace as opposed to
the global namespace.
Can you check whether adding a forward declaration in i_engine.h fixes
the error?
This way:
namespace zmq
{
class msg_t;
struct i_engine
{
...
> Resource temporarily unavailable (req.cpp:101)
> /bin/sh: 790572 IOT/Abort trap(coredump)
I'll check that one. Thanks for reporting it.
Martin
More information about the zeromq-dev
mailing list