Возникла проблема с установкой srtp-1.4.2.tgz скачал тут http://srtp.sourceforge.net/srtp.html
делал все по инструкции:
Код: Выделить всё
gunzip srtp-X.Y.Z.tgz
tar xvf srtp-X.Y.Z.tar
cd srtp
./configure
make
Код: Выделить всё
/srtp# make
gcc -Wall -O4 -fexpensive-optimizations -funroll-loops -c srtp/srtp.c
srtp/srtp.c:46:18: error: srtp.h: No such file or directory
srtp/srtp.c:47:63: error: aes_icm.h: No such file or directory
srtp/srtp.c:48:63: error: alloc.h: No such file or directory
srtp/srtp.c:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'aes_icm'
srtp/srtp.c:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tmmhv2'
srtp/srtp.c:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mod_srtp'
srtp/srtp.c:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'srtp_stream_alloc'
srtp/srtp.c:158: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'srtp_stream_dealloc'
srtp/srtp.c:237: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'srtp_stream_clone'
srtp/srtp.c:312: error: expected specifier-qualifier-list before 'aes_icm_ctx_t'
srtp/srtp.c:316: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'srtp_kdf_init'
srtp/srtp.c:324: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'srtp_kdf_generate'
srtp/srtp.c:342: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'srtp_kdf_clear'
srtp/srtp.c:359: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'srtp_stream_init'
srtp/srtp.c:512: error: expected ')' before '*' token
srtp/srtp.c:545: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
srtp/srtp.c:548: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'srtp_install_event_handler'
srtp/srtp.c:562: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'srtp_protect'
srtp/srtp.c:801: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'srtp_unprotect'
srtp/srtp.c:1078: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'srtp_init'
srtp/srtp.c:1120: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
srtp/srtp.c:1137: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'srtp_dealloc'
srtp/srtp.c:1183: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'srtp_add_stream'
srtp/srtp.c:1243: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'srtp_create'
srtp/srtp.c:1282: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'srtp_remove_stream'
srtp/srtp.c:1326: error: expected ')' before '*' token
srtp/srtp.c:1338: error: expected ')' before '*' token
srtp/srtp.c:1350: error: expected ')' before '*' token
srtp/srtp.c:1369: error: expected ')' before '*' token
srtp/srtp.c:1388: error: expected ')' before '*' token
srtp/srtp.c:1409: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'srtp_protect_rtcp'
srtp/srtp.c:1588: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'srtp_unprotect_rtcp'
*** Error code 1