[MPlayer-users] On the live555 (Was: Re: can't compile for several days)

Masaru Nomiya nomiya at galaxy.dti.ne.jp
Mon Apr 23 11:03:56 CEST 2007


Hello, again

In the Message; 

  Subject    : [MPlayer-users] On the live555 (Was: Re: can't compile for several days)
  Message-ID : <87d51vobwq.wl%nomiya at galaxy.dti.ne.jp>
  Date & Time: Mon, 23 Apr 2007 15:14:13 +0900

[Me] == Masaru Nomiya <nomiya at galaxy.dti.ne.jp> has written:

Me> I think, these error messages are related with live's libraries.
Me> But, why?

Me> Because, lives libraries are refferd in other parts. 
Me> Why does the error occurr in the only libmpdemux directory?

I did as follows;

>  export LDFLAGS='-L/usr/lib/live/liveMedia -L/usr/lib/live/groupsock -L/usr/lib/live/BasicUsageEnvironment -L/usr/lib/live/UsageEnvironment'

> ./configure --enable-gui --enable-live --with-sdl-config=/usr/bin/sdl-config --with-fribidi-config=/usr/bin/fribidi-config --with-dvdnav-config=/usr/bin/dvdnav-config --codecsdir=/usr/lib/codecs --enable-menu --win32codecsdir=/usr/lib/win32 --enable-xshape --enable-profile --with-extraincdir=/usr/lib/live/liveMedia/include:/usr/lib/live/groupsock/include:/usr/lib/live/UsageEnvironment/include:/usr/lib/live/BasicUsageEnvironment/include --prefix=/usr

> make

This ended as follows;

[...]
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 vidix/libvidix.a gui/libgui.a libmenu/libmenu.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 mp3lib/libmp3.a liba52/liba52.a libmpeg2/libmpeg2.a libfaad2/libfaad2.a tremor/libvorbisidec.a libass/libass.a osdep/libosdep.a -ldirectfb -lXext -lX11 -lpthread -lXv -lXinerama -lXxf86vm -lXxf86dga -lGL -ldl -laa -lSDL -lpthread -ldl -lartsc -lpthread -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lesd -laudiofile -lm -lasound -ljack -lfaac -lx264 -lpthread -lmp3lame -lgtk-x11-2.0 -!
 lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lfontconfig -lXrender -lX11 -lXext -lpng12 -lz -lglitz -lm -lglib-2.0 -L/opt/gnome/lib64 -L/opt/gnome/lib64 -L/usr/X11R6/lib64 -L/usr/lib64 -L/opt/gnome/lib64 -L/opt/kde3/lib64 -L/usr/lib64 -L/usr/X11R6/lib64 -Wl,-z,noexecstack  -L/usr/lib/live/liveMedia -L/usr/lib/live/groupsock -L/usr/lib/live/BasicUsageEnvironment -L/usr/lib/live/UsageEnvironment   -lncurses -lsmbclient -lpng -lz -ljpeg -lungif -lasound -ldl -lpthread -L/usr/lib64 -ldvdnav -lpthread -lcdda_interface -lcdda_paranoia -lfreetype -lz -lfontconfig  -L/usr/lib64 -lfribidi -lz -llzo2 -lmad  -ltheora -logg   -ldts -lmpcdec -ldv -lxvidcore -lm -lpthread -ldl -rdynamic -llirc_client  -lm   
libmpdemux/libmpdemux.a(demux_rtp.o): In function `demux_close_rtp':
demux_rtp.cpp:(.text+0x11f): undefined reference to `RTSPClient::teardownMediaSession(MediaSession&)'
demux_rtp.cpp:(.text+0x137): undefined reference to `Medium::close(Medium*)'
demux_rtp.cpp:(.text+0x140): undefined reference to `Medium::close(Medium*)'
demux_rtp.cpp:(.text+0x149): undefined reference to `Medium::close(Medium*)'
demux_rtp.cpp:(.text+0x17f): undefined reference to `UsageEnvironment::reclaim()'
demux_rtp.cpp:(.text+0x1b1): undefined reference to `SIPClient::sendBYE()'
libmpdemux/libmpdemux.a(demux_rtp.o): In function `__static_initialization_and_destruction_0(int, int)':
demux_rtp.cpp:(.text+0x322): undefined reference to `DELAY_SECOND'
demux_rtp.cpp:(.text+0x32c): undefined reference to `operator*(short, DelayInterval const&)'
demux_rtp.cpp:(.text+0x351): undefined reference to `operator*(short, DelayInterval const&)'
demux_rtp.cpp:(.text+0x376): undefined reference to `operator*(short, DelayInterval const&)'
libmpdemux/libmpdemux.a(demux_rtp.o): In function `demux_open_rtp':
demux_rtp.cpp:(.text+0x475): undefined reference to `BasicTaskScheduler::createNew()'
demux_rtp.cpp:(.text+0x4a4): undefined reference to `BasicUsageEnvironment::createNew(TaskScheduler&)'
demux_rtp.cpp:(.text+0x507): undefined reference to `RTSPClient::createNew(UsageEnvironment&, int, char const*, unsigned short)'
demux_rtp.cpp:(.text+0x546): undefined reference to `RTSPClient::describeWithPassword(char const*, char const*, char const*, unsigned int)'
demux_rtp.cpp:(.text+0x565): undefined reference to `MediaSession::createNew(UsageEnvironment&, char const*)'
demux_rtp.cpp:(.text+0x5d5): undefined reference to `MediaSubsessionIterator::MediaSubsessionIterator(MediaSession&)'
demux_rtp.cpp:(.text+0x5e5): undefined reference to `MediaSubsessionIterator::next()'
demux_rtp.cpp:(.text+0x62e): undefined reference to `MediaSubsession::setClientPortNum(unsigned short)'
demux_rtp.cpp:(.text+0x63b): undefined reference to `MediaSubsession::initiate(int)'
demux_rtp.cpp:(.text+0x6a8): undefined reference to `increaseReceiveBufferTo(UsageEnvironment&, int, unsigned int)'
demux_rtp.cpp:(.text+0x6ed): undefined reference to `RTSPClient::setupMediaSubsession(MediaSubsession&, unsigned int, unsigned int, unsigned int)'
demux_rtp.cpp:(.text+0x715): undefined reference to `RTSPClient::playMediaSession(MediaSession&, float, float, float)'
demux_rtp.cpp:(.text+0x726): undefined reference to `MediaSubsessionIterator::reset()'
demux_rtp.cpp:(.text+0x735): undefined reference to `MediaSubsessionIterator::next()'
demux_rtp.cpp:(.text+0x7b5): undefined reference to `MediaSubsessionIterator::next()'
demux_rtp.cpp:(.text+0x837): undefined reference to `MediaSubsessionIterator::~MediaSubsessionIterator()'
demux_rtp.cpp:(.text+0x8a5): undefined reference to `SIPClient::sendACK()'
demux_rtp.cpp:(.text+0x8c2): undefined reference to `SIPClient::createNew(UsageEnvironment&, unsigned char, char const*, int, char const*)'
demux_rtp.cpp:(.text+0x907): undefined reference to `SIPClient::inviteWithPassword(char const*, char const*, char const*)'
demux_rtp.cpp:(.text+0x93c): undefined reference to `RTSPClient::describeURL(char const*, Authenticator*, unsigned int)'
demux_rtp.cpp:(.text+0x95a): undefined reference to `SIPClient::invite(char const*, Authenticator*)'
demux_rtp.cpp:(.text+0x976): undefined reference to `MediaSubsessionIterator::~MediaSubsessionIterator()'
demux_rtp.cpp:(.text+0x9fc): undefined reference to `MediaSubsessionIterator::~MediaSubsessionIterator()'
libmpdemux/libmpdemux.a(demux_rtp.o): In function `getBuffer(demuxer_st*, demux_stream_t*, unsigned int, float&)':
demux_rtp.cpp:(.text+0x11e4): undefined reference to `FramedSource::getNextFrame(unsigned char*, unsigned int, void (*)(void*, unsigned int, unsigned int, timeval, unsigned int), void*, void (*)(void*), void*)'
libmpdemux/libmpdemux.a(demux_rtp_codec.o): In function `rtpCodecInitialize_video(demuxer_st*, MediaSubsession*, unsigned int&)':
demux_rtp_codec.cpp:(.text+0x51a): undefined reference to `parseGeneralConfigStr(char const*, unsigned int&)'
libmpdemux/libmpdemux.a(demux_rtp_codec.o): In function `rtpCodecInitialize_audio(demuxer_st*, MediaSubsession*, unsigned int&)':
demux_rtp_codec.cpp:(.text+0xa07): undefined reference to `parseStreamMuxConfigStr(char const*, unsigned int&)'
demux_rtp_codec.cpp:(.text+0xa26): undefined reference to `MPEG4LATMAudioRTPSource::omitLATMDataLengthField()'
demux_rtp_codec.cpp:(.text+0xa5b): undefined reference to `parseGeneralConfigStr(char const*, unsigned int&)'
collect2: ld returned 1 exit status
make: *** [mplayer] error 1

What I want to say is that live's libraries are included as you see.
But. the error message remains same as the case without export LDFLAGS.

Is this error related live's libraries?

THanks in adavance.

---
  Masaru Nomiya       mail-to: nomiya @ galaxy.dti.ne.jp

          "Bill! You married with Computers.
           Not with Me!"
          "No..., with money."



More information about the MPlayer-users mailing list