- 积分
- 117977
- 威望
-
- 金钱
-
- 注册时间
- 2009-4-24
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2022-5-6 19:54:29
|
显示全部楼层
[ 8%] Building CXX object storage/myisam/CMakeFiles/myisam.dir/ha_myisam.cc.o
In file included from /root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql.h:22,
from /root/lnmp1.9/src/mariadb-10.6.5/sql/sql_class.h:33,
from /root/lnmp1.9/src/mariadb-10.6.5/storage/myisam/ha_myisam.cc:34:
/root/lnmp1.9/src/mariadb-10.6.5/sql/sql_class.h: In member function ‘int handler::ha_write_tmp_row(uchar*)’:
/root/lnmp1.9/src/mariadb-10.6.5/sql/sql_class.h:7347:42: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
MYSQL_INSERT_ROW_START(table_share->db.str, table_share->table_name.str);
~~~~~~~~~~~~~~~~^~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:200:38: note: in definition of macro ‘MYSQL_INSERT_ROW_START’
__dtrace_mysql___insert__row__start(arg0, arg1)
^~~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:645:49: note: initializing argument 1 of ‘void __dtrace_mysql___insert__row__start(char*, char*)’
extern void __dtrace_mysql___insert__row__start(char *, char *);
^~~~~~
/root/lnmp1.9/src/mariadb-10.6.5/sql/sql_class.h:7347:71: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
MYSQL_INSERT_ROW_START(table_share->db.str, table_share->table_name.str);
~~~~~~~~~~~~~~~~~~~~~~~~^~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:200:44: note: in definition of macro ‘MYSQL_INSERT_ROW_START’
__dtrace_mysql___insert__row__start(arg0, arg1)
^~~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:645:57: note: initializing argument 2 of ‘void __dtrace_mysql___insert__row__start(char*, char*)’
extern void __dtrace_mysql___insert__row__start(char *, char *);
^~~~~~
/root/lnmp1.9/src/mariadb-10.6.5/sql/sql_class.h: In member function ‘int handler::ha_delete_tmp_row(uchar*)’:
/root/lnmp1.9/src/mariadb-10.6.5/sql/sql_class.h:7358:42: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
MYSQL_DELETE_ROW_START(table_share->db.str, table_share->table_name.str);
~~~~~~~~~~~~~~~~^~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:74:38: note: in definition of macro ‘MYSQL_DELETE_ROW_START’
__dtrace_mysql___delete__row__start(arg0, arg1)
^~~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:561:49: note: initializing argument 1 of ‘void __dtrace_mysql___delete__row__start(char*, char*)’
extern void __dtrace_mysql___delete__row__start(char *, char *);
^~~~~~
/root/lnmp1.9/src/mariadb-10.6.5/sql/sql_class.h:7358:71: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
MYSQL_DELETE_ROW_START(table_share->db.str, table_share->table_name.str);
~~~~~~~~~~~~~~~~~~~~~~~~^~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:74:44: note: in definition of macro ‘MYSQL_DELETE_ROW_START’
__dtrace_mysql___delete__row__start(arg0, arg1)
^~~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:561:57: note: initializing argument 2 of ‘void __dtrace_mysql___delete__row__start(char*, char*)’
extern void __dtrace_mysql___delete__row__start(char *, char *);
^~~~~~
/root/lnmp1.9/src/mariadb-10.6.5/sql/sql_class.h: In member function ‘int handler::ha_update_tmp_row(const uchar*, uchar*)’:
/root/lnmp1.9/src/mariadb-10.6.5/sql/sql_class.h:7369:42: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
MYSQL_UPDATE_ROW_START(table_share->db.str, table_share->table_name.str);
~~~~~~~~~~~~~~~~^~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:506:38: note: in definition of macro ‘MYSQL_UPDATE_ROW_START’
__dtrace_mysql___update__row__start(arg0, arg1)
^~~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:849:49: note: initializing argument 1 of ‘void __dtrace_mysql___update__row__start(char*, char*)’
extern void __dtrace_mysql___update__row__start(char *, char *);
^~~~~~
/root/lnmp1.9/src/mariadb-10.6.5/sql/sql_class.h:7369:71: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
MYSQL_UPDATE_ROW_START(table_share->db.str, table_share->table_name.str);
~~~~~~~~~~~~~~~~~~~~~~~~^~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:506:44: note: in definition of macro ‘MYSQL_UPDATE_ROW_START’
__dtrace_mysql___update__row__start(arg0, arg1)
^~~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:849:57: note: initializing argument 2 of ‘void __dtrace_mysql___update__row__start(char*, char*)’
extern void __dtrace_mysql___update__row__start(char *, char *);
^~~~~~
make[2]: *** [storage/myisam/CMakeFiles/myisam.dir/build.make:132: storage/myisam/CMakeFiles/myisam.dir/ha_myisam.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:7079: storage/myisam/CMakeFiles/myisam.dir/all] Error 2
按日志看都是一样的问题,没甲骨文的机器没法测试,oracle linux 8的x86_64测试过没问题,猜测可能是aarch64下mariadb的兼容性问题,可用尝试安装mysql |
|