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

Eugene Kovgar ken20001 at ukr.net
Sat Jul 31 19:11:55 CEST 2010


You're completely right!!! The probles is in MPlayer configure script! And  
after I added -lvorbisenc after -lvorbis compilie process now finishes  
without error! So why developers not to enter this corrections in SVN ?
Thanks for that.

> Problem is neither in gcc nor in vorbis.
> Problem is in MPlayer configure.
>
> Functions vorbis_encode_setup_vbr, vorbis_encode_setup_managed and
> etc. are in libvorbisenc.
> So, go to MPlayer configure file and add -lvorbisenc after -lvorbis.
>
> I am compiling using gcc 4.5.0-1 without any problems.
>
> On Thu, Jul 29, 2010 at 4:59 PM, Eugene Kovgar <ken20001 at ukr.net> wrote:
>>
>> Ok. I've tried 4.4 and now old error appears:
>>
>>
>> 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+0x11a):
>> undefin
>> ed reference to `vorbis_encode_ctl'
>> libavcodec/libavcodec.a(libvorbis.o):libvorbis.c:(.text.unlikely+0x157):
>> undefin
>> ed reference to `vorbis_encode_ctl'
>> libavcodec/libavcodec.a(libvorbis.o):libvorbis.c:(.text.unlikely+0x163):
>> undefin
>> ed reference to `vorbis_encode_setup_init'
>> collect2: ld returned 1 exit status
>> make: *** [mplayer.exe] Error 1
>>
>> Damn!
>>
>> _______________________________________________
>> MPlayer-cygwin mailing list
>> MPlayer-cygwin at mplayerhq.hu
>> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-cygwin
>>



More information about the MPlayer-cygwin mailing list