[MPlayer-users] MPlayer fails to build (on Ubuntu 14.04 LTS)

Alexander Strasser eclipse7 at gmx.net
Wed Feb 15 00:51:28 EET 2017


Hi!

On 2017-02-14 11:55 +0100, Erik Auerswald wrote:
[...]
> 
> Installing GCC 4.9 according to the instructions given at
> http://askubuntu.com/questions/466651/how-do-i-use-the-latest-gcc-on-ubuntu#581497
> got me over that problem, but linking MPlayer fails with undefined symbols
> in the Opus encoder:
> 
> ffmpeg/libavcodec/libavcodec.a(opusenc.o): In function `opus_encode_end':
> opusenc.c:(.text.unlikely+0x46): undefined reference to `ff_mdct15_uninit'
> opusenc.c:(.text.unlikely+0x50): undefined reference to `ff_mdct15_uninit'
> opusenc.c:(.text.unlikely+0x5a): undefined reference to `ff_mdct15_uninit'
> opusenc.c:(.text.unlikely+0x64): undefined reference to `ff_mdct15_uninit'
> ffmpeg/libavcodec/libavcodec.a(opusenc.o): In function `opus_encode_init':
> opusenc.c:(.text.unlikely+0x2c9): undefined reference to `ff_mdct15_init'
> ffmpeg/libavcodec/libavcodec.a(aacdec.o): In function `aac_decode_close':
> aacdec.c:(.text.unlikely+0x96): undefined reference to `ff_mdct15_uninit'
> ffmpeg/libavcodec/libavcodec.a(aacdec.o): In function `aac_decode_init':
> aacdec.c:(.text.unlikely+0x8e1): undefined reference to `ff_mdct15_init'
> ffmpeg/libavcodec/libavcodec.a(opus_celt.o): In function `ff_celt_free':
> opus_celt.c:(.text+0x3086): undefined reference to `ff_mdct15_uninit'
> opus_celt.c:(.text+0x308f): undefined reference to `ff_mdct15_uninit'
> opus_celt.c:(.text+0x3098): undefined reference to `ff_mdct15_uninit'
> opus_celt.c:(.text+0x30a1): undefined reference to `ff_mdct15_uninit'
> ffmpeg/libavcodec/libavcodec.a(opus_celt.o): In function `ff_celt_init':
> opus_celt.c:(.text+0x312c): undefined reference to `ff_mdct15_init'
> opus_celt.c:(.text+0x327f): undefined reference to `ff_mdct15_uninit'
> opus_celt.c:(.text+0x3288): undefined reference to `ff_mdct15_uninit'
> opus_celt.c:(.text+0x3291): undefined reference to `ff_mdct15_uninit'
> opus_celt.c:(.text+0x329a): undefined reference to `ff_mdct15_uninit'
> collect2: error: ld returned 1 exit status
> make: *** [mplayer] Error 1

  Should be fixed with SVN revision 37925 .

  I hope building works for you now.


  Alexander


More information about the MPlayer-users mailing list