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

Eugene Kovgar ken20001 at ukr.net
Wed Jul 28 18:59:52 CEST 2010


>>>> 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

^(



More information about the MPlayer-cygwin mailing list