[zeromq-dev] Cross compiling - uuid

Mikko Koppanen mikko.koppanen at gmail.com
Thu Aug 18 00:59:46 CEST 2011


On Wed, Aug 17, 2011 at 1:27 PM, BLOTTIERE Paul
<paul.blottiere at fr.thalesgroup.com> wrote:
> Hi,
>
> I spent yesterday trying to cross-compile zeroMQbut with a compiler for powerpc (my embeded system). The development host is a Debian installation. Note that I already use ZMQ on the same computer but not in cross compiling, and I didn't have any problem.
>
> So, in order to make cross compiling, I configure again zmq (after a 'make uninstall'):
>
> ./configure --prefix=/home/moi/local --target=powerpc-linux  host=x86_64-linux CC=<..>/bin/powerpc-405-linux-gnu-gcc
>
> And I have the line following whereas uuid-dev is installed :
> "checking for uuid_generate in -luuid... no
> configure: error: cannot link with -luuid, install uuid-dev."
>
> In the config.log, I have the same error and I saw it was trying to find libuuid in the /lib of my compiler's folder so I made a symlink :
> ln -s /lib/libuuid.so
> ln -s /lib/libuuid.so.1
>

Hi Paul,

you need to cross-compile libuuid for your target architecture. The
process should be similar as with Android
(http://www.zeromq.org/distro:android#toc1) but with different target
arch.

-- 
Mikko Koppanen



More information about the zeromq-dev mailing list