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.

