[MPlayer-users] Compile problem
Captain Blade
0blade at gmail.com
Wed Jun 13 23:26:03 CEST 2007
Hello Everyone,
I've tried to re-compile mplayer with GUI under Fedora 7.
Without GUI, the compile worked, but it couldn't display the video:
[root at thunderchild Anime]# mplayer
\[C1\]Honey_And_Clover_-_09\[XviD\]\[4AACB417\].avi
MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) D CPU 2.80GHz (Family: 15, Model: 4, Stepping: 4)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Playing [C1]Honey_And_Clover_-_09[XviD][4AACB417].avi.
AVI file format detected.
VIDEO: [XVID] 704x396 24bpp 30.000 fps 836.6 kbps (102.1 kbyte/s)
Clip info:
Software: VirtualDubMod 1.5.10.1 (build 2439/release)
vo_cvidix: No vidix driver name provided, probing available ones (-v
option for details)!
[VO_SUB_VIDIX] Couldn't find working VIDIX driver.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 704 x 396 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [null] 704x396 => 704x396 Planar YV12
A: 1.4 V: 1.4 A-V: 0.008 ct: 0.011 44/ 44 11% 0% 0.9% 0 0
Exiting... (Quit)
When I tried to compile with the --enable-gui option, I got a linker error:
make[1]: Leaving directory `/home/Blade/Download/MPlayer-1.0rc1/Gui'
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=prescott
-mtune=prescott -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include
-I/usr/include/freetype2 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I. -I./libavutil -I./libavcodec -o
mplayer mplayer.o m_property.o mp_msg.o asxparser.o codec-cfg.o
cpudetect.o edl.o find_sub.o m_config.o m_option.o m_struct.o
parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o
vobsub.o unrarlib.o mixer.o parser-mpcmd.o subopt-helper.o libvo/libvo.a
libao2/libao2.a input/libinput.a Gui/libgui.a -lgtk-x11-2.0
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpng12 -lm -lpangocairo-1.0
-lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
-lglib-2.0 libmpcodecs/libmpcodecs.a loader/libloader.a
loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a libaf/libaf.a
libmpdemux/libmpdemux.a stream/stream.a libswscale/libswscale.a
osdep/libosdep.a -Wl,-z,noexecstack -Llibmpdvdkit2 -lmpdvdkit
libavformat/libavformat.a libavcodec/libavcodec.a
libavutil/libavutil.a libpostproc/libpostproc.a -lpng -lz
-lz -lncurses -lpthread -ldl -rdynamic -lm
libfaad2/libfaad2.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a
tremor/libvorbisidec.a libass/libass.a -lfontconfig -lfreetype -lGL
-ldl -lXinerama -lXext -lX11 -lpthread vidix/libvidix.a
Gui/libgui.a(interface.o): In function `guiInit':
interface.c:(.text+0xa1a): undefined reference to `vo_setwindow'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
I have bot gtk+, gtk2 and the lib for both.
Any idea why could this happen?
Blade
More information about the MPlayer-users
mailing list