[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 09:03:35 CET 2010


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


Where was I wrong?

Thanks
Kermit



More information about the MPlayer-users mailing list