You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
👋 trying to build bctoolbox 5.3.84 against 3.6.2 , but seeing use of undeclared identifier 'mbedtls_threading_set_alt' error as
/tmp/ortp--bctoolbox-20250112-53104-y32i8g/bctoolbox-5.3.102/src/crypto/mbedtls.cc:109:3: error: use of undeclared identifier 'mbedtls_threading_set_alt'
109 | mbedtls_threading_set_alt(threading_mutex_init_cpp, threading_mutex_free_cpp, threading_mutex_lock_cpp,
| ^
/tmp/ortp--bctoolbox-20250112-53104-y32i8g/bctoolbox-5.3.102/src/crypto/mbedtls.cc:123:3: error: use of undeclared identifier 'mbedtls_threading_free_alt'; did you mean 'mbedtls_threading_mutex_t'?
123 | mbedtls_threading_free_alt();
| ^
/tmp/ortp--bctoolbox-20250112-53104-y32i8g/bctoolbox-5.3.102/src/crypto/mbedtls.cc:66:7: note: 'mbedtls_threading_mutex_t' declared here
66 | using mbedtls_threading_mutex_t = void *;
| ^
Removing those alt-threading calls fixed my homebrew build issue, any commit or PR that I can reference on the homebrew side? Thanks!
System information
Mbed TLS version (number or commit id): 3.6.2
Operating system and version: macOS/Linux
Configuration (if not default, please attach mbedtls_config.h): default mbedtls_config.h
Compiler and options (if you used a pre-built binary, please indicate how you obtained it): homebrew mbedtls build
Additional environment information:
the build is good now, but just need some pointer about the references for mbedtls_threading_set_alt and mbedtls_threading_free_alt, thanks!
The text was updated successfully, but these errors were encountered:
Summary
👋 trying to build bctoolbox 5.3.84 against 3.6.2 , but seeing
use of undeclared identifier 'mbedtls_threading_set_alt'
error asRemoving those alt-threading calls fixed my homebrew build issue, any commit or PR that I can reference on the homebrew side? Thanks!
System information
Mbed TLS version (number or commit id): 3.6.2
Operating system and version: macOS/Linux
Configuration (if not default, please attach
mbedtls_config.h
): default mbedtls_config.hCompiler and options (if you used a pre-built binary, please indicate how you obtained it): homebrew mbedtls build
Additional environment information:
the build is good now, but just need some pointer about the references for
mbedtls_threading_set_alt
andmbedtls_threading_free_alt
, thanks!The text was updated successfully, but these errors were encountered: