[MPlayer-users] Problem compiling mPlayer from svn.

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Oct 6 16:18:28 CEST 2012

bat guano <batguano999 <at> hotmail.com> writes:

> ============ Checking for OggVorbis support ============
> #include <vorbis/vorbisenc.h>
> int main(void) { vorbis_encode_ctl(0, 0, 0); return 0; }
> cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
> -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes 
> -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement 
> -std=gnu99 -Werror-implicit-function-declaration -O4 -march=native 
> -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize 
> /tmp/mplayer-configure--29033/tmp.c -Ilibdvdread4 -I. -Iffmpeg  -D_REENTRANT 
> -I/usr/include/directfb -I/usr/include/     -D_REENTRANT   
> -I/usr/include/freetype2   -ffast-math   -lncurses -lsmbclient -lpng -lz 
> -ljpeg -lopenjpeg -lungif -lasound -ldl -lpthread -lcdda_interface 
> -lcdda_paranoia -L/usr/lib/i386-linux-gnu -lfreetype -lz -lfontconfig 
> -lfribidi -lass -lenca -lz -lbz2 -llzo2 -lmad  -ldirectfb  -lXext 
> -lX11 -lpthread -lXv -lvdpau -lXinerama -lXxf86vm -lXxf86dga -lggi -laa 
> -L/usr/lib -lcaca -lvga -lSDL -lGL -ldl -lesd   -laudio -lXt -lpulse 
> -ljack -lopenal  -ltwolame -o /tmp/mplayer-configure--29033/tmp 
> -lvorbis -logg -lm
> Result is: yes (libvorbis)

To quote from your pastebin output:
cc -o mencoder mencoder.o
-lvorbis -logg
libvorbisenc.c:(.text.unlikely+0x194): undefined reference 
to `vorbis_encode_ctl'

I have no idea how this happens, just use --disable-libvorbis
(What system is this?)

Carl Eugen

More information about the MPlayer-users mailing list