Porting OpenOCD on ARM

Hello everybody

I really need your help because i’m stuck in the lasts steps.

Here is the probleme, i’m trying a portage of openOCD and all its features on an ARM board (beagleboard xm).

I’ve read in the README file that we can cross-compile it, i did and it generated the Makefile thanks to “./configure --build=… --host=arm-none-linux-gnueabi …” (the codesourcery toolchain).

But when i try to make it with “make” it works also fine until this.

/opt/CodeSourcery/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/bin/ld: jimsh.o: Relocations in generic ELF (EM: 3)
/opt/CodeSourcery/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/bin/ld: jimsh.o: Relocations in generic ELF (EM: 3)
/opt/CodeSourcery/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/bin/ld: jimsh.o: Relocations in generic ELF (EM: 3)
/opt/CodeSourcery/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/bin/ld: jimsh.o: Relocations in generic ELF (EM: 3)
/opt/CodeSourcery/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/bin/ld: jimsh.o: Relocations in generic ELF (EM: 3)
/opt/CodeSourcery/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/bin/ld: jimsh.o: Relocations in generic ELF (EM: 3)
/opt/CodeSourcery/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/bin/ld: jimsh.o: Relocations in generic ELF (EM: 3)
/opt/CodeSourcery/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/bin/ld: jimsh.o: Relocations in generic ELF (EM: 3)
jimsh.o: could not read symbols: File in wrong format 
collect2: ld returned 1 exit status
make[2]: *** [jimsh] Erreur 1

need help please !!

thank you.

Usually in these situations all you have to do is search for the error string (e.g., “relocations in generic elf”).

That’s all I did and got this, which may be apropos.

http://stackoverflow.com/questions/8168 … c-elf-em-3

If it doesn’t help, try the search and see if you find something more helpful?