[MPlayer-users] mplayer compile error against libtheora-1.0alpha3

Erik Augustson erik_27can at yahoo.com
Tue Jun 22 01:46:30 CEST 2004


Heya all,

I've installed libtheora-1.0alpha3 and enabled it in mplayer, however i get the
following errors when it attempts to link mplayer and mencoder:

libmpcodecs/libmpcodecs.a(vd_theora.o)(.text+0x86): In function `init':
: undefined reference to `theora_info_init'
libmpcodecs/libmpcodecs.a(vd_theora.o)(.text+0x95): In function `init':
: undefined reference to `theora_comment_init'
libmpcodecs/libmpcodecs.a(vd_theora.o)(.text+0xcf): In function `init':
: undefined reference to `theora_decode_header'
libmpcodecs/libmpcodecs.a(vd_theora.o)(.text+0x112): In function `init':
: undefined reference to `theora_decode_init'
libmpcodecs/libmpcodecs.a(vd_theora.o)(.text+0x1e3): In function `decode':
: undefined reference to `theora_decode_packetin'
libmpcodecs/libmpcodecs.a(vd_theora.o)(.text+0x1fb): In function `decode':
: undefined reference to `theora_decode_YUVout'
libmpcodecs/libmpcodecs.a(vd_theora.o)(.text+0x2c9): In function `uninit':
: undefined reference to `theora_clear'
libmpdemux/libmpdemux.a(demux_ogg.o)(.text+0x1804): In function `demux_ogg_open':
: undefined reference to `theora_info_init'
libmpdemux/libmpdemux.a(demux_ogg.o)(.text+0x180c): In function `demux_ogg_open':
: undefined reference to `theora_comment_init'
libmpdemux/libmpdemux.a(demux_ogg.o)(.text+0x1823): In function `demux_ogg_open':
: undefined reference to `theora_decode_header'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

Anyone know where the problem lies? This is against 20040621 cvs snapshot. Oddly
enough, i was able to compile it against libtheora fine in mingw32. Theora
compiles under mingw32 if you *fool* the programs in examples to compile against
WinMain by changing the main() function to WinMain() by the way, but i'm not
sure why i get these errors under linux.

Regards,
Erik





More information about the MPlayer-users mailing list