[MPlayer-cvslog] r21128 - trunk/configure

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Nov 21 16:01:33 CET 2006


Hello,
On Tue, Nov 21, 2006 at 02:18:57PM +0100, diego wrote:
> Author: diego
> Date: Tue Nov 21 14:18:56 2006
> New Revision: 21128
> 
> Modified:
>    trunk/configure
> 
> Log:
> Introduce _libs_mplayer and _libs_mencoder to get rid of some _ld_ variables.
[...]
> -EXTRALIBS_MPLAYER = $_ld_aa $_ld_sdl $_ld_ggi $_ld_svga $_ld_directfb $_ld_caca \
> -  $_ld_vesa $_ld_vidix_external $_ld_gl $_ld_dga $_ld_xv $_ld_xvmc $_ld_vm \
> -  $_ld_xinerama $_ld_x11 $_ld_sock \
> -  $_ld_arts $_ld_esd $_ld_jack $_ld_openal $_ld_nas $_ld_sgiaudio $_ld_polyp \
> -  $_ld_static $_ld_gtk $_ld_glib
> -EXTRA_LIB_MENCODER = $_ld_mp3lame $_ld_x264 $_toolame_lib $_twolame_lib $_ld_faac
> +EXTRALIBS_MPLAYER = $_libs_mplayer $_ld_x11 $_ld_sock $_ld_static $_ld_gtk $_ld_glib
> +EXTRA_LIB_MENCODER = $_libs_mencoder $_ld_mp3lame $_ld_x264 $_toolame_lib $_twolame_lib $_ld_faac

This breaks MPlayer compilation because libavcodec uses libx264, too,
and libavcodec in turn is linked into MPlayer.
There might be more libs with that kind of problem, e.g. lame.
Result:
cc -o mplayer mplayer.o m_property.o mp_msg.o asxparser.o codec-cfg.o
cpudetect.o edl.o find_sub.o m_config.o m_option.o m_struct.o
parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o
vobsub.o unrarlib.o mixer.o parser-mpcmd.o subopt-helper.o libvo/libvo.a
libao2/libao2.a input/libinput.a -lXv -lXvMC -lXvMCNVIDIA -lXinerama
-lXxf86vm -lXxf86dga -lggi -laa -L/usr/lib64 -lcaca -lSDL -lpthread
-ljack -lopenal -lasound -ldl -lpthread  -lXext -lX11  -lpthread
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl
-lglib-2.0   -lglib-2.0   libmpcodecs/libmpcodecs.a libaf/libaf.a
libmpdemux/libmpdemux.a stream/stream.a libswscale/libswscale.a
libvo/libosd.a osdep/libosdep.a  libavformat/libavformat.a
libavcodec/libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a
mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a libfaad2/libfaad2.a
tremor/libvorbisidec.a libass/libass.a -lfontconfig  -lfreetype -lz
-Wl,-z,noexecstack   -lncurses -lsmbclient -lpng -lz -ljpeg -L/usr/lib64
-ldvdnav -lpthread -lcdda_interface -lcdda_paranoia -L/usr/lib64
-lfribidi -lz -llzo -lmad -lspeex -ldts -lmpcdec
/usr/lib/live/liveMedia/libliveMedia.a
/usr/lib/live/groupsock/libgroupsock.a
/usr/lib/live/UsageEnvironment/libUsageEnvironment.a
/usr/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a
-lstdc++ -ldv -lxvidcore -lm       -lm -lgif     -L/usr/lib -ltheora
-logg       -lpthread -ldl -rdynamic -lfaac -lmp3lame
libdha/libdha.so vidix/libvidix.a Gui/libgui.a libmenu/libmenu.a
libavcodec/libavcodec.a(x264.o): In function `X264_close':
/home/reimar/MPlayer-compile/libavcodec/x264.c:128: undefined reference
to `x264_encoder_close'
libavcodec/libavcodec.a(x264.o): In function `X264_init':
/home/reimar/MPlayer-compile/libavcodec/x264.c:138: undefined reference
to `x264_param_default'
/home/reimar/MPlayer-compile/libavcodec/x264.c:266: undefined reference
to `x264_encoder_open'
/home/reimar/MPlayer-compile/libavcodec/x264.c:276: undefined reference
to `x264_encoder_headers'
/home/reimar/MPlayer-compile/libavcodec/x264.c:60: undefined reference
to `x264_nal_encode'
libavcodec/libavcodec.a(x264.o): In function `X264_frame':
/home/reimar/MPlayer-compile/libavcodec/x264.c:91: undefined reference
to `x264_encoder_encode'
/home/reimar/MPlayer-compile/libavcodec/x264.c:60: undefined reference
to `x264_nal_encode'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

Greetings,
Reimar Döffinger



More information about the MPlayer-cvslog mailing list