Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

error configure doubango srtp_create in -lsrtp... no #503

Open
etelts opened this issue Aug 8, 2017 · 1 comment
Open

error configure doubango srtp_create in -lsrtp... no #503

etelts opened this issue Aug 8, 2017 · 1 comment

Comments

@etelts
Copy link

etelts commented Aug 8, 2017

I'm trying to compile the latest version of doubango with so many difficulties.
Now I encounter this error when give the command ./configure --with-ssl --with-srtp --with-speexdsp

checking srtp/srtp.h usability... yes checking srtp/srtp.h presence... yes checking for srtp/srtp.h... yes checking for srtp_create in -lsrtp... no configure: error: You requested SRTP (requires libsrtp) but not found...die

I have compiled libsrtp whithout --enable-pic because I get always the error that say me that --enable-pic is an unknow option (I have execute runtest at the and of compilation an it passes).
There are someone that can help me ?
Thank in advance,
Emilio

@etelts
Copy link
Author

etelts commented Aug 9, 2017

SOLVED download and compiling NOT LATEST version of libsrtp but the 1_5_x version.

New error in ./configure of doubango using --with-speexdsp (speex and speex-dev is installed by apt).
Not solved also getting source code of speex and compiling it as in technical guide.

Fortunately it seems that opus substitute speex (I am not sure !).

./configure with option --with-opus and without --with-speexdsp and with congratulation !

New error in make file: in line 909 is missing a tab (this block execution of make).

Fortunately this is easy solved.

New errors compiling doubango:
src/trtp_manager.c: In function ‘_trtp_manager_create’: src/trtp_manager.c:357: error: ‘err_status_t’ undeclared (first use in this function) src/trtp_manager.c:357: error: (Each undeclared identifier is reported only once src/trtp_manager.c:357: error: for each function it appears in.) src/trtp_manager.c:357: error: expected ‘;’ before ‘srtp_err’ src/trtp_manager.c:359: error: ‘srtp_err’ undeclared (first use in this function) src/trtp_manager.c:359: error: ‘err_status_ok’ undeclared (first use in this function) src/trtp_manager.c: In function ‘_trtp_manager_recv_data’: src/trtp_manager.c:467: error: ‘err_status_t’ undeclared (first use in this function) src/trtp_manager.c:467: error: expected ‘;’ before ‘status’ src/trtp_manager.c:470: error: ‘status’ undeclared (first use in this function) src/trtp_manager.c:470: error: ‘err_status_ok’ undeclared (first use in this function) src/trtp_manager.c:471: error: ‘err_status_replay_fail’ undeclared (first use in this function) src/trtp_manager.c:500: error: expected ‘;’ before ‘status’ src/trtp_manager.c: In function ‘_trtp_manager_send_turn_dtls’: src/trtp_manager.c:551: warning: passing argument 3 of ‘tnet_dtls_socket_get_record_first’ from incompatible pointer type src/trtp_manager.c: In function ‘_trtp_manager_srtp_activate’: src/trtp_manager.c:685: warning: passing argument 2 of ‘tnet_transport_dtls_set_remote_fingerprint’ from incompatible pointer type src/trtp_manager.c: In function ‘trtp_manager_send_rtp_packet’: src/trtp_manager.c:1666: error: ‘err_status_t’ undeclared (first use in this function) src/trtp_manager.c:1666: error: expected ‘;’ before ‘status’ src/trtp_manager.c:1668: error: ‘status’ undeclared (first use in this function) src/trtp_manager.c:1668: error: ‘err_status_ok’ undeclared (first use in this function)
Suggestions ?

Emilio

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant