Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dtls_srtp compile errors #23

Closed
sreimers opened this issue Sep 14, 2014 · 1 comment
Closed

dtls_srtp compile errors #23

sreimers opened this issue Sep 14, 2014 · 1 comment

Comments

@sreimers
Copy link
Member

On a current archlinux the dtls_srtp module has compile errors:

$ openssl version
OpenSSL 1.0.1i 6 Aug 2014
$ gcc --version
gcc (GCC) 4.9.1
  CC [M]  build-x86_64/modules/dtls_srtp/dtls_srtp.o
In file included from modules/dtls_srtp/dtls_srtp.c:14:0:
modules/dtls_srtp/dtls_srtp.h:48:15: error: conflicting types for 'dtls_estab_h'
 typedef void (dtls_estab_h)(int err, struct dtls_flow *tc,
               ^
In file included from /usr/include/re/re.h:56:0,
                 from modules/dtls_srtp/dtls_srtp.c:11:
/usr/include/re/re_tls.h:53:15: note: previous declaration of 'dtls_estab_h' was here
 typedef void (dtls_estab_h)(void *arg);
               ^
In file included from modules/dtls_srtp/dtls_srtp.c:14:0:
modules/dtls_srtp/dtls_srtp.h:59:12: error: 'tls_fingerprint' defined as wrong kind of tag
     struct tls_fingerprint *fp);
            ^
modules/dtls_srtp/dtls_srtp.h:59:12: warning: 'struct tls_fingerprint' declared inside parameter list
modules/dtls_srtp/dtls_srtp.h:59:12: warning: its scope is only this definition or declaration, which is probably not what you want
modules/dtls_srtp/dtls_srtp.c: In function 'verify_fingerprint':
modules/dtls_srtp/dtls_srtp.c:96:9: error: 'tls_fingerprint' defined as wrong kind of tag
  struct tls_fingerprint tls_fp;
         ^
modules/dtls_srtp/dtls_srtp.c:96:25: error: storage size of 'tls_fp' isn't known
  struct tls_fingerprint tls_fp;
                         ^
modules/dtls_srtp/dtls_srtp.c:96:25: warning: unused variable 'tls_fp' [-Wunused-variable]
mk/mod.mk:35: recipe for target 'build-x86_64/modules/dtls_srtp/dtls_srtp.o' failed
@sreimers
Copy link
Member Author

Please ignore this bug report. A clean baresip package works correct.

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

No branches or pull requests

1 participant