[MPlayer-users] Error compiling MPlayer with latest Matroska CVS

The Wanderer inverseparadox at comcast.net
Tue Oct 21 20:08:12 CEST 2003


The Wanderer wrote:

> Moritz Bunkus wrote:
> 
>> You wrote something about a new compiler. Have you actually called 
>> 'make clean' before just calling 'make' for libebml and
>> libmatroska?
> 
> Had not. Have now. Compile just passed the previous fail-point,
> without problems.

Okay, I spoke too soon - that looked like the failpoint, being the
compilation of demux_mkv, but it just failed in what looks like the same
way as before.

Immediately after fail, I did 'make &> /tmp/makelog', then looked at the
resulting file. It began with the following two commandlines (the ==# is
my personal E-mail quoted-string notation, evolved for URLs)

==1
./darwinfixlib.sh 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 loader/libloader.a
loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a 
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/libinpu
t.a libvo/libvo.a libaf/libaf.a libfaad2/libfaad2.a libdha/libdha.so 
vidix/libvidix.a libmpdvdkit2/libmpdvdkit.a libmpflac/libmpflac.a
==2
gcc -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer 
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ilibmpdemux 
-Iloader -Ilibvo -I/usr/include/freetype2 -I/usr/local/include/ 
-I/usr/include/SDL -D_REENTRANT -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 l
ibao2/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 -ltheora -logg  -llzo 
  -lxvidcore -lpng -lz -lz -ljpeg -lasound -ldl -lpthread 
/usr/lib/libxmms.so.1 -export-dynamic -lmatroska -lebml -lstdc++
   -lfreetype -lz -ltermcap -lcdda_interface -lcdda_paranoia -lnsl 
-lungif  -lsmbclient  -Llibmpflac -lmpflac libfaad2/libfaad2.a   -laa 
-lGL -lXxf86dga -lXv  -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext -lX11 
-lnsl -lmad -lnsl -lSDL -lpthread -lggi
    -lvgagl -lvga -lm -ldirectfb  -L/usr/lib -ldl -lartsc -DPIC -fPIC 
-lpthread -L/usr/lib -lesd -laudiofile -lm -laudio -lXt -L/usr/X11R6/lib 
-lXext -lX11 -lnsl  -L/usr/local/lib/    -lpthread -ldl -rdynamic   -lm
==

then immediately went into the error flood; all errors were indeed of
the form

==
libmpdemux/libmpdemux.a(demux_mkv.o)(.text+0x<foo>): In function `<foo>':
: undefined reference to lib<ebml/matroska>:<foo>
==

Any idea where to go from here?

-- 
       The Wanderer

A government exists to serve its citizens, not to control them.



More information about the MPlayer-users mailing list