[MPlayer-users] Compile error: multiple definitions of _mpeg1system_muxer

Guillaume POIRIER poirierg at gmail.com
Thu Jul 5 22:48:03 CEST 2007


Hi,

On 7/5/07, Patryk Laurent <patryk at pakl.net> wrote:
> Hello,
>
> I am trying to build MPlayer from SVN on an Intel Mac Mini with
> ./configure --disable-mp3lib
>
> I have just tried "Revision: 23722" and have obtained the same error
> that I have been getting (for some time) during what looks like the
> final make step:

Works fine here.



> cc -o mplayer mplayer.o m_property.o mp_fifo.o mp_msg.o mixer.o
> parser-mpcmd.o subopt-helper.o command.o asxparser.o codec-cfg.o
> cpudetect.o edl.o find_sub.o m_config.o m_option.o m_struct.o mpcommon.o
> parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o
> vobsub.o unrarlib.o libvo/libvo.a libao2/libao2.a input/libinput.a
> libmpcodecs/libmpcodecs.a libaf/libaf.a libmpdemux/libmpdemux.a
> stream/stream.a libswscale/libswscale.a libvo/libosd.a
> libavformat/libavformat.a libavcodec/libavcodec.a libavutil/libavutil.a
> libpostproc/libpostproc.a loader/libloader.a liba52/liba52.a
> libmpeg2/libmpeg2.a libfaad2/libfaad2.a tremor/libvorbisidec.a
> dvdread/libdvdread.a libdvdcss/libdvdcss.a osdep/libosdep.a -lXext -lX11
> -lXv -lXinerama -lXxf86vm -lGL -framework OpenAL -lx264 -lmp3lame
> -L/usr/X11R6/lib  -L/usr/local/lib  -liconv -lncurses -framework Carbon
> -framework QuickTime -framework CoreAudio -framework AudioUnit
> -framework AudioToolbox -framework Cocoa -framework QuartzCore
> -framework OpenGL -lpng -lz -framework IOKit -lz -lxvidcore -lm     -lm
> /usr/bin/ld: multiple definitions of symbol _mpeg1system_muxer
> libavformat/libavformat.a(mpegenc.o) definition of _mpeg1system_muxer in
> section (__DATA,__data)
> libavformat/libavformat.a(mpeg.o) definition of _mpeg1system_muxer in
> section (__DATA,__data)
> /usr/bin/ld: multiple definitions of symbol _mpeg1vcd_muxer
> libavformat/libavformat.a(mpegenc.o) definition of _mpeg1vcd_muxer in
> section (__DATA,__data)
> libavformat/libavformat.a(mpeg.o) definition of _mpeg1vcd_muxer in
> section (__DATA,__data)
> /usr/bin/ld: multiple definitions of symbol _mpeg2dvd_muxer
> libavformat/libavformat.a(mpegenc.o) definition of _mpeg2dvd_muxer in
> section (__DATA,__data)
> libavformat/libavformat.a(mpeg.o) definition of _mpeg2dvd_muxer in
> section (__DATA,__data)
> /usr/bin/ld: multiple definitions of symbol _mpeg2svcd_muxer
> libavformat/libavformat.a(mpegenc.o) definition of _mpeg2svcd_muxer in
> section (__DATA,__data)
> libavformat/libavformat.a(mpeg.o) definition of _mpeg2svcd_muxer in
> section (__DATA,__data)
> /usr/bin/ld: multiple definitions of symbol _mpeg2vob_muxer
> libavformat/libavformat.a(mpegenc.o) definition of _mpeg2vob_muxer in
> section (__DATA,__data)
> libavformat/libavformat.a(mpeg.o) definition of _mpeg2vob_muxer in
> section (__DATA,__data)
> collect2: ld returned 1 exit status
> make: *** [mplayer] Error 1
>
>
> Any suggestions on how to correct this would be very helpful. Thank you,

make distclean && ./configure && make


BTW, no need to disable mp3lib, it's now supported natively
-- 
Subversion has been the most pointless project ever started
  -- Linus Torvalds



More information about the MPlayer-users mailing list