[zeromq-dev] Port of ZeroMQ to QNX 6.4

Martin Sustrik sustrik at 250bpm.com
Sat Mar 6 14:15:31 CET 2010


Hi Armin,

> I have tried to recompile ZeroMQ for QNX 6.4 and need some help.
> 
> Here are my steps:
> 
> - configure command:  "CC=qcc CXX=QCC configure --with-c --with-perf"
> - because of rpl_malloc isn't available I have added  "#define 
> rpl_malloc malloc" to platform.hpp
> - modified the LIBS specification of the Makefile located in perf to 
> "LIBS = -lcpp -lcxa  -lstdc++ -lssl  -lsocket -lecpp"
> 
> With this modification the recompilation works well.

Old version of 0MQ (1.0) were able to compile on QNX out of the box. 
Mato Lucina or Palo Malosek may have some insights on how to fix the 
above issues in systematic way.

> Starting "local_lat" with the command  "local_lat 
> tcp://192.168.178.129:5555 10 1000" shows the following abort:
> 
> # local_lat tcp://192.168.178.129:5555 10 10
> Assertion failed: !(it->revents & POLLNVAL) (poll.cpp:170)
> Abort (core dumped)
> 
> There must also be some basic problems ... the termination of 
> "local_lat" aborts within the libcpp.so.4 calling the destructor of 
> io_base.

Can you supply the backtrace?

Martin



More information about the zeromq-dev mailing list