jigar-joshi / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

libjingle-0.5 file srtpfilter.cc version and srtp1.4.0 file srtp.h version #155

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. i have libjingle-0.5, then put srtp1.4.0, expat-2.0.1 into /talk/third_parth
2. when Compiling build/dbg/obj/session/phone/srtpfilter.o , it fail
3.

What is the expected output? What do you see instead?
compile output:
scons: done reading SConscript files.
scons: Building targets ...
________Compiling build/dbg/obj/third_party/srtp/crypto/kernel/alloc.o
________Compiling build/dbg/obj/third_party/srtp/crypto/kernel/crypto_kernel.o
________Compiling build/dbg/obj/third_party/srtp/srtp/srtp.o
________Compiling build/dbg/obj/session/phone/srtpfilter.o
session/phone/srtpfilter.cc: In member function 'bool 
cricket::SrtpSession::SetKey(int, const std::string&, const uint8*, int)':
session/phone/srtpfilter.cc:321: error: 
'crypto_policy_set_aes_cm_128_hmac_sha1_80' was not declared in this scope
session/phone/srtpfilter.cc:324: error: 
'crypto_policy_set_aes_cm_128_hmac_sha1_32' was not declared in this scope
session/phone/srtpfilter.cc:325: error: 
'crypto_policy_set_aes_cm_128_hmac_sha1_80' was not declared in this scope
session/phone/srtpfilter.cc:338: error: 'struct srtp_policy_t' has no member 
named 'window_size'
session/phone/srtpfilter.cc:339: error: 'struct srtp_policy_t' has no member 
named 'allow_repeat_tx'
scons: *** [build/dbg/obj/session/phone/srtpfilter.o] Error 1
scons: building terminated because of errors.

What version of the product are you using? On what operating system?
libjingle-0.5 & gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5

Please provide any additional information below.
1, in the ./libjingle-0.5/README, it said:
   Follow the instructions at
    http://sourceforge.net/projects/srtp/develop to download latest srtp to
    talk/third_party/srtp. Note that srtp-1.4.4 does not work since it misses
    the extensions used by Libjingle.
2, but i find that:  struct srtp_policy_t is defined in srtp-1.4.4, but not 
srtp-1.4.0,  i am using srtp-1.4.0.  so it compile fail.....

Neo Yang(china)

Original issue reported on code.google.com by milliy...@sina.cn on 11 Apr 2011 at 1:58

GoogleCodeExporter commented 9 years ago
I could not download srtp from http://sourceforge.net/projects/srtp/develop 
with anonymous access. I suggest you download the srtp from the download link 
of this site (I think they should inform in the README file that there is this 
option). I hope it helps you.

Original comment by diego.cd...@gmail.com on 12 Apr 2011 at 12:09

GoogleCodeExporter commented 9 years ago
Download srtp from http://code.google.com/p/libjingle/downloads/list
The readme file has been updated in later version of libjingle.

Original comment by jun...@google.com on 29 Jun 2011 at 10:00