[Top][All Lists]

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

Re: [Linphone-developers] compiling under ubuntu

From: Simon Morlat
Subject: Re: [Linphone-developers] compiling under ubuntu
Date: Mon, 16 Oct 2006 15:44:39 +0200
User-agent: KMail/1.9.4

This is strange. I also have a ubuntu 6.06 I didn' t have such problems.
Did you install the libavcodec-dev package from ubuntu ?


Le vendredi 13 octobre 2006 07:31, Doug Blewett a écrit :
> 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/
> ../src/ ../../oRTP/src/   -L/usr/local/lib
> -lspeex   ../../gsmlib/  -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/
> ../src/.libs/ ../../oRTP/src/.libs/
> -L/usr/local/lib /usr/local/lib/ ../../gsmlib/.libs/libgsm.a
> -lavcodec -lpthread -lrt -ldl -Wl,--rpath -Wl,/usr/local/lib
> ../src/.libs/ undefined reference to `av_crc04C11DB7'
> ../src/.libs/ undefined reference to `av_realloc'
> ../src/.libs/ 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]