[zeromq-dev] Question about epoll

Martin Sustrik sustrik at 250bpm.com
Tue Jul 12 12:51:04 CEST 2011


On 07/12/2011 12:27 PM, BELLUS Stefan wrote:

> I want to try 0mq on our embedded devices (powerpc) with linux 2.6.21.7.
> I guess this version doesn’t support epoll.
> I cross compile 0mq and I run ‘./local_lat tcp:eth0:5555 1 100000’ I get
> following print out
> Function not implemented
> epoll_fd != -1 (epoll.cpp:41)
> Aborted

Yes. Looks like epoll is not supported by the OS. Interesting.

> Did I compile it wrong? Is it possible to use 0mq without epoll?

Yes. Just define ZMQ_FORCE_POLL.

export CXXFLAGS=-DZMQ_FORCE_POLL
./configure
make

Martin



More information about the zeromq-dev mailing list