[MPlayer-users] problems with current cvs

Sascha Sommer saschasommer at freenet.de
Wed Oct 31 17:34:20 CET 2001


I've 2 problems with current cvs

1.
When I run "./configure --enable-gui" in latest cvs configure outputs

Extra libs : -L/usr/lib
Extra headers : -I/usr/include
./configure: test: too many arguments
./configure: test: too many arguments

Checking for gtk version ... ./configure: gtk12-config: command not found
Checking for gtk includes ... done
Checking for gtk libs ... done

Checking for glib version ... ./configure: glib12-config: command not found
Checking for glib includes ... done
Checking for glib libs ... done
Creating config.h


Problem:
"which gtk12-config" (configure: line 1799 and following) doesnt't return
zero on (my) machine if "gtk12-config" doesn't exist.
Instead it returns

which: no gtk12-config in
(/opt/kde2/bin:/opt/kde2/bin:/opt/kde/bin:/usr/local
/qt/bin:/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/u
sr
/X11R6/bin:/bin:/usr/lib/java/bin:/usr/games/bin:/usr/games:/opt/gnome/bin:/
op
t/kde/bin)

That's why there are too many arguments =>BufferOverflow => configure sets
_gtkconfig to "gtk12-config", which doesn't exist. Same happens with glib.
I commented out the two problematic lines but I hope there's a better
solution to solve this.


2.
"make" quits with following error

gcc -rdynamic -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-poin
ter
-D_REENTRANT -fomit-frame-pointer  -Ilibmpdemux -Iloader -Ilibvo -I/usr/incl
ude
-I/usr/lib/glib/include -I/usr/X11R6/include   -o mplayer
mplayer.o -Llibmpdemux -lmpdemux ima4.o xacodec.o cpudetect.o mp_msg.o
ac3-iec958.o find_sub.o dec_audio.o dec_video.o codec-cfg.o subreader.o
lirc_mp.o cfgparser.o mixer.o spudec.o
dll_init.o   -Lloader -lloader -Lloader/DirectShow -lDS_Filter -lstdc++ -Lli
bavcodec -lavcodec -Llibmpeg2 -lmpeg2 -Llibao2 -lao2 -Lmp3lib -lMP3 -Llibac3
 -lac3 -lasound    -Llibvo -lvo  -L/usr/X11R6/lib -L/usr/lib   -L/usr/local/
lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread -lXxf86dga -lX11 -lXext -lXv -
lXxf86vm -lvgagl -lvga -lpng -lz  -lnsl -laa -lvorbis -lm -lXinerama  -lz -L
/usr/local/lib/ -lcss -LGui -lgui -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -r
dynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L/usr/lib -lglib -ldl -
lpthread  -Llinux -losdep -Lpostproc -lpostproc -Lxa -lxa -ldivxdecore
opendivx/postprocess.o  -lm
libvo/libvo.a(vo_sdl.o): In function `init':
vo_sdl.o(.text+0xf5f): undefined reference to `SDL_CreateYUVOverlay'
libvo/libvo.a(vo_sdl.o): In function `flip_page':
vo_sdl.o(.text+0x172f): undefined reference to `SDL_DisplayYUVOverlay'
libvo/libvo.a(vo_sdl.o): In function `uninit':
vo_sdl.o(.text+0x17cc): undefined reference to `SDL_FreeYUVOverlay'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1


Again commenting out critical lines solves the problem. But what will happen
if I use SDL with YUVOverlay ?


I hope anyone can help me. If you need other output or system info I'll send
it too.

S.Sommer






More information about the MPlayer-users mailing list