[ 1%] Building CXX object extra/protobuf/protobuf-3.19.4/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/any.pb.cc.o
/www/lnmp/src/mysql-8.0.30/extra/protobuf/protobuf-3.19.4/src/google/protobuf/any.pb.cc: 在构造函数‘constexpr google::protobuf::AnyDefaultTypeInternal::AnyDefaultTypeInternal()’中:
/www/lnmp/src/mysql-8.0.30/extra/protobuf/protobuf-3.19.4/src/google/protobuf/any.pb.cc:27:76: 错误:temporary of non-literal type ‘google::protobuf::Any’ in a constant expression
: _instance(:ROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
^
In file included from /www/lnmp/src/mysql-8.0.30/extra/protobuf/protobuf-3.19.4/src/google/protobuf/any.pb.cc:4:0:
/www/lnmp/src/mysql-8.0.30/extra/protobuf/protobuf-3.19.4/src/google/protobuf/any.pb.h:68:23: 附注:‘google::protobuf::Any’ is not literal because:
class PROTOBUF_EXPORT Any final :
^~~
/www/lnmp/src/mysql-8.0.30/extra/protobuf/protobuf-3.19.4/src/google/protobuf/any.pb.h:68:23: 附注: ‘google::protobuf::Any’ has a non-trivial destructor
make[2]: *** [extra/protobuf/protobuf-3.19.4/cmake/CMakeFiles/libprotobuf.dir/build.make:492:extra/protobuf/protobuf-3.19.4/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/any.pb.cc.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:1983:extra/protobuf/protobuf-3.19.4/cmake/CMakeFiles/libprotobuf.dir/all] 错误 2
CMake Error at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:45 (message):
The C++ compiler
"/usr/local/gcc-9.3.0/bin/g++"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /www/lnmp/src/mysql-8.0.30/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_f3dd7/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_f3dd7.dir/build.make CMakeFiles/cmTC_f3dd7.dir/build
gmake[1]: 进入目录“/www/lnmp/src/mysql-8.0.30/build/CMakeFiles/CMakeTmp”
Building CXX object CMakeFiles/cmTC_f3dd7.dir/testCXXCompiler.cxx.o
/usr/local/gcc-9.3.0/bin/g++ -o CMakeFiles/cmTC_f3dd7.dir/testCXXCompiler.cxx.o -c /www/lnmp/src/mysql-8.0.30/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_f3dd7
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f3dd7.dir/link.txt --verbose=1
/usr/local/gcc-9.3.0/bin/g++ CMakeFiles/cmTC_f3dd7.dir/testCXXCompiler.cxx.o -o cmTC_f3dd7
/usr/bin/ld: /usr/local/gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/../../../../lib64/libstdc++.so: undefined reference to `libiconv'
/usr/bin/ld: /usr/local/gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/../../../../lib64/libstdc++.so: undefined reference to `libiconv_close'
/usr/bin/ld: /usr/local/gcc-9.3.0/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/../../../../lib64/libstdc++.so: undefined reference to `libiconv_open'
collect2: 错误:ld 返回 1
gmake[1]: *** [CMakeFiles/cmTC_f3dd7.dir/build.make:87:cmTC_f3dd7] 错误 1
gmake[1]: 离开目录“/www/lnmp/src/mysql-8.0.30/build/CMakeFiles/CMakeTmp”
gmake: *** [Makefile:121:cmTC_f3dd7/fast] 错误 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:554 (PROJECT)
| 欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) | Powered by Discuz! X3.4 |