Emulator Issues #9662
closedUnable to compile dolphin git with mbedtls 2.3.0
0%
Description
Package upgrade broke dolphin git
mbedtls 2.2.1 > 2.3.0
2.2.1 compiles fine, 2.3.0 breaks the build
[ 41%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/Core.cpp.o
In file included from /usr/include/mbedtls/net.h:34:0,
from /home/c0rn3j/dolphin-emu/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net_ssl.h:9,
from /home/c0rn3j/dolphin-emu/Source/Core/Core/IPC_HLE/WII_Socket.h:54,
from /home/c0rn3j/dolphin-emu/Source/Core/Core/Core.cpp:55:
/usr/include/mbedtls/ssl.h:547:5: error: ‘mbedtls_time_t’ does not name a type
mbedtls_time_t start; /*!< starting time */
^~~~~~~~~~~~~~
make[2]: *** [Source/Core/Core/CMakeFiles/core.dir/build.make:189: Source/Core/Core/CMakeFiles/core.dir/Core.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:748: Source/Core/Core/CMakeFiles/core.dir/all] Error 2
make: *** [Makefile:150: all] Error 2
Updated by mathieui over 8 years ago
- Status changed from New to Accepted
- Operating system Linux added
- Operating system deleted (
N/A)
Updated by mathieui over 8 years ago
There’s probably nothing to be done except wait for https://github.com/ARMmbed/mbedtls/issues/522 to be resolved and a bugfix release. In the meantime you can use the patch described in the issue report.
Updated by C0rn3j about 8 years ago
Pringo wrote:
Is this still an issue?
mbedtls is still on version 2.3.0, so yes. My distro solved it by packaging it with the patch.
Updated by leoetlino over 7 years ago
- Status changed from Accepted to Fixed
The minimum required version (and the one bundled in Externals) is 2.4.0 since 5.0-2525, which has the fix for this compilation issue.