my linux server is ubuntu 22.04
and after setting it up I followd Installation Guides to install this mangoszero.
cmake is perfect working . but after that , when I use command 'make'
it always stop at 64% .
here is log :
===========================================================
root@mangos-lua:~/mangos/zero/build# make
[ 0%] Built target ace_gch
Consolidate compiler generated dependencies of target ace
[ 15%] Built target ace
[ 17%] Built target lualib
[ 17%] Built target Detour
[ 18%] Built target Recast
[ 20%] Built target g3dlite
[ 32%] Built target stormlib
[ 55%] Built target tomcrypt
[ 63%] Built target tommath
Consolidate compiler generated dependencies of target loadlib
[ 63%] Built target loadlib
Consolidate compiler generated dependencies of target shared
[ 63%] Building CXX object src/shared/CMakeFiles/shared.dir/Database/Database.cpp.o
In file included from /root/mangos/zero/server/src/shared/Database/Field.h:29,
from /root/mangos/zero/server/src/shared/Database/DatabaseEnv.h:32,
from /root/mangos/zero/server/src/shared/Database/Database.cpp:25:
/usr/include/mysql/mysql.h:482:6: error: use of enum ‘net_async_status’ without previous declaration
482 | enum net_async_status STDCALL mysql_real_connect_nonblocking(
| ^~~~~~~~~~~~~~~~
/usr/include/mysql/mysql.h:486:6: error: use of enum ‘net_async_status’ without previous declaration
486 | enum net_async_status STDCALL mysql_send_query_nonblocking(
| ^~~~~~~~~~~~~~~~
/usr/include/mysql/mysql.h:488:6: error: use of enum ‘net_async_status’ without previous declaration
488 | enum net_async_status STDCALL mysql_real_query_nonblocking(
| ^~~~~~~~~~~~~~~~
/usr/include/mysql/mysql.h:490:6: error: use of enum ‘net_async_status’ without previous declaration
490 | enum net_async_status STDCALL
| ^~~~~~~~~~~~~~~~
/usr/include/mysql/mysql.h:492:6: error: use of enum ‘net_async_status’ without previous declaration
492 | enum net_async_status STDCALL mysql_next_result_nonblocking(MYSQL *mysql);
| ^~~~~~~~~~~~~~~~
/usr/include/mysql/mysql.h:493:6: error: use of enum ‘net_async_status’ without previous declaration
493 | enum net_async_status STDCALL mysql_select_db_nonblocking(MYSQL *mysql,
| ^~~~~~~~~~~~~~~~
/usr/include/mysql/mysql.h:541:6: error: use of enum ‘net_async_status’ without previous declaration
541 | enum net_async_status STDCALL mysql_free_result_nonblocking(MYSQL_RES *result);
| ^~~~~~~~~~~~~~~~
/usr/include/mysql/mysql.h:548:6: error: use of enum ‘net_async_status’ without previous declaration
548 | enum net_async_status STDCALL mysql_fetch_row_nonblocking(MYSQL_RES *res,
| ^~~~~~~~~~~~~~~~
make[2]: *** [src/shared/CMakeFiles/shared.dir/build.make:216: src/shared/CMakeFiles/shared.dir/Database/Database.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:745: src/shared/CMakeFiles/shared.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
root@mangos-lua:~/mangos/zero/build#
====================================================================
so what is this all about ? and how can I fix this ?
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now