Project

General

Profile

Actions

Emulator Issues #9662

closed

Unable to compile dolphin git with mbedtls 2.3.0

Added by C0rn3j almost 8 years ago. Updated about 7 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
Linux
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

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

Actions #1

Updated by mathieui almost 8 years ago

  • Status changed from New to Accepted
  • Operating system Linux added
  • Operating system deleted (N/A)
Actions #2

Updated by mathieui almost 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.

Actions #3

Updated by PEmu over 7 years ago

Is this still an issue?

Actions #4

Updated by C0rn3j over 7 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.

Actions #5

Updated by leoetlino about 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.

Actions

Also available in: Atom PDF