Nov 25, 2009

Complie Mplayer With Gcc4.0 - Patch file is provided

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Operating Systems > Linux

Complie Mplayer With Gcc4.0 - Patch file is provided

jedipi
GCC 4.0 comes with the new Fedora core 4.
MPlayer cannot be compiled in this new environment.
If you have Fedora core 4 or upgraded to GCC4 and have problems on compiling MPlayer,
now worry, follow the steps:

1. Download all neccessry files. They are:

* the source code of mplayer, I prefer the latest release: MPlayer-1.0pre7.tar.bz2
* mplayer-1.0_pre7-gcc4.patch. As you can see, this is a patch file for MPlayer 1.0pre7,
In order the compile mplayer under gcc-4.0 environment, this patch must be applied
This patch file can be download here:
http://www.magiclinux.org/people/sunmoon19...pre7-gcc4.patch
* Codecs. You can download either essential-codecs or all-codecs
* some codecs are optional, such as LIVE.COM, lzo and libmad etc..
htto://www.live.com
* ttf fonts.
Files can be found in MPlayer's website.
http://www.mplayerhq.hu/homepage/design7/dload.html

2. Compile
2.1 prepare codecs
CONSOLE

# tar jxf all-20050412.tar.bz2
# mv all-20050412 /usr/local/lib/codecs
# ln -s /usr/local/lib/codecs /usr/lib/win32

2.2 preparation for MPlayer source (apply the patch)
CONSOLE

# tar jxf MPlayer-1.0pre7.tar.bz2
# cd MPlayer-1.0pre7
# patch -p1 < ../mplayer-1.0_pre7-gcc4.patch
patching file liba52/imdct.c
patching file libavcodec/avcodec.h
patching file libavcodec/common.h
patching file libavcodec/libpostproc/postprocess_template.c
patching file libmpdemux/frequencies.h
patching file libvo/aclib_template.c
patching file mmx.h
patching file postproc/swscale_template.c


2.3 install LIVE.COM plugin (optional)
CONSOLE

# tar zxf live.2005.04.23.tar.gz
# cd live
# ./genMakefiles linux
# make
# cd ..
# mv live /usr/lib/live


2.4 compile and install
CONSOLE

# cd MPlayer-1.0pre7
# ./configure –-enable-live
# make && make install


3. Enjoy it.

NOTIC:
GUI is not enabled as I don't have gtk installed in my system.
add '--enable-gui' after './configure' if you wannt to user GUI
add '–-enable-live' after './configure' if you have LIVE.COM installed.

 

 

 


Comment/Reply (w/o sign-up)

jedipi
The problem of compiling with GCC4 has been fixed in the new CVS version mplyer.
Download the CVS mplayer for MPlayer website.
http://www.mplayerhq.hu/homepage/design7/dload.html

it is in daily CVS snapshot source (2nd row of the table)

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : complie, mplayer, gcc4, 0, patch, file, provided

  1. Linux Basic Command - For Storing Compilation Error To File
    (1)
  2. How To Copy File & Folders From Linux To Windows?.
    (14)
    Many face problem while transfering file from Linux to windows and Vise versa. My solution for
    this is "winscp405". Winscp is a windows freeware tool used to copy file from & to Linux machine.
    To get this tool just google for " winscp405" tool and download this small package and install.
    Enjoy working with Linux and windows /tongue.gif" style="vertical-align:middle" emoid=":P"
    border="0" alt="tongue.gif" />....
  3. Simple Ubuntu Based Home File Server | For Newbies
    (1)
    This tutorial explains how to turn an old PC with additional hard disks into a simple home file
    server. The file server is intended for home use. The home file server is accessible by Windows and
    Linux computers in the home network. http://www.howtoforge.com/ubuntu-home-fileserver
    _________________________________ http://dserban01.googlepages.com/linkedin....abap.basis.html ....
  4. File Rename Script, Sentence
    Large collection of files to rename! (7)
    Hello there, Today I've encoded lots of mp3's for my portable mp3 player (which only has
    128mb ... /blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" />),
    Anyway I encoded them with Lame using mlame script (for those don't know it handles more files
    then one). Now mlame appends "-new-converted-file" to the filename. And renaming every individual
    file with the hand is A LOT of work /mellow.gif" style="vertical-align:middle" emoid=":mellow:"
    border="0" alt="mellow.gif" />. I tried to write a script to remove that "-new-conv....
  5. Running Shell Script And Redirect To Log File?
    (4)
    I have a shell script like this: while true do sh a.sh sh b.sh done now I want the script not just
    call and run a.sh and b.sh, but also output some log files. here is what I did: while true do sh
    a.sh sh a.sh >>log sh b.sh sh b.sh >>log done I know this is not a good way.... is there any better
    way to do it?? Thank you....
  6. Installing Mplayer 1.0 Pre7 From Source
    for new linux user (1)
    1.Intro: installation environment: FC3 This new version Mplayer can play rm file very well and
    many bugges were fixed. if you want to play stream media with mplayer, please download the package
    from live.com and put it to /usr/lib after compiled then when you compile Mplayer please use the
    following options --enable-live --with-livelibdir=/usr/lib/live 2.download: - MPlayer-1.0pre7
    ----------------- http://www4.mplayerhq.hu/MPlayer/releases/...1.0pre7.tar.bz2 - Codes --------
    i. CODES-all http://mplayer.ethz.ch/MPlayer/releases/co...0050412.tar.bz2 ii. win32_....
  7. No Such File Or Directory While Trying To Open Abl
    (5)
    dear all, Yesterday, I modified the /etc/fstab file in order to mount my usb thumb driver
    atomaticly. dev is sba1 and the mount point is /mnt/usb. I cannot remember what other parameters
    had been used, as I got something emegene to do. I just use "halt -n" comman to shutdown the PC.
    Today, I found that it cannot boot into the system. when it checking root filesystem:
    fsck.ext3:ABEL=/: The superblock could not be read or does not describled a coorect ext2 file
    system. If the device is valid and it realy contains an ext2 filesystem (and not swap or ufs or
    something else)....
  8. Why Do Normal Cannot Use Fat32 Volumn
    please, here is my fstab file (3)
    The following is my fstab. /dev/hda1 and /dev/hda5 is fat32 format. root can use after login, but
    nor the normal users. why? and how can I allow normal users to read the files inside fat32?? #
    /etc/fstab: static file system information. # # proc /proc proc defaults 0 0 /dev/hda6 /
    reiserfs notail 0 1 /dev/hda7 none swap sw 0 0 /dev/hdc /media/cdrom0 udf,iso9660 ro,user,noauto 0 0
    /dev/hda1 /mnt/winc vfat rw,user,auto 0 0 /dev/hda5 /mnt/wind vfat rw,user,auto 0 0 /dev/sda1
    /mnt/usb auto rw,user,auto 0 0....
  9. Help ! Can't Install Rpm File
    (2)
    I just installed redhat 9. and try to install some software. I use the following comman to do so:
    rpm -ivh file.rpm After I press Enter key, error message was shown: "can't create transaction
    lock" what should i do?....

    1. Looking for complie, mplayer, gcc4, 0, patch, file, provided

See Also,

*SIMILAR VIDEOS*
Searching Video's for complie, mplayer, gcc4, 0, patch, file, provided
advertisement



Complie Mplayer With Gcc4.0 - Patch file is provided

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com