Tergeist, 
What SDK and Board are you using?

I'm using ELDK 4.2.  This was released in 2008.  ELDK 4.2 is using gcc 4.2.2 
(built using crosstool-devel 0.43-3)

You might want to consider giving ELDK a try, it should work with most (all?) 
powerpc's.
http://www.denx.de/wiki/DULG/ELDK
ftp://ftp.denx.de/pub/eldk/4.2/ppc-linux-x86/iso/

thanks,
Gary

________________________________________
From: [email protected] [[email protected]] 
On Behalf Of Tergeist P [[email protected]]
Sent: Thursday, October 20, 2011 8:12 AM
To: ZeroMQ development list
Subject: Re: [zeromq-dev] Cross-compiling zmq for PowerPC-405

Hi,

I don't think my SDK is old. In fact, the SDK was with my box (Linux 2.6.10) 
and I received this box in June...

Otherwise, I check with the make V=1 and the flag -DZMQ_FORCE_POLL was passed 
to the build for all C end C++
source files...

So, dou you have some ideas about my epoll errors?

Thanks a lot for your answers.

Tergeist P.


2011/10/19 Mikko Koppanen 
<[email protected]<mailto:[email protected]>>
On Wed, Oct 19, 2011 at 7:06 PM, Martin Lucina 
<[email protected]<mailto:[email protected]>> wrote:
> 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.

I think the problem is that even with ZMQ_FORCE_POLL the epoll symbols
are still compiled in (the epoll.cpp check is for ZMQ_HAVE_LINUX).

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

The --with-poller makes choosing the system easier but in addition to
this f716b571baf59c1b622c7666bb8bf2905126a3d4 is needed from libzmq
master to prevent additional polling systems from being compiled in.
In addition to this probably would make sense to change the build
system to only build the polling system chosen (currently empty
objects are created for the disabled ones).


--
Mikko Koppanen
_______________________________________________
zeromq-dev mailing list
[email protected]<mailto:[email protected]>
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to