[MPlayer-cygwin] Error compiling Mplayer: in libmpcodecs/vd_mpng.o

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Jul 28 19:53:52 CEST 2010


On Wed, Jul 28, 2010 at 07:59:52PM +0300, Eugene Kovgar wrote:
> >>>>Then next error appears:
> >>>>
> >>>>ene/include/dirac   -I/home/Eugene/include/schroedinger-1.0
> >>>>-I/home/Eugene/inclu
> >>>>de/orc-0.4   -c -o unrar_exec.o unrar_exec.c
> >>>>unrar_exec.c:24:22: fatal error: sys/wait.h: No such file or directory
> >>>>compilation terminated.
> >>>>make: *** [unrar_exec.o] Error 1
> >>>>
> >>>>I understand that error. It is because I have not got this
> >>>>package. But
> >>>>where can I find the package with that files (unrar_exec.o,
> >>>>unrar_exec.c)
> >>>>and what is it called?
> >>>>Thanks for your attention.
> >>>
> >>>unrar_exec.c is an mplayer file. the problem is that mingw
> >>>does not have
> >>>sys/wait.h. whyyyyyy are you using --enable-unrarexec ? thats what
> >>>is causing the break.
> >>>
> >>>-compn
> >>Because automatically Mplayer configure script shoosing NO for
> >>unrar_exec.
> >>So, how to compile it with it under MinGW? Where can I get this wait.h
> >>file?
> >
> >i think unrar_exec (and thus rar vobsubs) only works in linux. someone
> >could modify unrar_exec to use unrar.exe on windows but it might be a
> >lot of work...
> >
> >-compn
> 
> Understood. --enable-unrarexec removed, reconfigured. And now
> another error ^) :
> 
> 
> libavcodec/libavcodec.a(libvorbis.o):libvorbis.c:(.text.unlikely+0xb2):
> undefine
> d reference to `vorbis_encode_setup_vbr'
> libavcodec/libavcodec.a(libvorbis.o):libvorbis.c:(.text.unlikely+0xf4):
> undefine
> d reference to `vorbis_encode_setup_managed'
> libavcodec/libavcodec.a(libvorbis.o):libvorbis.c:(.text.unlikely+0x116):
> undefin
> ed reference to `vorbis_encode_ctl'
> libavcodec/libavcodec.a(libvorbis.o):libvorbis.c:(.text.unlikely+0x153):
> undefin
> ed reference to `vorbis_encode_ctl'
> libavcodec/libavcodec.a(libvorbis.o):libvorbis.c:(.text.unlikely+0x15f):
> undefin
> ed reference to `vorbis_encode_setup_init'
> collect2: ld returned 1 exit status
> make: *** [mplayer.exe] Error 1
> 
> ^(

Sometimes I feel like I am watching someone hitting themselves on a finger
with a hammer, crying out loud, and immediately grabbing the hammer again to
hit themselves on the next finger.
Just stop using those --enable options already _as configure even tells you_.


More information about the MPlayer-cygwin mailing list