Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #9  
Old 30th April 2010, 05:12 PM
Gödel's Avatar
Gödel Offline
Registered User
 
Join Date: Jul 2009
Location: London,England
Posts: 1,095
linuxfedorafirefox
Re: c compiler can not create executable files while installing madplay

try doing it like this, I am not root at any stage (replace "USER" by your user name "narendra")

Quote:
$ mkdir temp
$ cd temp
$ wget ftp://ftp.mars.org/pub/mpeg/libid3tag-0.15.1b.tar.gz
$ wget ftp://ftp.mars.org/pub/mpeg/libmad-0.15.1b.tar.gz
$ wget ftp://ftp.mars.org/pub/mpeg/madplay-0.15.1b.tar.gz

$ tar xvf libmad-0.15.1b.tar.gz
$ tar xvf libid3tag-0.15.1b.tar.gz
$ tar xvf madplay-0.15.1b.tar.gz

$ cd libmad-0.15.1b/
$ ./configure --prefix=/home/USER/temp/

$ vi Makefile (remove '-force-mem' option from CFLAGS on line 129, it causes gcc 4.3+ to fail)

$ make -j2
$ make install

$ cd ../libid3tag-0.15.1b/
$ ./configure --prefix=/home/USER/temp/
$ make -j2
$ make install

$ cd ../madplay-0.15.1b/
$ ./configure --prefix=/home/USER/temp/ CPPFLAGS="-I/home/USER/temp/include/" LDFLAGS="-L/home/USER/temp/lib"
$ make -j2
(Note, CPPFLAGS is right, I was confused with CXXFLAGS above)

But that will give you a x86 native binary, if you want to cross-compile for arm you need a cross-compiler

Last edited by Gödel; 30th April 2010 at 05:17 PM.
Reply With Quote
 

Tags
compiler, create, executable, files, installing, madplay

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
Search Path for compiler executable rohith88 Using Fedora 3 15th January 2010 02:54 AM
C compiler cannot create executables knoppix21 Using Fedora 4 19th June 2009 06:59 AM
C compiler cannot create executables.... zacharysturgeon Using Fedora 1 8th June 2008 12:11 AM
Compiler cannot create executables darkhut Using Fedora 26 28th June 2007 10:45 PM


Current GMT-time: 09:20 (Monday, 20-05-2013)

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