[MPlayer-users] Compiling pre6: undefined references in libmpdemux.a

Bart Van Hove bartvanhove at skynet.be
Sun Dec 26 23:33:23 CET 2004


I'm compiling pre6 and ran into the error pasted below. This is the 
result of

make distclean && ./configure && make

to rule out the consequences of any configure arguments.

* CFLAGS and CXXFLAGS are unset.
* As far as I can confirm, I've installed the latest in  stable releases 
of every codec/dependency.
* No patches are applied
* using GCC 2.95.3

Is this a real bug, or can I fix this?

Thanks!
    Bart

------------------------------------------------------

/opt/gcc-2.95.3/bin/gcc -I../libvo -I../../libvo -I/usr/X11R6/include 
-fno-PIC -O4 -march=i686 -mcpu=i686 -pipe -ffast-math 
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_S        OURCE 
-D_FILE_OFFSET_BITS=64  -I. -I/usr/include/freetype2   
-I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include     
-I/usr/include/  -o mplayer mplayer.o mp_msg.o cpudete        ct.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 edl.o unrarlib.o mi        xer.o parser-mpcmd.o libvo/libvo.a 
libao2/libao2.a  vidix/libvidix.a  libmpcodecs/libmpcodecs.a 
loader/libloader.a loader/dshow/libDS_Filter.a 
loader/dmo/libDMO_Filter.a li        baf/libaf.a libmpdemux/libmpdemux.a 
input/libinput.a postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2 
-lmpdvdkit libavcodec/libavcodec.a libavformat/libavformat.a  -lm        
ad -lvorbis -logg -ldv -ltheora -logg  -llzo -lmp3lame -lvorbis -logg 
-lxvidcore -lm  -lpng -lz -lz -ljpeg -lasound -ldl -lpthread   
-lfreetype -lz  -lcdda_interface -lcdda        _paranoia 
/usr/lib/live/liveMedia/libliveMedia.a 
/usr/lib/live/groupsock/libgroupsock.a 
/usr/lib/live/UsageEnvironment/libUsageEnvironment.a 
/usr/lib/live/BasicUsageEnviron        ment/libBasicUsageEnvironment.a 
-lstdc++ -lnsl  -lungif  -lsmbclient  -lfontconfig    
libfaad2/libfaad2.a  mp3lib/libMP3.a liba52/liba52.a 
libmpeg2/libmpeg2.a  -laa -lGL -l        Xxf86dga -lXv  -lXxf86vm 
-lXinerama -L/usr/X11R6/lib -lXext -lX11 -lnsl -lnsl -L/usr/lib 
-Wl,-rpath,/usr/lib -lSDL -lpthread    -lvgagl -lvga -lm -ldirectfb 
-L/usr/lib -lca        ca -lslang -lX11 -L/usr/X11R6/lib -lncurses 
-lncurses -L/opt/kde-3.3.0/lib -ldl -lartsc -lpthread -lgmodule-2.0 -ldl 
-lgthread-2.0 -lglib-2.0 -L/usr/lib -lesd -laudiofile -        lm 
-lasound      -llirc_client -llircc  -lpthread -ldl -rdynamic   -lm
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x5d): In function 
`demux_open_rtp':
: undefined reference to `RTSPClient::createNew(UsageEnvironment &, int, 
char const *, unsigned short)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x97): In function 
`demux_open_rtp':
: undefined reference to `RTSPClient::describeWithPassword(char const *, 
char const *, char const *)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0xad): In function 
`demux_open_rtp':
: undefined reference to `RTSPClient::describeURL(char const *, 
Authenticator *, unsigned int)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0xca): In function 
`demux_open_rtp':
: undefined reference to `SIPClient::createNew(UsageEnvironment &, 
unsigned char, char const *, int, char const *)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x10d): In function 
`demux_open_rtp':
: undefined reference to `SIPClient::inviteWithPassword(char const *, 
char const *, char const *)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x121): In function 
`demux_open_rtp':
: undefined reference to `SIPClient::invite(char const *, Authenticator *)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x13b): In function 
`demux_open_rtp':
: undefined reference to `MediaSession::createNew(UsageEnvironment &, 
char const *)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x1a9): In function 
`demux_open_rtp':
: undefined reference to 
`MediaSubsessionIterator::MediaSubsessionIterator(MediaSession &)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x1f5): In function 
`demux_open_rtp':
: undefined reference to `MediaSubsession::initiate(int)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x264): In function 
`demux_open_rtp':
: undefined reference to `increaseReceiveBufferTo(UsageEnvironment &, 
int, unsigned int)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x2a0): In function 
`demux_open_rtp':
: undefined reference to 
`RTSPClient::setupMediaSubsession(MediaSubsession &, unsigned int, 
unsigned int)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x2b3): In function 
`demux_open_rtp':
: undefined reference to `MediaSubsessionIterator::next(void)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x2e9): In function 
`demux_open_rtp':
: undefined reference to `RTSPClient::playMediaSession(MediaSession &, 
float, float, float)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x2fe): In function 
`demux_open_rtp':
: undefined reference to 
`MediaSubsessionIterator::~MediaSubsessionIterator(void)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x31e): In function 
`demux_open_rtp':
: undefined reference to `SIPClient::sendACK(void)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x32d): In function 
`demux_open_rtp':
: undefined reference to `MediaSubsessionIterator::reset(void)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x463): In function 
`demux_open_rtp':
: undefined reference to `MediaSubsessionIterator::next(void)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x48f): In function 
`demux_open_rtp':
: undefined reference to 
`MediaSubsessionIterator::~MediaSubsessionIterator(void)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x499): In function 
`demux_open_rtp':
: undefined reference to `BasicTaskScheduler::createNew(void)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x4a6): In function 
`demux_open_rtp':
: undefined reference to `BasicUsageEnvironment::createNew(TaskScheduler &)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x5ea): In function 
`demux_open_rtp':
: undefined reference to 
`MediaSubsessionIterator::~MediaSubsessionIterator(void)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x645): In function 
`demux_close_rtp':
: undefined reference to `Medium::close(Medium *)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x651): In function 
`demux_close_rtp':
: undefined reference to `Medium::close(Medium *)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x660): In function 
`demux_close_rtp':
: undefined reference to `Medium::close(Medium *)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x6b6): In function 
`demux_close_rtp':
: undefined reference to `UsageEnvironment::reclaim(void)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x800): In function 
`getBuffer(demuxer_st *, demux_stream_t *, unsigned int, float &)':
: undefined reference to `FramedSource::getNextFrame(unsigned char *, 
unsigned int, void (*)(void *, unsigned int, unsigned int, timeval, 
unsigned int), void *, void (*)(vo        id *), void *)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x8b3): In function 
`__static_initialization_and_destruction_0':
: undefined reference to `operator*(short, DelayInterval const &)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x8c7): In function 
`__static_initialization_and_destruction_0':
: undefined reference to `operator*(short, DelayInterval const &)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0x8da): In function 
`__static_initialization_and_destruction_0':
: undefined reference to `operator*(short, DelayInterval const &)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0xd64): In function 
`teardownRTSPorSIPSession(RTPState *)':
: undefined reference to 
`MediaSubsessionIterator::MediaSubsessionIterator(MediaSession &)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0xd79): In function 
`teardownRTSPorSIPSession(RTPState *)':
: undefined reference to 
`RTSPClient::teardownMediaSubsession(MediaSubsession &)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0xd85): In function 
`teardownRTSPorSIPSession(RTPState *)':
: undefined reference to `MediaSubsessionIterator::next(void)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0xd9e): In function 
`teardownRTSPorSIPSession(RTPState *)':
: undefined reference to 
`MediaSubsessionIterator::~MediaSubsessionIterator(void)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0xdb3): In function 
`teardownRTSPorSIPSession(RTPState *)':
: undefined reference to `SIPClient::sendBYE(void)'
libmpdemux/libmpdemux.a(demux_rtp.o)(.text+0xdcb): In function 
`teardownRTSPorSIPSession(RTPState *)':
: undefined reference to 
`MediaSubsessionIterator::~MediaSubsessionIterator(void)'
libmpdemux/libmpdemux.a(demux_rtp_codec.o)(.text+0x195): In function 
`rtpCodecInitialize_video(demuxer_st *, MediaSubsession *, unsigned int &)':
: undefined reference to `parseGeneralConfigStr(char const *, unsigned 
int &)'
libmpdemux/libmpdemux.a(demux_rtp_codec.o)(.text+0x4f5): In function 
`rtpCodecInitialize_audio(demuxer_st *, MediaSubsession *, unsigned int &)':
: undefined reference to `parseStreamMuxConfigStr(char const *, unsigned 
int &)'
libmpdemux/libmpdemux.a(demux_rtp_codec.o)(.text+0x547): In function 
`rtpCodecInitialize_audio(demuxer_st *, MediaSubsession *, unsigned int &)':
: undefined reference to `parseGeneralConfigStr(char const *, unsigned 
int &)'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1





More information about the MPlayer-users mailing list