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

Error during make #47

Open
dar8900 opened this issue Oct 20, 2023 · 1 comment
Open

Error during make #47

dar8900 opened this issue Oct 20, 2023 · 1 comment

Comments

@dar8900
Copy link

dar8900 commented Oct 20, 2023

I cloned the repository and ran the third party installation script.
I created a build folder and ran cmake .. inside it, everything ok.
When I run the make command I find several errors, the first of which is:

dtls_srtp.c:62:3: error: unknown type name 'mbedtls_sha256_context'; did you mean 'mbedtls_sha512_context'?
   62 | mbedtls_sha256_context sha256_ctx;

the others:

dtls_srtp.c:239:53: error: unknown type name ‘mbedtls_ssl_key_export_type’; did you mean ‘mbedtls_ssl_export_keys_t’?
  239 | static void dtls_srtp_key_derivation(void *context, mbedtls_ssl_key_export_type secret_type,

dtls_srtp.c:341:51: error: ‘dtls_srtp_key_derivation’ undeclared (first use in this function)
  341 |   mbedtls_ssl_set_export_keys_cb(&dtls_srtp->ssl, dtls_srtp_key_derivation, dtls_srtp);

@sepfy
Copy link
Owner

sepfy commented Oct 22, 2023

Hi, could you check you version of mbedtls? the version of mbedtls in submodules is v3.4.0. Or if you have an older version of mbedtls on your system, is possible to link to wrong version lib?

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

2 participants