[MPlayer-users] Problem compiling mPlayer from svn.

Charles Philip Chan cpchan at bell.net
Sun Oct 7 22:37:22 CEST 2012


Carl Eugen Hoyos <cehoyos at ag.or.at> writes:

Hi Carl:

> Do I understand you correctly that compilation with current 
> svn head succeeds for you if you remove line 8392 from 
> configure?
> "CONFIG_MPEGAUDIO=yes"

Just tried it and it didn't work. After looking at the source directory,
mplayer is compiled properly, but it is mencoder that is giving me
problems. This is what I got:

,----
| ffmpeg/libavcodec/libavcodec.a(libvorbisenc.o): In function `oggvorbis_encode_init':
| libvorbisenc.c:(.text.unlikely+0xf9): undefined reference to `vorbis_encode_setup_vbr'
| libvorbisenc.c:(.text.unlikely+0x141): undefined reference to `vorbis_encode_setup_managed'
| libvorbisenc.c:(.text.unlikely+0x162): undefined reference to `vorbis_encode_ctl'
| libvorbisenc.c:(.text.unlikely+0x19e): undefined reference to `vorbis_encode_ctl'
| libvorbisenc.c:(.text.unlikely+0x1c8): undefined reference to `vorbis_encode_ctl'
| libvorbisenc.c:(.text.unlikely+0x2ce): undefined reference to `vorbis_encode_setup_init'
| collect2: ld returned 1 exit status
| make: *** [mencoder] Error 1
`----

However, it passed the configure test:

,----
| #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-109-2880/tmp.c -Ilibdvdread4 -I. -Iffmpeg  -D_REENTRANT -I/usr/include/     -D_REENTRANT   -I/usr/include/freetype2   -ffast-math   -lncurses -lsmbclient -lpng -lz -lmng -lz -ljpeg -lungif -lasound -ldl -lpthread -lbluray -lcdio_cdda -lcdio -lcdio_paranoia  -lfreetype -lz -lfontconfig  -lass -lenca -lz -lbz2 -llzo2 -lmad   -lXext -lX11 -lpthread -lXss -lXv -lXvMC -lXvMCW -lvdpau -lXinerama -lXxf86vm -lXxf86dga -laa -L/usr/lib64 -lcaca -lSDL -lGL -ldl -lEGL -ldl -lesd   -lpulse   -ljack -lopenal  -ltwolame -o /tmp/mplayer-configure-109-2880/tmp -lvorbis -logg -lm
| 
| 
| Result is: yes (libvorbis)
`----

There is something else going on here.

Charles

-- 
"It's God.  No, not Richard Stallman, or Linus Torvalds, but God."
(By Matt Welsh)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20121007/4f88d57b/attachment.asc>


More information about the MPlayer-users mailing list