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

Masaru Nomiya nomiya at galaxy.dti.ne.jp
Mon Apr 23 08:14:13 CEST 2007


Hello,

I can't compile still with the latest svn.

In the Message; 

  Subject    : [MPlayer-users] can't compile for several days
  Message-ID : <87r6qfgr4w.wl%nomiya at galaxy.dti.ne.jp>
  Date & Time: Fri, 20 Apr 2007 21:35:43 +0900

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

Me> 1. System

Me> 1-1. SuSE Linux 10.0
Me> 1-2. 2.6.13-15.13-smp
Me> 1-3. libc-2.3.5.so
Me> 1-4. gcc version 4.0.2
Me> 1-5. GNU ld version 2.16.91.0.2
Me> 1-6. GNU assembler 2.16.91.0.2

I installed live.2007.04.20.tar.gz to /usr/lib/live.

With 

./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 --libdir=/usr/lib64 --prefix=/usr

configure says LIVE555 yes.

But meke ended with

[...]
g++ -I. -I.. -I../libavutil -W -Wall -Wno-unused-parameter -O2 -march=k8 -mtune=k8  -p -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D__STDC_LIMIT_MACROS -I/usr/include/directfb -I/usr/X11/include  -I/usr/include/SDL -D_REENTRANT -I/opt/kde3/include/artsc -pthread -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib64/glib-2.0/include  -I/usr/include -I/usr/include/dvdnav  -I/usr/include/freetype2 -I/usr/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib64/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib64/glib-2.0/include      -c -o demux_rtp.o demux_rtp.cpp
In file included from demux_rtp.cpp:12:
demux_rtp_internal.h:22:24: error: liveMedia.hh: No such file or directory
demux_rtp.cpp:14:36: error: BasicUsageEnvironment.hh: No such file or directory
demux_rtp.cpp:16:30: error: GroupsockHelper.hh: No such file or directory
[...]

Why? I looked configure script, but can't find the cause.

Then, I executed ./configure with --with-extraincdir option;

./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 --libdir=/usr/lib64
--with-extraincdir=/usr/lib/live/liveMedia/include:/usr/lib/live/groupsock/include:/usr/lib/live/UsageEnvironment/include:/usr/lib/live/BasicUsageEnvironment/include
--prefix=/usr

By this, I can avoid the above error message, but make failes with the
message;

[....]
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/libavut./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 --libdir=/usr/lib64 --prefix=/usril.a libpostproc/libpostproc.a mp3lib/libmp3.a liba52/liba52.a libmpeg2/libmpeg2.a libfaad2/libfaad2.a tremo!
 r/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    -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

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

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

Waht's wrong with me?

Thanks in advance.
 

---
  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