linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] linphone on ubuntu and mcop - Re: ffmpeg source


From: Doug Blewett
Subject: [Linphone-developers] linphone on ubuntu and mcop - Re: ffmpeg source
Date: Sat, 25 Nov 2006 03:33:08 -0500

I am back working on ubuntu with a little progress.  I had
the wrong version of theora.  After that install and a fresh
install of linphone I ran the following script to do the config:

export SPEEX_LIBS="-L/usr/local/lib/libspeex -lspeex"
export SPEEX_CFLAGS=-I/usr/local
export FFMPEG_CFLAGS=-I/usr/local/ffmpeg
export FFMPEG_LIBS="-L/usr/local/lib -lavcodec -lavutil -ltheora -lz"

./configure

I then did the make and install for mediastreamer2 and
then the make and install for all of the rest.  Seems to
be working fine.  mediastreamer2 should be thought of
as a separate package to install - or so it seems.

I also got the mcop directory error.  This was fixed by
toying around in ~/.kde.  One needs to create a link
from cache-x to a real directory - I used /tmp/mcop-x
(where is the machine name - often uname -n).
I also have a sock-x in .kde - not sure which are needed.

Hope this helps the next person.

I am going to try to put together a new fox gui interface
to linphone.  I use thes eon my strongArm and via
platforms.  I am always glad to send along what I have.

Doug



On 11/23/06, Doug Blewett <address@hidden> wrote:
I am still having trouble compiling linphone.  Last time
it was under ubuntu, now I am trying FC6.  I thinking
that my copy of ffmpeg may be the problem.  Where is
everyone getting their versions for ffmpeg?  Can some
one send along a config script for FC6?  Thanks.

Doug

Here are the details of what I am doing:

I got ffmpeg using the usual:
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
I did configure, make, and install.

I use the following script to configure linphone:

export SPEEX_LIBS="-L/usr/local/lib/libspeex -lspeex"
export SPEEX_CFLAGS=-I/usr/local
export FFMPEG_CFLAGS=-I/usr/local
export FFMPEG_LIBS="-L/usr/local/lib -lavcodec -lavutil"

cat > local-linphone.cache <<EOF
ac_cv_lib_avcodec_avcodec_register_all=yes
EOF

./configure \
        --cache=local-linphone.cache \
        --with-ffmpeg=/usr/local


I get the following error in mediastreamer/tests
gcc -I.. -I../../oRTP/include -I/usr/local -DVIDEO_ENABLED -DORTP_INET6 -DINET6 -Wall -O2 -g -Werror -pthread -D_REENTRANT -rdynamic -o .libs/mediastream mediastream.o -pthread  ../src/.libs/libquickstream.so ../src/.libs/libmediastreamer.so ../../oRTP/src/.libs/libortp.so -lasound -L/usr/local/lib/libspeex /usr/local/lib/libspeex.so ../../gsmlib/.libs/libgsm.a -lavcodec -lpthread -lrt -ldl -Wl,--rpath -Wl,/usr/local/lib
../src/.libs/libmediastreamer.so: undefined reference to `inflateReset'
../src/.libs/libmediastreamer.so: undefined reference to `inflateEnd'
../src/.libs/libmediastreamer.so: undefined reference to `av_crc_init'
../src/.libs/libmediastreamer.so: undefined reference to `av_d2q'
../src/.libs/libmediastreamer.so: undefined reference to `deflate'
../src/.libs/libmediastreamer.so: undefined reference to `deflateInit_'
../src/.libs/libmediastreamer.so: undefined reference to `av_crc04C11DB7'
../src/.libs/libmediastreamer.so: undefined reference to `av_log_get_level'
../src/.libs/libmediastreamer.so: undefined reference to `av_solve_lls'
../src/.libs/libmediastreamer.so: undefined reference to `inflate'
../src/.libs/libmediastreamer.so: undefined reference to `inflateSync'
../src/.libs/libmediastreamer.so: undefined reference to `crc32'
...

This can be patched a bit by adding -lavutil after every occurence of
-lavcodec and then I get the following:
gcc -I.. -I../../oRTP/include -I/usr/local -DVIDEO_ENABLED -DORTP_INET6 -DINET6 -Wall -O2 -g -Werror -pthread -D_REENTRANT -rdynamic -o .libs/mediastream mediastream.o -pthread  ../src/.libs/libquickstream.so ../src/.libs/libmediastreamer.so ../../oRTP/src/.libs/libortp.so -lasound -L/usr/local/lib/libspeex /usr/local/lib/libspeex.so ../../gsmlib/.libs/libgsm.a -L/usr/local/lib -lavcodec -lavutil -lpthread -lrt -ldl -Wl,--rpath -Wl,/usr/local/lib
../src/.libs/libmediastreamer.so: undefined reference to `inflateReset'
../src/.libs/libmediastreamer.so: undefined reference to `inflateEnd'
../src/.libs/libmediastreamer.so: undefined reference to `deflate'
../src/.libs/libmediastreamer.so: undefined reference to `deflateInit_'
../src/.libs/libmediastreamer.so: undefined reference to `inflate'
../src/.libs/libmediastreamer.so: undefined reference to `inflateSync'
../src/.libs/libmediastreamer.so: undefined reference to `crc32'
...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]