[MPlayer-users] cygwin+latestcvs+latestmp3lame=build problem

D Richard Felker III dalias at aerifal.cx
Sun Apr 27 20:57:06 CEST 2003


On Sun, Apr 27, 2003 at 10:27:19PM +0400, Vladimir I. Umnov wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Compile string:
> ./configure --prefix=/opt --bindir=/opt --datadir=. --mandir=/opt --confdir=. --libdir=/opt ...
                                     ^^^^                      ^^^^                      ^^^^

What is this nonsense?? Even if you want to use /opt mess, binaries go
in /opt/bin and libs in /opt/lib, etc., not all in /opt...

> gcc -O4 -march=athlon-xp -mcpu=athlon-xp -pipe -ffast-math -fomit-frame-pointer
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__CYGWIN__ -Ilibmpdemux -Iloader -I
> libvo       -o mencoder mencoder.o mp_msg-mencoder.o cpudetect.o codec-cfg.o cfg
> parser.o my_profile.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 un
> rarlib.o libao2/afmt.o divx4_vbr.o libvo/aclib.o libvo/osd.o libvo/sub.o libvo/f
> ont_load.o libvo/font_load_ft.o xvid_vbr.o parser-mecmd.o libmpcodecs/libmpencod
> ers.a -lmp3lame  libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba52/liba52.a libmp
> eg2/libmpeg2.a   libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a postproc
> /libswscale.a osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a
>         -lpng -lz -static -lz     -ltermcap   -lgdi32 -lwinmm  -lungif       -li
> conv  -lm
> mp3lib/libMP3.a(sr1.o)(.text+0x10):sr1.c: multiple definition of `_make_decode_t
> ables'
> /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libmp3lame.a(tabinit.o)(.text+0x101
> 0):tabinit.c: first defined here
> mp3lib/libMP3.a(sr1.o)(.text+0x230):sr1.c: multiple definition of `_init_layer3'

Apparently your libmp3lame is miscompiled with mpg123 code included in
it, so it conflicts with symbols in mplayer. Disable the mp3 decoder
when compiling lame and the problem should go away.

Rich



More information about the MPlayer-users mailing list