[MPlayer-users] On the live555 (Was: Re: can't compile for several days)
Masaru Nomiya
nomiya at galaxy.dti.ne.jp
Mon Apr 23 13:47:10 CEST 2007
Hello,
In the Message;
Subject : Re: [MPlayer-users] On the live555 (Was: Re: can't compile for several days)
Message-ID : <462C82C4.7090204 at email.it>
Date & Time: Mon, 23 Apr 2007 11:56:20 +0200
[Nico] == Nico Sabbi <nsabbi at email.it> has written:
Me>>> export LDFLAGS='-L/usr/lib/live/liveMedia -L/usr/lib/live/groupsock -L/usr/lib/live/BasicUsageEnvironment -L/usr/lib/live/UsageEnvironment'
Nico> no, don't mess with flags when something doesn't work
Is it?
Me>>>./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
Nico> ./configure --enable-gui --codecsdir=/usr/lib/codecs --enable-menu --win32codecsdir=/usr/lib/win32 --enable-xshape --enable-profile \
Nico> --prefix=/usr
Nico> + a parameter named --with-livelibdir=/usr/local/live or something like that
Nico> (hint, run ./configure --help|grep live )
The parameter "--with-livedir=..." was removed before.
Actually. with this parametre. ./configure ends with the message;
Unknown parameter: --with-livelibdir=/usr/lib/live
BTW, I can build with;
./configure --enable-gui --codecsdir=/usr/lib/codecs --enable-menu \
--win32codecsdir=/usr/lib/win32 --enable-xshape --enable-profile \
--prefix=/usr
But this ignores live ans amr.
In the configure.log;
============ Checking for LIVE555 Streaming Media libraries ============
#include <liveMedia.hh>
#if (LIVEMEDIA_LIBRARY_VERSION_INT < 1141257600)
#error Please upgrade to version 2006.03.03 or later of the "LIVE555 Streaming Media" libraries - available from <www.live555.com/liveMedia/>
#endif
int main(void) {}
cc -W -Wall -Wno-unused-parameter -O2 -march=k8 -mtune=k8 -p -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 -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 -ldirectfb -L/usr/X11R6/lib64 -lXext -lX11 -lpthread -lXv -lXinerama -lXxf86vm -lXxf86dga -lGL -ldl -laa -L/usr/lib64 -lSDL -lpthread -L/opt/kde3/lib64 -ldl -lartsc -lpthread -L/opt/gnome/lib64 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -L/usr/lib64 -lesd -laudiofile -lm -lasound -ljack -lfaac -ltwolame -lfaac -o /tmp/mplayer-conf-5824-30950.o /tmp/mplayer-conf-19759-30950.cpp -I/usr/include/directfb/liveMedia/include -I/!
usr/include/directfb/UsageEnvironment/include -I/usr/include/directfb/groupsock/include -lstdc++
/tmp/mplayer-conf-19759-30950.cpp:1:24: error: liveMedia.hh: No such file or directory
/tmp/mplayer-conf-19759-30950.cpp:3:2: error: #error Please upgrade to version 2006.03.03 or later of the "LIVE555 Streaming Media" libraries - available from <www.live555.com/liveMedia/>
so on....
[....]
============ Checking for AMR narrowband ============
#include <amrnb/interf_dec.h>
int main(void) { Speech_Decode_Frame_init(); return 0; }
cc -W -Wall -Wno-unused-parameter -O2 -march=k8 -mtune=k8 -p -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 /usr/lib/live/liveMedia/libliveMedia.a /usr/lib/live/groupsock/libgroupsock.a /usr/lib/live/UsageEnvironment/libUsageEnvironment.a /usr/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a -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 -lstdc++ -ldirectfb -L/usr/X11R6/lib64 -lXext -lX11 -lpthread -lXv -lXinerama -lXxf86vm -lXxf86dga -lGL -ldl -laa -L/usr/lib64 -lSDL -lpthread -L/opt/kde3/lib64 -ld!
l -lartsc -lpthread -L/opt/gnome/lib64 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -L/usr/lib64 -lesd -laudiofile -lm -lasound -ljack -lfaac -ltwolame -lfaac -o /tmp/mplayer-conf-5824-30950.o /tmp/mplayer-conf-20287-30950.c -lamrnb
/tmp/mplayer-conf-20287-30950.c:1:30: error: amrnb/interf_dec.h: No such file or directory
/tmp/mplayer-conf-20287-30950.c: In function 'main':
/tmp/mplayer-conf-20287-30950.c:2: warning: implicit declaration of function 'Speech_Decode_Frame_init'
Result is: no
[...]
There exists mplayer/libavcode/amrnb directory.
When I exectue ./configure with the parameter --enable-live and --with-extraincdir=/usr/lib/liv/liveMedia/include:/usr/lib/live/......
./configure finds live's header files and amr's header files, but
compilation fails.
But addition of only --enable-amr_nb and/or --enable-amr_wb parameter
(without live relates parameters), make fails in the processiong of arm.c.
Thanks,
---
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