linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] compiling under ubuntu


From: Doug Blewett
Subject: [Linphone-developers] compiling under ubuntu
Date: Fri, 13 Oct 2006 01:31:30 -0400

I get the following error when compiling linphone-1.5.0 under ubuntu 6.0.6:

/bin/sh ../libtool --tag=CC --mode=link gcc -I.. -I../../oRTP/include  -I/usr/local/include -I/usr/local/include/ffmpeg    -DVIDEO_ENABLED  -DORTP_INET6   -DINET6 -Wall -O2 -g  -Werror  -pthread -D_REENTRANT -rdynamic  -o mediastream  mediastream.o ../src/libquickstream.la ../src/libmediastreamer.la ../../oRTP/src/libortp.la   -L/usr/local/lib -lspeex   ../../gsmlib/libgsm.la  -lavcodec  -pthread -lpthread -lrt -ldl
mkdir .libs
gcc -I.. -I../../oRTP/include -I/usr/local/include -I/usr/local/include/ffmpeg -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 -L/usr/local/lib /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 `av_crc04C11DB7'
../src/.libs/libmediastreamer.so: undefined reference to `av_realloc'
../src/.libs/libmediastreamer.so: undefined reference to `av_log'
...
collect2: ld returned 1 exit status
make[4]: *** [mediastream] Error 1
make[4]: Leaving directory `/usr/src/linphone-1.5.0/mediastreamer2/tests'

That can be fixed by adding -lavutil to the LIBS line Makefile in tests:

LIBS = -lavcodec -lavutil -pthread -lpthread -lrt -ldl

I then get similar errors in console and gnome.  Looks like there is a missing
set of libraries.

I am running  with:
ffmpeg              libosip2-2.2.2      ncurses-5.5         SDL-1.2
linphone-1.5.0  readline-5.1        speex-1.2beta1



reply via email to

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