Christophe Cholet

Libipu: file in wrong format

Discussion created by Christophe Cholet on Apr 3, 2012

Hi all,

 

When linking with libipu.so.0, this message occurs:

libipu.so.0: could not read symbols: File in wrong format

 

If ii create a dummy.so lib, i can link it perfectly, so it's probably libipu.so.0 that is different.

I notice a compilator difference when using the file command:

 

lucid@ubuntu:~/rainbow$ file dummy.so
bidon.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped

and

lucid@ubuntu:~/rainbow$ file libipu.so.0
libipu.so.0: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, not stripped

 

libipu.so.0 is compilated with ARM version, so i suppose i've to compile too with ARM. How can i configure makefile to use ARM compilator ?

thanks.

Outcomes