Fedora Linux Support Community & Resources Center
  #1  
Old 13th May 2010, 02:11 PM
naren4055 Offline
Registered User
 
Join Date: Apr 2010
Posts: 19
windows_xp_2003firefox
How to cross compile Mplayer into Arm target board

i am new bie to linux , can any one tell me how to cross compile Mplayer into ARM target board , my target board details are http://www.friendlyarm.net/products/mini2440,
and i have successfully compiled Mplayer in intel pc which architecture details are
Code:
Linux localhost 2.6.27.5-117.fc10.i686 #1 SMP Tue Nov 18 12:19:59 EST 2008 i686 i686 i386 GNU/Linux
i followed this link in order to compile Mplayer , that is http://www.mjmwired.net/resources/mplayer-fedora.html
and my board cross compiler name is arm-linux-gcc 4.3.2, i tried in the following way
Code:
export CROSS_COMPILE=/home/narendra/friendlyarm/usr/local/arm/4.3.2/bin/arm-none-linux-gnueabi-
export PATH=/home/narendra/friendlyarm/usr/local/arm/4.3.2/bin:$PATH
./configure --enable-gui --enable-largefiles --enable-menu --prefix=/home/narendra/mplayerarm --confdir=/etc/mplayer --target=arm-linux
but it is compiling for intel i686, but not for arm architecture .pls tell me how to cross compile MPlayer into arm board
Reply With Quote
  #2  
Old 18th May 2010, 12:13 PM
naren4055 Offline
Registered User
 
Join Date: Apr 2010
Posts: 19
windows_xp_2003firefox
Error: Symbol mangling check failed

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
Reply With Quote
  #3  
Old 18th May 2010, 12:18 PM
leigh123linux
Guest
 
Posts: n/a
linuxfedorafirefox
Re: How to cross compile Mplayer into Arm target board

Please keep your mplayer problem to one thread only.

One more double post and you will be nominated for a ban for breach of rules.

P.S dont tag the post with your username as it isn't useful .
Reply With Quote
Reply

Tags
arm, board, compile, cross, mplayer, target

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cross-compile kernel on F8 phe Using Fedora 4 15th September 2008 06:42 PM
Cross Compile Howto? Pinn2 Using Fedora 8 8th April 2008 09:46 AM
gcc cross compiler for target i386-pc-mingw32 early-ehlinger Programming & Packaging 8 14th February 2008 09:10 PM
Cross-Compile The_Jaymz Programming & Packaging 2 12th October 2006 10:31 PM


Current GMT-time: 09:33 (Wednesday, 17-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat