[MPlayer-users] CVS - error during compiling (linking) mplayer: undefined reference to `mp3lame_encoder'

Evgueni V. Gavrilov aquatique at rusunix.org
Thu Nov 6 14:03:55 CET 2003


cc -O3 -march=pentium3 -mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ilibmpdemux -Iloader -Ilibvo -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include   -I/usr/local/include/SDL11 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/X11R6/include    -o mplayer mplayer.o mp_msg.o cpudetect.o codec-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o m_struct.o unrarlib.o mixer.o parser-mpcmd.o libvo/libvo.a libao2/libao2.a  vidix/libvidix.a  libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a loader/libloader.a loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a  -lmad -lvorbis -logg -ldv  -lfaad  -lmp3lame -lvorbis -logg -lxvidcore -lpng -lz
  -lz -ljpeg     -L/usr/local/lib -lfreetype -lz -ltermcap    -lungif      -laa -lGL -lXxf86dga -lXv  -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext -lX11  -lmad  -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL-1.1 -lc_r    -lvgagl -lvga -lm    -L/usr/local/lib -lesd -laudiofile -lm -L/usr/local/lib -lgnugetopt   -L/usr/local/lib    -pthread  -rdynamic -liconv -lintl -lm
libavcodec/libavcodec.a(allcodecs.o): In function `avcodec_register_all':
allcodecs.o(.text+0x35): undefined reference to `mp3lame_encoder'

aquatique at aquatique.rsb.local <~> $ uname -a
FreeBSD aquatique.rsb.local 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Fri Oct 31 15:18:45 OMST 2003     root at aquatique.rsb.local:/big1/obj/usr/src/sys/AQUATIQUE  i386

aquatique at aquatique.rsb.local <~> $ ldconfig -r | grep -i mp3
        359:-lmp3lame.0 => /usr/local/lib/libmp3lame.so.0

-- 
http://aquatique.rusunix.org
http://ru.silcnet.org



More information about the MPlayer-users mailing list