Kermit Mei wrote:
Dear all,
I'm compile a newest version of mplayer which got from svn just now. Can I configure it like this:
./configure --prefix=/usr --target=arm-linux --cc=arm-none-linux-gnueabi-gcc --host-cc=gcc-4.1 --enable-cross-compile
Then 'make' , but I miss the following error:
/opt/arm-none/bin/../lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: mp_fifo.o: Relocations in generic ELF (EM: 3) mp_fifo.o: could not read symbols: File in wrong format collect2: ld returned 1 exit status make: *** [mplayer] Error 1 By the way, the file is like this: $ file mp_fifo.o mp_fifo.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped
I consider that it should be a executive file for ARM, but not Intel 80386 (my host).
Where was I wrong?
Thanks Kermit