Re: Error compiling Mplayer: in libmpcodecs/vd_mpng.o

Milen Manev <[email protected]> Fri, 30 Jul 2010 22:39:56 +0300
Newsgroups gmane.comp.video.mplayer.cygwin
Message-ID <[email protected]>
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 <[email protected]> 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
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-cygwin
>

-- 
Milen Manev