ffmpeg/libavcodec/libavcodec.a(libvorbis.o): In function `oggvorbis_encode_init': libvorbis.c:(.text.unlikely+0xad): undefined reference to `vorbis_encode_setup_vbr' libvorbis.c:(.text.unlikely+0xe7): undefined reference to `vorbis_encode_setup_managed' libvorbis.c:(.text.unlikely+0x108): undefined reference to `vorbis_encode_ctl' libvorbis.c:(.text.unlikely+0x140): undefined reference to `vorbis_encode_ctl' libvorbis.c:(.text.unlikely+0x168): undefined reference to `vorbis_encode_ctl' libvorbis.c:(.text.unlikely+0x170): undefined reference to `vorbis_encode_setup_init' collect2: ld returned 1 exit status make: *** [mencoder] Error 1 make: *** Waiting for unfinished jobs.... full build log to follow. This are the flags: 3dnow -3dnowext X a52 -aalib alsa (-altivec) -amr (-aqua) ass -bidi -bindist -bl -bluray -bs2b -cddb* cdio -cdparanoia -cpudetection -custom-cpuopts -debug -dga dirac -directfb -doc dts dv -dvb dvd dvdnav -dxr3 enca encode esd faac faad -fbcon -ftp -ggi gif -gsm iconv ipv6 -jack -joystick jpeg -jpeg2k -ladspa -libcaca -libmpeg2 -lirc live -lzo mad -md5sum mmx -mmxext mng mp3 -mpg123 -nas network -nut -openal opengl osdmenu -oss png -pnm pulseaudio -pvr quicktime -radio rar real rtc -rtmp -samba schroedinger sdl shm speex sse sse2 ssse3* -tga theora toolame tremor truetype twolame unicode -v4l -v4l2 vdpau (-vidix) vorbis -vpx (-win32codecs) x264 -xanim xinerama xscreensaver xv xvid -xvmc -zoran VIDEO_CARDS: -mga -s3virge -tdfx vesa build_options: -optional_tests split strip -trace -preserve_work Reproducible: Always
Created attachment 264885 [details] build log failed build log
Those symbols are part of libvorbisenc. The link statement for mencoder is missing -lvorbisenc on your system.
I can't reproduce this, but I think it has something to do with this in ./configure: if test "$_libvorbis" = auto; then _libvorbis=no for vorbislibs in '-lvorbis -logg' '-lvorbis -lvorbisenc -logg' ; do statement_check vorbis/vorbisenc.h 'vorbis_encode_ctl(0, 0, 0)' $vorbislibs $_ld_lm && _libvorbis=yes && break done fi Apparently, on your system, the configure script decides that -lvorbisenc isunnecessary because the symbol 'vorbis_encode_ctl' is available with just -lvorbis and -logg. But when linking mencoder without -lvorbisenc 'vorbis_encode_ctl' is undefined. I'm not really sure what's happening.
Would you mind emerging mplayer with USE=keepwork and then posting config.log?
(In reply to comment #4) > Would you mind emerging mplayer with USE=keepwork and then posting config.log? > Sorry, I meant FEATURES=keepwork.
Created attachment 264991 [details] config.log config.log as requested
Got it. For some reason you're missing -Wl,--as-needed in your LDFLAGS. It needs to be set for that configure check to work properly. Try adding this to /etc/make.conf: LDFLAGS="-Wl,-O1 -Wl,--as-needed" That should be the default value anyway.
(In reply to comment #7) > Got it. For some reason you're missing -Wl,--as-needed in your LDFLAGS. It > needs to be set for that configure check to work properly. > > Try adding this to /etc/make.conf: > > LDFLAGS="-Wl,-O1 -Wl,--as-needed" > > That should be the default value anyway. I edited the bashrc file in /etc/paludis so the the LDFLAGS are as you indicated. They were previously : LDFLAGS="-Wl,-O1" that did indeed fix the problem. Thanks.
should be fixed in 1.0_rc4_p20111215 in any case