Hi,

tergeis...@gmail.com said:
> I'm trying to cross compile zeromq2-1 for a PowerPc-405 processor but
> I have several epoll errors :

epoll() was introduced in Linux kernel 2.5.44 and glibc 2.3.2, all of which
are at least 5 years old today. You really should get an updated platform
SDK for your target board.

> 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?

Try "make V=1" to turn off the silent build rules, and verify that
-DZMQ_FORCE_POLL is indeed being passed to the build for all C and C++
source files.

Mikko, Pieter, would it be worth backporting the --with-poller autoconf
stuff to 2.1.x to make this easier for people?

-mato
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to