- 积分
- 117977
- 威望
-
- 金钱
-
- 注册时间
- 2009-4-24
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2022-11-26 15:56:17
|
显示全部楼层
/usr/include/c++/8/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
/usr/bin/ld: /usr/include/c++/8/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
/usr/bin/ld: librocksdblib.a(mock_env.cc.o): in function `rocksdb::MockEnv::FakeSleepForMicroseconds(long long)':
/usr/include/c++/8/bits/atomic_base.h:514: undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: librocksdblib.a(mock_env.cc.o): in function `rocksdb::MockEnv::Truncate(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)':
/usr/include/c++/8/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
/usr/bin/ld: /usr/include/c++/8/bits/atomic_base.h:374: undefined reference to `__atomic_store_8'
/usr/bin/ld: librocksdblib.a(mock_env.cc.o): in function `rocksdb::MockEnv::GetFileSize(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long long*)':
/usr/include/c++/8/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
/usr/bin/ld: librocksdblib.a(mock_env.cc.o): in function `rocksdb::MockEnv::GetFileModificationTime(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long long*)':
/usr/include/c++/8/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
/usr/bin/ld: librocksdblib.a(mock_env.cc.o): in function `rocksdb::MockEnv::CorruptBuffer(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/8/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
/usr/bin/ld: /usr/include/c++/8/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
/usr/bin/ld: /usr/include/c++/8/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
/usr/bin/ld: librocksdblib.a(mock_env.cc.o):/usr/include/c++/8/bits/atomic_base.h:396: more undefined references to `__atomic_load_8' follow
collect2: error: ld returned 1 exit status
make[2]: *** [storage/rocksdb/CMakeFiles/sst_dump.dir/build.make:87: storage/rocksdb/sst_dump] Error 1
make[1]: *** [CMakeFiles/Makefile2:8418: storage/rocksdb/CMakeFiles/sst_dump.dir/all] Error 2
raspberry pi的兼容性问题,不论是mysql/mariadb、还是raspbian不跟进修复就没办法
之前mysql也有相同的问题 https://bbs.vpser.net/thread-19261-1-1.html ,没有设备不清楚是否修复
|
|