[MPlayer-users] Compile problems with CVS snapshot 2003-06-13

Meino Christian Cramer mccramer at s.netic.de
Sat Jun 14 08:02:19 CEST 2003


 Hi,

  after downloading the CVS snapshots of mplayer and ffmpeg - both
  of the 2003-06-13 and inserting libavcodec into the mplayer source
  tree I did the following configure-configuration:

      #!/bin/sh
      export CC=gcc; unset CFLAGS; unset CXXFLAGS; 
      ./configure \
      --disable-gui \
      --disable-sdl \
      --disable-tv \
      --disable-tv-bsdbt848 \
      --disable-tv-v4l \
      --disable-xvid \
      --enable-dvdnav \
      --enable-dvdread \
      --enable-dxr3 \
      --enable-linux-devfs \
      --enable-linux-devfs \
      --enable-menu \
      --enable-shared-pp \
      --enable-xmms \
      --prefix=/usr \
      && make && sudo make install && sudo ldconfig

 and got after make the following errors:
 
    ./darwinfixlib.sh mplayer.o mp_msg.o cpudetect.o codec-cfg.o cfgparser.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 unrarlib.o mixer.o parser-mpcmd.o    libavcodec/libavcodec.a libmpdemux/libmpdemux.a libmpcodecs/libmpcodecs.a libao2/libao2.a liba52/liba52.a mp3lib/libMP3.a libmpeg2/libmpeg2.a osdep/libosdep.a postproc/libswscale.a input/libinput.a libvo/libvo.a libaf/libaf.a libdha/libdha.so vidix/libvidix.a libmpdvdkit2/libmpdvdkit.a libavcodec/libpostproc/libpostproc.so libmenu/libmenu.a
     gcc -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ilibmpdemux -Iloader -Ilibvo -I/usr/include/freetype2 -I-I/usr/include -I/usr/include/dvdnav    -I/usr/X11R6/include   -o mplayer mplayer.o mp_msg.o cpudetect.o codec-cfg.o cfgparser.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 unrarlib.o mixer.o parser-mpcmd.o libvo/libvo.a libao2/libao2.a libmenu/libmenu.a vidix/libvidix.a  libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a   libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit -L/usr/lib -ldvdnav -ldvdread -lpthread libavcodec/libavcodec.a  -lmad -lvorbis -logg       -lpng -lz -lz -ljpeg -lasound -ldl -lpthread /usr/lib/libxmms.so.1 -export-dynamic   -lfreetype -lz  -lcdda_interface -lcdda_paranoia -lnsl   -lungif -L/usr/X11R6/lib -lXext -lX11 -lnsl    libavcodec/libpostproc/libpostproc.so   -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext -lX11 -lnsl -lmad -lnsl        -L/opt/kde3/lib -ldl -lartsc -lpthread        -lpthread -ldl    -lm
     libavcodec/libavcodec.a(ra144.o)(.rodata+0x20):/home/mccramer/data/pool2/ARCHIVE/compiles/MPlayer-20030613/libavcodec/ra144.c:2568: multiple definition of `sqrt_table'
     libmpcodecs/libmpcodecs.a(decode144.o)(.rodata+0x0): first defined here
     libavcodec/libavcodec.a(ra144.o)(.rodata+0x2020): multiple definition of `wavtable1'
     libmpcodecs/libmpcodecs.a(decode144.o)(.rodata+0x2000): first defined here
     libavcodec/libavcodec.a(ra144.o)(.rodata+0x3220): multiple definition of `wavtable2'
     libmpcodecs/libmpcodecs.a(decode144.o)(.rodata+0x3200): first defined here
     libavcodec/libavcodec.a(ra144.o)(.rodata+0x4420): multiple definition of `etable1'
     libmpcodecs/libmpcodecs.a(decode144.o)(.rodata+0x4400): first defined here
     libavcodec/libavcodec.a(ra144.o)(.rodata+0x6c20): multiple definition of `etable2'
     libmpcodecs/libmpcodecs.a(decode144.o)(.rodata+0x6c00): first defined here
     libavcodec/libavcodec.a(ra144.o)(.rodata+0x9420): multiple definition of `ftable1'
     libmpcodecs/libmpcodecs.a(decode144.o)(.rodata+0x9400): first defined here
     libavcodec/libavcodec.a(ra144.o)(.rodata+0x9620): multiple definition of `ftable2'
     libmpcodecs/libmpcodecs.a(decode144.o)(.rodata+0x9600): first defined here
     libavcodec/libavcodec.a(ra144.o)(.data+0x0):/home/mccramer/data/pool2/ARCHIVE/compiles/MPlayer-20030613/libavcodec/ra144.c:2562: multiple definition of `decodetable'
     libmpcodecs/libmpcodecs.a(decode144.o)(.data+0x0): first defined here
     libavcodec/libavcodec.a(ra288.o)(.rodata+0x20):/home/mccramer/data/pool2/ARCHIVE/compiles/MPlayer-20030613/libavcodec/ra288.c:383: multiple definition of `amptable'
     libmpcodecs/libmpcodecs.a(decode288.o)(.rodata+0x0): first defined here
     libavcodec/libavcodec.a(ra288.o)(.rodata+0x40):/home/mccramer/data/pool2/ARCHIVE/compiles/MPlayer-20030613/libavcodec/ra288.c:384: multiple definition of `codetable'
     libmpcodecs/libmpcodecs.a(decode288.o)(.rodata+0x20): first defined here
     libavcodec/libavcodec.a(ra288.o)(.rodata+0xa40): multiple definition of `table1'
     libmpcodecs/libmpcodecs.a(decode288.o)(.rodata+0xa20): first defined here
     libavcodec/libavcodec.a(ra288.o)(.rodata+0xc00): multiple definition of `table2'
     libmpcodecs/libmpcodecs.a(decode288.o)(.rodata+0xbe0): first defined here
     libavcodec/libavcodec.a(ra288.o)(.rodata+0xca0): multiple definition of `table1a'
     libmpcodecs/libmpcodecs.a(decode288.o)(.rodata+0xc80): first defined here
     libavcodec/libavcodec.a(ra288.o)(.rodata+0xd40): multiple definition of `table2a'
     libmpcodecs/libmpcodecs.a(decode288.o)(.rodata+0xd20): first defined here
     collect2: ld returned 1 exit status
     make: *** [mplayer] Error 1

 Since this error happens the first time and I use to use the above
 configure settings without problems until today I would like to know
 what I did so badly wrong here.

 Thank you very much in advance for your help and understanding! :)

 Kind regards,
 Meino Cramer



More information about the MPlayer-users mailing list