linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Compile error


From: Simon Morlat
Subject: Re: [Linphone-developers] Compile error
Date: Mon, 28 Sep 2009 11:52:05 +0200
User-agent: KMail/1.12.1 (Linux/2.6.30-1-amd64; KDE/4.3.1; x86_64; ; )

Hi,

It is not related to linphone.
The libsrtp.a you installed on your system is not compiled with -fPIC, thus 
cannot be mixed with shared libraries.
Libsrtp is not required at all for linphone, so remove it for the time of the 
build and things should go fine.

Simon

Le dimanche 27 septembre 2009 21:47:14, Christian Schäfer a écrit :
> Hi,
> 
> it seems, linphone 3.2.0.99 doesn't compile on Ubuntu Karmic. The error is:
> 
> libtool: link: gcc -shared  .libs/str_utils.o .libs/port.o
> .libs/rtpparse.o .libs/rtpsession.o .libs/rtpsession_inet.o
> .libs/jitterctl.o .libs/rtpsignaltable.o .libs/rtptimer.o
> .libs/posixtimer.o .libs/ortp.o .libs/scheduler.o .libs/avprofile.o
> .libs/sessionset.o .libs/telephonyevents.o .libs/payloadtype.o
> .libs/rtcp.o .libs/utils.o .libs/rtcpparse.o .libs/event.o .libs/stun.o
> .libs/stun_udp.o .libs/srtp.o .libs/b64.o   -lpthread -lm -lsrtp -lssl
> -lcrypto    -Wl,-soname -Wl,libortp.so.8 -o .libs/libortp.so.8.0.0
> /usr/bin/ld:
> /usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../../lib/libsrtp.a(srtp.o):
> relocation R_X86_64_32 against `mod_srtp' can not be used when making a
> shared object; recompile with -fPIC
> /usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../../lib/libsrtp.a: could not
> read symbols: Bad value
> collect2: ld returned 1 exit status
> 
> Any idea?
> 
> Chris
> 
> 
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers
> 




reply via email to

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