[zeromq-dev] Cross compiling - libzmq.so : file format not recognized

BLOTTIERE Paul paul.blottiere at fr.thalesgroup.com
Thu Aug 18 16:24:25 CEST 2011


Hi, 

I would like to cross-compile but I have a problem. Note that I already use ZMQ on the same computer but not in cross compileing, and I didn't have any problem.

In order to install ZMQ with a specific compiler for the cross-compileing, I made :

"./configure --prefix=<..>/compiler-root --target=powerpc-405-linux-gnu 
            --host=powerpc-405-linux-gnu CC=<..>/compiler-root/bin/compiler 
            LDFLAGS="-L/<..>/compiler-root/lib" \
            CFLAGS="-I/<..>/compiler-root/include" \

make

make install"

No problem until I tried to compile a very simple "client.c hello_world" with my specific compiler :

"<..>/compiler-root/lib/libzmq.so : file not recognized : File format not recognized
collect2 : ld returned 1 exit status"

Would you mind helping me please?

Regards,

P.



More information about the zeromq-dev mailing list