DarkflameUniverse / DarkflameServer

The main repository for the Darkflame Universe Server Emulator project.
https://www.darkflameuniverse.org/
GNU Affero General Public License v3.0
654 stars 173 forks source link

BUILD: It crashes at 73% for me. It says "unknown type name ‘MA_HASH_CTX’; did you mean ‘MA_HASH_MAX’?" #1630

Closed bingyto closed 3 months ago

bingyto commented 3 months ago

Make sure you've done the following:

DarkflameServer Version

2.3.0

Platform

WSL2

Architecture

x86

Error Logs

I was at 73% until the "Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/open.c.o" section. I have no idea what is up with it. I'm on Windows 10 22H2, using WSL2 with Ubuntu installed on it. In file included from /home/docotrnefario/DarkflameServer/thirdparty/mariadb-connector-cpp/libmariadb/plugins/auth/ref10/crypto_hash_sha512.h:2, from /home/docotrnefario/DarkflameServer/thirdparty/mariadb-connector-cpp/libmariadb/plugins/auth/ref10/open.c:3: /home/docotrnefario/DarkflameServer/thirdparty/mariadb-connector-cpp/libmariadb/include/ma_crypt.h:67:1: error: unknown type name ‘MA_HASH_CTX’; did you mean ‘MA_HASH_MAX’? 67 | MA_HASH_CTX ma_hash_new(unsigned int algorithm); | ^~~ | MA_HASH_MAX /home/docotrnefario/DarkflameServer/thirdparty/mariadb-connector-cpp/libmariadb/include/ma_crypt.h:76:19: error: unknown type name ‘MA_HASH_CTX’; did you mean ‘MA_HASH_MAX’? 76 | void ma_hash_free(MA_HASH_CTX ctx); | ^~~ | MA_HASH_MAX /home/docotrnefario/DarkflameServer/thirdparty/mariadb-connector-cpp/libmariadb/include/ma_crypt.h:89:20: error: unknown type name ‘MA_HASH_CTX’; did you mean ‘MA_HASH_MAX’? 89 | void ma_hash_input(MA_HASH_CTX ctx, | ^~~ | MA_HASH_MAX /home/docotrnefario/DarkflameServer/thirdparty/mariadb-connector-cpp/libmariadb/include/ma_crypt.h:101:21: error: unknown type name ‘MA_HASH_CTX’; did you mean ‘MA_HASH_MAX’? 101 | void ma_hash_result(MA_HASH_CTX ctx, unsigned char digest); | ^~~ | MA_HASH_MAX /home/docotrnefario/DarkflameServer/thirdparty/mariadb-connector-cpp/libmariadb/include/ma_crypt.h: In function ‘ma_has ’: /home/docotrnefario/DarkflameServer/thirdparty/mariadb-connector-cpp/libmariadb/include/ma_crypt.h:148:3: error: unknown type name ‘MA_HASH_CTX’; did you mean ‘MA_HASH_MAX’? 148 | MA_HASH_CTX ctx= NULL; | ^~~ | MA_HASH_MAX gmake[5]: [libmariadb/CMakeFiles/client_ed25519.dir/build.make:160: libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/open.c.o] Error 1 gmake[4]: [CMakeFiles/Makefile2:397: libmariadb/CMakeFiles/client_ed25519.dir/all] Error 2 gmake[3]: [Makefile:156: all] Error 2 gmake[2]: [CMakeFiles/mariadb_connector_cpp.dir/build.make:95: thirdparty/mariadb-connector-cpp/src/mariadb_connector_cpp-stamp/mariadb_connector_cpp-build] Error 2 gmake[1]: [CMakeFiles/Makefile2:3040: CMakeFiles/mariadb_connector_cpp.dir/all] Error 2 gmake: [Makefile:146: all] Error 2

EmosewaMC commented 3 months ago

Duplicate of https://github.com/DarkflameUniverse/DarkflameServer/issues/1013