linphone-users
[Top][All Lists]
Advanced

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

Re: [Linphone-users] Compiling with SRTP and ZRTP


From: Hans Georg Schaathun
Subject: Re: [Linphone-users] Compiling with SRTP and ZRTP
Date: Tue, 3 Dec 2013 10:16:41 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Dec 03, 2013 at 10:20:43AM +0100, Guillaume Beraudo wrote:
> Hi,
> 
> What versions of linphone and srtp are you compiling?
> Where are you installing?
> Where did you get the srtp sources?

I get the sources from git.linphone.org.
I don't know how to label the the version,
but I suppose this is unambiguous:

SRTP:
  git://git.linphone.org/srtp.git
  commit 1c9bd9065449ca6caeb35f464a54b87029e1a014
  Author: root <address@hidden>
  Date:   Thu May 30 15:20:46 2013 +0200

Linphone
  git://git.linphone.org/linphone.git
  commit 41b76330c857f0e7b6d9c23bfe18377f49427246
  Merge: 19acd4a 7ee0e18
  Author: Jehan Monnier <address@hidden>
  Date:   Mon Dec 2 17:07:55 2013 +0100

I did not see any releases for SRTP; the install instructions
for linphone says to install SRTP from the git repo.

I install under $HOME/foobar, with the same prefix for all libraries,
setting LIBRARY_PATH, C_INCLUDE_PATH, and PKG_CONFIG_PATH appropriately.
Libraries such as belle-sip installed under the same prefix appear to
be found by configure.

After a little further research, I reckon this is linked to
renaming functions in SRTP two commits back, to avoid name clash with
standard libraries.  However, trying with the older SRTP version,
I get a conflict between SRTP and polarssl.

:-- George


> 
> Cheers,
> 
> Guillaume
> 
> 
> On Mon, Dec 02, 2013 at 09:04:33PM +0000, Hans Georg Schaathun wrote:
> > Could someone please lend a little hand in getting linphone compiled?
> > 
> > I am trying to compile linphone (desktop, ubuntu system), but
> > get stuck on enabling ZRTP/SRTP.  Both the ZRTP and SRTP libraries
> > appear to compile and install as it should.  Part of the problem may
> > be that I am installing in a user directory, although I have never
> > seen that to cause this level of trouble before ...
> > 
> > And I am compiling from the git repos fresh of today.
> > 
> > After some iterations of fiddling, I have reduced the problem to
> > this output from configure:
> > (...)
> > checking srtp/srtp.h usability... yes
> > checking srtp/srtp.h presence... yes
> > checking for srtp/srtp.h... yes
> > checking for srtp_init in -lsrtp... yes
> > checking for srtp_shutdown in -lsrtp... yes
> > checking for sha1_update in -lsrtp... no
> > ZRTP compilation is disabled.
> > (...)
> > 
> > I have not thought much about ZRTP yet, so getting SRTP working
> > is the focus.
> > 
> > I checked the srtp library archive too:
> > % strings lib/libsrtp.a | grep sha1_u
> > crypto_sha1_update
> > crypto_sha1_update
> > crypto_sha1_update
> > 
> > Funny, isn't it.  Seems that configure is correct that sha1_update
> > simply isn't there ...  How can that be?
> > 
> > Any advice on what I should try next?  Downgrade the SRTP library?
> > How far?
> > 
> > -- 
> > :-- Hans Georg
> > 
> > _______________________________________________
> > Linphone-users mailing list
> > address@hidden
> > https://lists.nongnu.org/mailman/listinfo/linphone-users
> 
> _______________________________________________
> Linphone-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/linphone-users

-- 
:-- Hans Georg



reply via email to

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