[zeromq-dev] Cross-compiling zmq for PowerPC-405

Tergeist P tergeist.p at gmail.com
Wed Oct 19 16:04:37 CEST 2011


Hi,

I'm trying to cross compile zeromq2-1 for a PowerPc-405 processor but
I have several epoll errors :

./autogen.sh

./configure --target=powerpc-405-linux-gnu CC=powerpc-405-linux-gnu-gcc \
    CXX=powerpc-405-linux-gnu-g++ --with-cpp --with-chat
--with-documentation

make

  -make[1]: Entering directory '/home/omni/zmq/zeromq2-1/perf'
  -CXX    local_lat.o
  -CXXLD  local_lat
    -../src/.libs/libzmq.so: undefined reference to 'epoll_wait'
    -../src/.libs/libzmq.so: undefined reference to 'epoll_ctl'
    -../src/.libs/libzmq.so: undefined reference to 'epoll_create'


So, I tried with -DZMQ_FORCE_POLL or -DZMQ_FORCE_SELECT :

export CPPFLAGS="-DZMQ_FORCE_POLL"

./configure --target=powerpc-405-linux-gnu CC=powerpc-405-linux-gnu-gcc \
    CXX=powerpc-405-linux-gnu-g++ --with-cpp --with-chat
--with-documentation

make

  -make[1]: Entering directory '/home/omni/zmq/zeromq2-1/perf'
  -CXX    local_lat.o
  -CXXLD  local_lat
    -../src/.libs/libzmq.so: undefined reference to 'epoll_wait'
    -../src/.libs/libzmq.so: undefined reference to 'epoll_ctl'
    -../src/.libs/libzmq.so: undefined reference to 'epoll_create'

But, it doesn't change anything... Would you mind helping me please?

Best Regards,

Tergeist P.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20111019/7d356fda/attachment.htm>


More information about the zeromq-dev mailing list