[zeromq-dev] Cross Compiling and running a Client for the PowerPC

Martin Sustrik sustrik at 250bpm.com
Sat Feb 20 00:08:59 CET 2010


Hi Ryan,

> It would turn out that if i manually edit the platform.hpp to use
> malloc i get it to run.  I then had to turn on the uuid libraries and
> copy the src files (believe me, not that bad for cross compiling...)
> and bam! it finished the builds as i anticipated.
> 
> Wrapped it up in a kernel and it fired right up!  There might be a
> more elegant way to do this but this would do for now.  For
> clarification, I just used the program prompt, I didn't try the
> forwarder/queue/etc on the powerpc either.
> 
> I was thinking of overriding the 'ac_cv_func_malloc_0_nonnull' var to
> be true - it might make the malloc problem vanish.  I am just not sure
> what that variable controls.  If you have any questions on how to do
> this or what i did - feel free to ask!

I would say we should at least document what you've done. Maybe some of 
the functionality can be added to the package itself later on.

Anyway, if you'll send me a short text describing how to build 0MQ with 
uClibc, I'll post it on the web page.

> Thanks for making this software guys!  It is well done.

Thanks!
Martin



More information about the zeromq-dev mailing list