i am new bie to linux , i was trying to cross compile mplayer into arm target board which has arm -linux-gcc 4.3.2 compiler , i got follwing error message
Code:
[narendra@localhost mplayer-checkout-2010-05-04]$ export PATH=/home/narendra/friendlyarm/usr/local/arm/4.3.2/arm-none-linux-gnueabi/bin:$PATH
[narendra@localhost mplayer-checkout-2010-05-04]$ ./configure --target=arm-linux --enable-gui --enable-largefiles --enable-menu --prefix=/home/narendra/friendlyarm/usr/local/arm/4.3.2/arm-none-linux-gnueabi/bin --confdir=/etc/mplayer
Checking for cc version ... 4.3.2
Detected operating system: Linux
Detected host architecture: arm
Checking for host cc ... cc
Checking for cross compilation ... yes
Checking for byte order ... failed to autodetect byte order, defaulting to little-endian
Checking for extern symbol prefix ...
Error: Symbol mangling check failed.
Check "configure.log" if you do not understand why it failed.
and configure.log file details are
Code:
configuration: --target=arm-linux --enable-gui --enable-largefiles --enable-menu --prefix=/home/narendra/friendlyarm/usr/local/arm/4.3.2/arm-none-linux-gnueabi/bin --confdir=/etc/mplayer
============ Checking for cc version ============
Result is: 4.3.2
##########################################
============ Checking for host cc ============
Result is: cc
##########################################
============ Checking for cross compilation ============
int main(void) { return 0; }
cc -I. -o /tmp/mplayer-conf-3702-9904 /tmp/mplayer-conf-20582-9904.c
as: unrecognized option '-Qy'
Result is: yes
##########################################
============ Checking for byte order ============
short ascii_name[] = { (('M'<<8)|'P'),(('l'<<8)|'a'),(('y'<<8)|'e'),(('r'<<8)|'B'),
(('i'<<8)|'g'),(('E'<<8)|'n'),(('d'<<8)|'i'),(('a'<<8)|'n'),0};
int main(void) { return (int)ascii_name; }
cc -I. -o /tmp/mplayer-conf-3702-9904 /tmp/mplayer-conf-20582-9904.c
as: unrecognized option '-Qy'
Result is: little-endian
##########################################
============ Checking for extern symbol prefix ============
int ff_extern;
cc -I. -o /tmp/mplayer-conf-3702-9904 /tmp/mplayer-conf-20582-9904.c -c
as: unrecognized option '-Qy'
i was trying these steps in fedora 10 version and architecture details are linux 2.6 and intel i386.
pls tell me how to solve this problem.
and i have sucessfully compiled mplayer in intel desktop pc according to following site
http://www.mjmwired.net/resources/mplayer-fedora.html
and my taget bord details are
http://www.friendlyarm.net/products/mini2440