[MPlayer-users] Why mp_fifo.o can't be linked when I cross compiled mplayer?

Kermit Mei kermit.mei at gmail.com
Mon Feb 1 10:21:19 CET 2010


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
>
>



More information about the MPlayer-users mailing list