in吧 关注:9,407贴子:68,025
  • 2回复贴,共1

MySQL源码编译报错有谁知道是什么原因的请告知谢谢!

只看楼主收藏回复

In file included from /mnt/mysql-8.0.18/storage/temptable/src/indexed_cells.cc:31:
/mnt/mysql-8.0.18/include/my_hash_combine.h:69:13: error: variable or field ‘my_hash_combine’ declared void
69 | inline void my_hash_combine(std::uint32_t &h1, std::uint32_t k1) {
| ^~~~~~~~~~~~~~~
/mnt/mysql-8.0.18/include/my_hash_combine.h:69:34: error: ‘uint32_t’ is not a member of ‘std’
69 | inline void my_hash_combine(std::uint32_t &h1, std::uint32_t k1) {
| ^~~~~~~~
/mnt/mysql-8.0.18/include/my_hash_combine.h:69:44: error: ‘h1’ was not declared in this scope
69 | inline void my_hash_combine(std::uint32_t &h1, std::uint32_t k1) {
| ^~
/mnt/mysql-8.0.18/include/my_hash_combine.h:69:53: error: ‘uint32_t’ is not a member of ‘std’
69 | inline void my_hash_combine(std::uint32_t &h1, std::uint32_t k1) {
| ^~~~~~~~
/mnt/mysql-8.0.18/include/my_hash_combine.h:82:13: error: variable or field ‘my_hash_combine’ declared void
82 | inline void my_hash_combine(std::uint64_t &h, std::uint64_t k) {
| ^~~~~~~~~~~~~~~
/mnt/mysql-8.0.18/include/my_hash_combine.h:82:34: error: ‘uint64_t’ is not a member of ‘std’
82 | inline void my_hash_combine(std::uint64_t &h, std::uint64_t k) {
| ^~~~~~~~
/mnt/mysql-8.0.18/include/my_hash_combine.h:82:44: error: ‘h’ was not declared in this scope
82 | inline void my_hash_combine(std::uint64_t &h, std::uint64_t k) {
| ^
/mnt/mysql-8.0.18/include/my_hash_combine.h:82:52: error: ‘uint64_t’ is not a member of ‘std’
82 | inline void my_hash_combine(std::uint64_t &h, std::uint64_t k) {
| ^~~~~~~~
make[2]: *** [storage/temptable/CMakeFiles/temptable.dir/build.make:146: storage/temptable/CMakeFiles/temptable.dir/src/indexed_cells.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:4736: storage/temptable/CMakeFiles/temptable.dir/all] Error 2
make: *** [Makefile:166: all] Error 2


IP属地:广东1楼2022-10-09 00:46回复
    我也报这样的错,请问解决了吗


    IP属地:四川2楼2023-11-17 11:29
    回复
      这个错误,解决了吗


      IP属地:广东3楼2023-11-26 12:37
      回复