[zeromq-dev] rpl_malloc undefined when cross-compiling (was Re: Port of ZeroMQ to QNX 6.4)

Martin Lucina mato at kotelna.sk
Wed Mar 10 22:56:13 CET 2010


sustrik at 250bpm.com said:
> As for rpl_malloc, this is what I've found:
> 
> http://sources.redhat.com/ml/automake/2003-05/msg00043.html
> 
> Others may have suggestions about the issue.

This appears to be an autoconf bug which occurs on some platforms when
cross-compiling. A workaround is to do the following before calling
./configure:

    export ac_cv_func_malloc_0_nonnull=yes

I'm not aware of any better solution, sorry.

-mato



More information about the zeromq-dev mailing list