[MPlayer-users] Mplayer Compilation problems
Paul Casey
mrhedx at gmail.com
Mon Nov 14 07:00:31 CET 2011
Ive been trying to compile Mplayer and i have seem to have run into an
impasse first off all the sources im using are latest svn disabling
mencoder and xvid is not a possibility for me.
Im using slackware64 gcc version 4.5.3
These are my command line options for compiling mplayer
./configure --prefix=/root/hymen --libdir=/usr/lib64 --enable-menu
--enable-xvid --enable-x264 --disable-ffmpeg_a --enable-libopencore_amrnb
--enable-libopencore_amrwb --disable-musepack
heres the compile error
libmpcodecs/vd_xvid4.o: In function `decode':
vd_xvid4.c:(.text+0x140): undefined reference to `xvid_decore'
libmpcodecs/vd_xvid4.o: In function `uninit':
vd_xvid4.c:(.text+0x3b8): undefined reference to `xvid_decore'
libmpcodecs/vd_xvid4.o: In function `init':
vd_xvid4.c:(.text+0x508): undefined reference to `xvid_global'
vd_xvid4.c:(.text+0x558): undefined reference to `xvid_global'
vd_xvid4.c:(.text+0x58c): undefined reference to `xvid_decore'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
Also with static build enabled i get this error
Using the following command line options
./configure --prefix=/root/hymen --libdir=/usr/lib64 --enable-menu
--enable-xvid --enable-x264 --enable-libopencore_amrnb
--enable-libopencore_amrwb --disable-musepack
e
ffmpeg/libavcodec/libavcodec.a(libx264.o): In function `X264_frame':
libx264.c:(.text+0x20f): undefined reference to `x264_picture_init'
libx264.c:(.text+0x215): undefined reference to `x264_bit_depth'
libx264.c:(.text+0x2c6): undefined reference to `x264_encoder_reconfig'
libx264.c:(.text+0x2f1): undefined reference to `x264_encoder_reconfig'
libx264.c:(.text+0x313): undefined reference to `x264_encoder_encode'
libx264.c:(.text+0x46c): undefined reference to
`x264_encoder_delayed_frames'
libx264.c:(.text+0x490): undefined reference to `x264_encoder_encode'
ffmpeg/libavcodec/libavcodec.a(libx264.o): In function `X264_init_static':
libx264.c:(.text.unlikely+0x2): undefined reference to `x264_bit_depth'
ffmpeg/libavcodec/libavcodec.a(libx264.o): In function `X264_close':
libx264.c:(.text.unlikely+0x5a): undefined reference to `x264_encoder_close'
ffmpeg/libavcodec/libavcodec.a(libx264.o): In function `X264_init':
libx264.c:(.text.unlikely+0x8b): undefined reference to `x264_param_default'
libx264.c:(.text.unlikely+0x10a): undefined reference to
`x264_param_default_preset'
libx264.c:(.text.unlikely+0x18c): undefined reference to `x264_param_parse'
libx264.c:(.text.unlikely+0x2ff): undefined reference to `x264_param_parse'
libx264.c:(.text.unlikely+0x386): undefined reference to `x264_param_parse'
libx264.c:(.text.unlikely+0x3fe): undefined reference to `x264_param_parse'
libx264.c:(.text.unlikely+0x812): undefined reference to `x264_param_parse'
ffmpeg/libavcodec/libavcodec.a(libx264.o):libx264.c:(.text.unlikely+0x85d):
more undefined references to `x264_param_parse' follow
ffmpeg/libavcodec/libavcodec.a(libx264.o): In function `X264_init':
libx264.c:(.text.unlikely+0xa07): undefined reference to
`x264_param_apply_fastfirstpass'
libx264.c:(.text.unlikely+0xa1e): undefined reference to
`x264_param_apply_profile'
libx264.c:(.text.unlikely+0xb36): undefined reference to
`x264_encoder_open_119'
libx264.c:(.text.unlikely+0xb7f): undefined reference to
`x264_encoder_headers'
ffmpeg/libavcodec/libavcodec.a(libxvidff.o): In function
`xvid_encode_frame':
libxvidff.c:(.text+0x350): undefined reference to `xvid_encore'
ffmpeg/libavcodec/libavcodec.a(libxvidff.o): In function
`xvid_encode_close':
libxvidff.c:(.text.unlikely+0x1d): undefined reference to `xvid_encore'
ffmpeg/libavcodec/libavcodec.a(libxvidff.o): In function `xvid_encode_init':
libxvidff.c:(.text.unlikely+0x1a2): undefined reference to `xvid_global'
libxvidff.c:(.text.unlikely+0x3b4): undefined reference to
`xvid_plugin_2pass2'
libxvidff.c:(.text.unlikely+0x3db): undefined reference to
`xvid_plugin_single'
libxvidff.c:(.text.unlikely+0x42e): undefined reference to
`xvid_plugin_lumimasking'
libxvidff.c:(.text.unlikely+0x5e5): undefined reference to `xvid_encore'
libmpcodecs/vd_xvid4.o: In function `decode':
vd_xvid4.c:(.text+0x140): undefined reference to `xvid_decore'
libmpcodecs/vd_xvid4.o: In function `uninit':
vd_xvid4.c:(.text+0x3b8): undefined reference to `xvid_decore'
libmpcodecs/vd_xvid4.o: In function `init':
vd_xvid4.c:(.text+0x508): undefined reference to `xvid_global'
vd_xvid4.c:(.text+0x558): undefined reference to `xvid_global'
vd_xvid4.c:(.text+0x58c): undefined reference to `xvid_decore'
ffmpeg/libavcodec/libavcodec.a(libxvid_rc.o): In function
`ff_xvid_rate_control_init':
libxvid_rc.c:(.text+0x228): undefined reference to `xvid_plugin_2pass2'
ffmpeg/libavcodec/libavcodec.a(libxvid_rc.o): In function
`ff_xvid_rate_estimate_qscale':
libxvid_rc.c:(.text+0x34d): undefined reference to `xvid_plugin_2pass2'
libxvid_rc.c:(.text+0x447): undefined reference to `xvid_plugin_2pass2'
ffmpeg/libavcodec/libavcodec.a(libxvid_rc.o): In function
`ff_xvid_rate_control_uninit':
libxvid_rc.c:(.text+0x4d6): undefined reference to `xvid_plugin_2pass2'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
More information about the MPlayer-users
mailing list