fasihul-iapp / doubango

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

tinyRTP does not compile #288

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. fetch latest source(I did it 9.07.2013)
2. configure
3. make 

What is the expected output? What do you see instead?
Expected source should compile. 
Instead I see 
make
make  all-recursive
make[1]: Entering directory `/home/avl/doubango'
Making all in tinySAK
make[2]: Entering directory `/home/avl/doubango/tinySAK'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/avl/doubango/tinySAK'
Making all in tinyNET
make[2]: Entering directory `/home/avl/doubango/tinyNET'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/avl/doubango/tinyNET'
Making all in tinyHTTP
make[2]: Entering directory `/home/avl/doubango/tinyHTTP'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/avl/doubango/tinyHTTP'
Making all in tinyXCAP
make[2]: Entering directory `/home/avl/doubango/tinyXCAP'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/avl/doubango/tinyXCAP'
Making all in tinyIPSec
make[2]: Entering directory `/home/avl/doubango/tinyIPSec'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/avl/doubango/tinyIPSec'
Making all in tinySMS
make[2]: Entering directory `/home/avl/doubango/tinySMS'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/avl/doubango/tinySMS'
Making all in tinySIGCOMP
make[2]: Entering directory `/home/avl/doubango/tinySIGCOMP'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/avl/doubango/tinySIGCOMP'
Making all in tinySDP
make[2]: Entering directory `/home/avl/doubango/tinySDP'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/avl/doubango/tinySDP'
Making all in tinyMSRP
make[2]: Entering directory `/home/avl/doubango/tinyMSRP'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/avl/doubango/tinyMSRP'
Making all in tinyMEDIA
make[2]: Entering directory `/home/avl/doubango/tinyMEDIA'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/avl/doubango/tinyMEDIA'
Making all in tinyRTP
make[2]: Entering directory `/home/avl/doubango/tinyRTP'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  
-I../tinySAK/src -I../tinyNET/src -I../tinyMEDIA/include -Iinclude 
-DHAVE_SRTP=1   -g -O2 -MT libtinyRTP_la-trtp_srtp.lo -MD -MP -MF 
.deps/libtinyRTP_la-trtp_srtp.Tpo -c -o libtinyRTP_la-trtp_srtp.lo `test -f 
'src/trtp_srtp.c' || echo './'`src/trtp_srtp.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../tinySAK/src 
-I../tinyNET/src -I../tinyMEDIA/include -Iinclude -DHAVE_SRTP=1 -g -O2 -MT 
libtinyRTP_la-trtp_srtp.lo -MD -MP -MF .deps/libtinyRTP_la-trtp_srtp.Tpo -c 
src/trtp_srtp.c  -fPIC -DPIC -o .libs/libtinyRTP_la-trtp_srtp.o
In file included from ../tinyNET/src/tinynet_config.h:121:0,
                 from ../tinyNET/src/tnet_types.h:33,
                 from include/tinyrtp/rtcp/trtp_rtcp_session.h:35,
                 from include/tinyrtp/trtp_manager.h:30,
                 from src/trtp_srtp.c:24:
../config.h:219:0: warning: "PACKAGE_BUGREPORT" redefined [enabled by default]
/usr/local/include/srtp/config.h:119:0: note: this is the location of the 
previous definition
../config.h:222:0: warning: "PACKAGE_NAME" redefined [enabled by default]
/usr/local/include/srtp/config.h:122:0: note: this is the location of the 
previous definition
../config.h:225:0: warning: "PACKAGE_STRING" redefined [enabled by default]
/usr/local/include/srtp/config.h:125:0: note: this is the location of the 
previous definition
../config.h:228:0: warning: "PACKAGE_TARNAME" redefined [enabled by default]
/usr/local/include/srtp/config.h:128:0: note: this is the location of the 
previous definition
../config.h:234:0: warning: "PACKAGE_VERSION" redefined [enabled by default]
/usr/local/include/srtp/config.h:131:0: note: this is the location of the 
previous definition
src/trtp_srtp.c: In function 'trtp_srtp_ctx_internal_init':
src/trtp_srtp.c:71:13: error: 'srtp_policy_t' has no member named 'window_size'
src/trtp_srtp.c:72:13: error: 'srtp_policy_t' has no member named 
'allow_repeat_tx'
src/trtp_srtp.c: In function 'trtp_srtp_set_crypto':
src/trtp_srtp.c:241:22: error: 'srtp_policy_t' has no member named 'window_size'
src/trtp_srtp.c:242:22: error: 'srtp_policy_t' has no member named 
'allow_repeat_tx'
src/trtp_srtp.c: In function 'trtp_srtp_set_key_and_salt':
src/trtp_srtp.c:291:18: error: 'srtp_policy_t' has no member named 'window_size'
src/trtp_srtp.c:292:18: error: 'srtp_policy_t' has no member named 
'allow_repeat_tx'
make[2]: *** [libtinyRTP_la-trtp_srtp.lo] Error 1
make[2]: Leaving directory `/home/avl/doubango/tinyRTP'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/avl/doubango'
make: *** [all] Error 2

What version of the product are you using? On what operating system?
OS: Ununtu server 12.04.2 LTS
Software revision: Checked out revision 930.
Please provide any additional information below.

Original issue reported on code.google.com by avlogi...@gmail.com on 11 Jul 2013 at 7:56

GoogleCodeExporter commented 9 years ago
uninstall your current libsrtp and install the latest one: 
https://code.google.com/p/doubango/wiki/Building_Source_v2_0#Building_libsrtp

Original comment by boss...@yahoo.fr on 11 Jul 2013 at 7:04