[MPlayer-users] svn install compilation problem undefined reference to `ff_rtp_chain_mux_open'

Josh joshf87 at live.com
Sun Dec 30 08:18:54 CET 2012


On 12/29/2012 23:50, Raena Lea-Shannon wrote:
> Without the attachment
>
> Hi I am compiling mplayer form latest svn on Ubuntu 12.04 3.2.0-35-generic
> AMD 64  AMD Phenom(tm) II X4 810 Processor
>
> make error is as follows:
>
> [snip] -lasound -ldl -lpthread -lbluray -lcdda_interface -lcdda_paranoia
> -L/usr/lib/x86_64-linux-gnu -lfreetype -lz -lfontconfig  -lfribidi -lz
> -lvorbisenc -lvorbis -logg -lspeex -ltheoradec -logg -lmpg123 -ldca
> -lxvidcore -lpthread -ldl -rdynamic -lm   -lXext -lX11 -lpthread -lXv -lGL
> -ldl
> ffmpeg/libavformat/
> libavformat.a(movenchint.o): In function `ff_mov_init_hinting':
> movenchint.c:(.text+0x11f): undefined reference to `ff_rtp_chain_mux_open'
> collect2: ld returned 1 exit status
> make: *** [mplayer] Error 1
>
> configure log available on request
>
> Any guidance would be greatly appreciated.
>
> Thanks
> luh341
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>
>

It's one of those errors caused by a newish FFmpeg. Until the MPlayer 
devs integrate this fix (I don't have svn write otherwise I would), you 
can do it yourself right now:

First of all, do a `make distclean' on your mplayer sources.

Next, open MPlayer's `configure' script and search for the following: 
'#define CONFIG_RDFT' Below that line, add the following: #define 
CONFIG_RTPENC_CHAIN 1

Also search for `CONFIG_RDFT'. Below that line, add: CONFIG_RTPENC_CHAIN 
= yes

Save and recompile. I had the same error and it fixed it for me.

Reference problematic ffmpeg commit: 
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=5ad2f0bfb23c757bcd02875c6664ff383630790d


More information about the MPlayer-users mailing list