[MPlayer-cygwin] Error compiling Mplayer: in libmpcodecs/vd_mpng.o
Milen Manev
mmanev at gmail.com
Fri Jul 30 21:39:56 CEST 2010
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
>
--
Milen Manev
More information about the MPlayer-cygwin
mailing list