Sigma711 commented on PR #1783: URL: https://github.com/apache/incubator-brpc/pull/1783#issuecomment-1151552404
仍然不行,是要加什么选项吗? ```txt -- Found gflags: /usr/lib/aarch64-linux-gnu/libgflags.so -- Configuring done -- Generating done -- Build files have been written to: /home/sigma711/code/open-source-projects/incubator-brpc/build Consolidate compiler generated dependencies of target PROTO_LIB Consolidate compiler generated dependencies of target BUTIL_LIB [ 0%] Building C object src/CMakeFiles/BUTIL_LIB.dir/butil/third_party/dynamic_annotations/dynamic_annotations.c.o [ 0%] Building CXX object src/CMakeFiles/BUTIL_LIB.dir/butil/third_party/dmg_fp/dtoa_wrapper.cc.o [ 0%] Building C object src/CMakeFiles/BUTIL_LIB.dir/butil/third_party/superfasthash/superfasthash.c.o [ 1%] Building CXX object src/CMakeFiles/BUTIL_LIB.dir/butil/third_party/icu/icu_utf.cc.o [ 1%] Building CXX object src/CMakeFiles/BUTIL_LIB.dir/butil/third_party/modp_b64/modp_b64.cc.o [ 2%] Building CXX object CMakeFiles/PROTO_LIB.dir/idl_options.pb.cc.o In file included from /usr/include/features.h:486, from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from /home/sigma711/code/open-source-projects/incubator-brpc/src/butil/third_party/dynamic_annotations/dynamic_annotations.c:35: /usr/include/aarch64-linux-gnu/sys/cdefs.h:314:60: error: macro "__has_attribute" requires an identifier 314 | #if __GNUC_PREREQ (2,5) || __glibc_has_attribute (__const__) | ^ In file included from /usr/include/features.h:486, from /usr/include/aarch64-linux-gnu/c++/11/bits/os_defines.h:39, from /usr/include/aarch64-linux-gnu/c++/11/bits/c++config.h:586, from /usr/include/c++/11/new:40, from /home/sigma711/code/open-source-projects/incubator-brpc/src/butil/lazy_instance.h:38, from /home/sigma711/code/open-source-projects/incubator-brpc/src/butil/third_party/dmg_fp/dtoa_wrapper.cc:7: /usr/include/aarch64-linux-gnu/sys/cdefs.h:314:60: error: macro "__has_attribute" requires an identifier 314 | #if __GNUC_PREREQ (2,5) || __glibc_has_attribute (__const__) | ^ In file included from /usr/include/features.h:486, from /usr/include/aarch64-linux-gnu/c++/11/bits/os_defines.h:39, from /usr/include/aarch64-linux-gnu/c++/11/bits/c++config.h:586, from /usr/include/c++/11/limits:42, from /home/sigma711/code/open-source-projects/incubator-brpc/build/idl_options.pb.h:7, from /home/sigma711/code/open-source-projects/incubator-brpc/build/idl_options.pb.cc:4: /usr/include/aarch64-linux-gnu/sys/cdefs.h:314:60: error: macro "__has_attribute" requires an identifier 314 | #if __GNUC_PREREQ (2,5) || __glibc_has_attribute (__const__) | ^ make[2]: *** [src/CMakeFiles/BUTIL_LIB.dir/build.make:104:src/CMakeFiles/BUTIL_LIB.dir/butil/third_party/dynamic_annotations/dynamic_annotations.c.o] 错误 1 make[2]: *** 正在等待未完成的任务.... In file included from /usr/include/features.h:486, from /usr/include/aarch64-linux-gnu/c++/11/bits/os_defines.h:39, from /usr/include/aarch64-linux-gnu/c++/11/bits/c++config.h:586, from /usr/include/c++/11/string:38, from /home/sigma711/code/open-source-projects/incubator-brpc/src/butil/third_party/modp_b64/modp_b64.h:136, from /home/sigma711/code/open-source-projects/incubator-brpc/src/butil/third_party/modp_b64/modp_b64.cc:46: /usr/include/aarch64-linux-gnu/sys/cdefs.h:314:60: error: macro "__has_attribute" requires an identifier 314 | #if __GNUC_PREREQ (2,5) || __glibc_has_attribute (__const__) | ^ In file included from /usr/include/features.h:486, from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/aarch64-linux-gnu/9/include/stdint.h:9, from /home/sigma711/code/open-source-projects/incubator-brpc/src/butil/third_party/superfasthash/superfasthash.c:28: /usr/include/aarch64-linux-gnu/sys/cdefs.h:314:60: error: macro "__has_attribute" requires an identifier 314 | #if __GNUC_PREREQ (2,5) || __glibc_has_attribute (__const__) | ^ In file included from /usr/include/features.h:486, from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/aarch64-linux-gnu/11/include/limits.h:203, from /usr/lib/gcc/aarch64-linux-gnu/11/include/syslimits.h:7, from /usr/lib/gcc/aarch64-linux-gnu/11/include/limits.h:34, from /home/sigma711/code/open-source-projects/incubator-brpc/src/butil/basictypes.h:14, from /home/sigma711/code/open-source-projects/incubator-brpc/src/butil/third_party/icu/icu_utf.h:20, from /home/sigma711/code/open-source-projects/incubator-brpc/src/butil/third_party/icu/icu_utf.cc:20: /usr/include/aarch64-linux-gnu/sys/cdefs.h:314:60: error: macro "__has_attribute" requires an identifier 314 | #if __GNUC_PREREQ (2,5) || __glibc_has_attribute (__const__) | ^ [ 2%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rtmp.pb.cc.o make[2]: *** [src/CMakeFiles/BUTIL_LIB.dir/build.make:132:src/CMakeFiles/BUTIL_LIB.dir/butil/third_party/superfasthash/superfasthash.c.o] 错误 1 make[2]: *** [src/CMakeFiles/BUTIL_LIB.dir/build.make:118:src/CMakeFiles/BUTIL_LIB.dir/butil/third_party/icu/icu_utf.cc.o] 错误 1 [ 2%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rpc_dump.pb.cc.o In file included from /usr/include/features.h:486, from /usr/include/aarch64-linux-gnu/c++/11/bits/os_defines.h:39, from /usr/include/aarch64-linux-gnu/c++/11/bits/c++config.h:586, from /usr/include/c++/11/limits:42, from /home/sigma711/code/open-source-projects/incubator-brpc/build/brpc/rpc_dump.pb.h:7, from /home/sigma711/code/open-source-projects/incubator-brpc/build/brpc/rpc_dump.pb.cc:4: /usr/include/aarch64-linux-gnu/sys/cdefs.h:314:60: error: macro "__has_attribute" requires an identifier 314 | #if __GNUC_PREREQ (2,5) || __glibc_has_attribute (__const__) | ^ In file included from /usr/include/features.h:486, from /usr/include/aarch64-linux-gnu/c++/11/bits/os_defines.h:39, from /usr/include/aarch64-linux-gnu/c++/11/bits/c++config.h:586, from /usr/include/c++/11/limits:42, from /home/sigma711/code/open-source-projects/incubator-brpc/build/brpc/rtmp.pb.h:7, from /home/sigma711/code/open-source-projects/incubator-brpc/build/brpc/rtmp.pb.cc:4: /usr/include/aarch64-linux-gnu/sys/cdefs.h:314:60: error: macro "__has_attribute" requires an identifier 314 | #if __GNUC_PREREQ (2,5) || __glibc_has_attribute (__const__) | ^ [ 2%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_favicon.pb.cc.o In file included from /usr/include/features.h:486, from /usr/include/aarch64-linux-gnu/c++/11/bits/os_defines.h:39, from /usr/include/aarch64-linux-gnu/c++/11/bits/c++config.h:586, from /usr/include/c++/11/limits:42, from /home/sigma711/code/open-source-projects/incubator-brpc/build/brpc/get_favicon.pb.h:7, from /home/sigma711/code/open-source-projects/incubator-brpc/build/brpc/get_favicon.pb.cc:4: /usr/include/aarch64-linux-gnu/sys/cdefs.h:314:60: error: macro "__has_attribute" requires an identifier 314 | #if __GNUC_PREREQ (2,5) || __glibc_has_attribute (__const__) | ^ make[2]: *** [src/CMakeFiles/BUTIL_LIB.dir/build.make:146:src/CMakeFiles/BUTIL_LIB.dir/butil/third_party/modp_b64/modp_b64.cc.o] 错误 1 [ 3%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/span.pb.cc.o In file included from /usr/include/features.h:486, from /usr/include/aarch64-linux-gnu/c++/11/bits/os_defines.h:39, from /usr/include/aarch64-linux-gnu/c++/11/bits/c++config.h:586, from /usr/include/c++/11/limits:42, from /home/sigma711/code/open-source-projects/incubator-brpc/build/brpc/span.pb.h:7, from /home/sigma711/code/open-source-projects/incubator-brpc/build/brpc/span.pb.cc:4: /usr/include/aarch64-linux-gnu/sys/cdefs.h:314:60: error: macro "__has_attribute" requires an identifier 314 | #if __GNUC_PREREQ (2,5) || __glibc_has_attribute (__const__) | ^ make[2]: *** [src/CMakeFiles/BUTIL_LIB.dir/build.make:90:src/CMakeFiles/BUTIL_LIB.dir/butil/third_party/dmg_fp/dtoa_wrapper.cc.o] 错误 1 make[1]: *** [CMakeFiles/Makefile2:239:src/CMakeFiles/BUTIL_LIB.dir/all] 错误 2 make[1]: *** 正在等待未完成的任务.... [ 3%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/builtin_service.pb.cc.o In file included from /usr/include/features.h:486, from /usr/include/aarch64-linux-gnu/c++/11/bits/os_defines.h:39, from /usr/include/aarch64-linux-gnu/c++/11/bits/c++config.h:586, from /usr/include/c++/11/limits:42, from /home/sigma711/code/open-source-projects/incubator-brpc/build/brpc/builtin_service.pb.h:7, from /home/sigma711/code/open-source-projects/incubator-brpc/build/brpc/builtin_service.pb.cc:4: /usr/include/aarch64-linux-gnu/sys/cdefs.h:314:60: error: macro "__has_attribute" requires an identifier 314 | #if __GNUC_PREREQ (2,5) || __glibc_has_attribute (__const__) | ^ make[2]: *** [CMakeFiles/PROTO_LIB.dir/build.make:262:CMakeFiles/PROTO_LIB.dir/brpc/get_favicon.pb.cc.o] 错误 1 make[2]: *** 正在等待未完成的任务.... make[2]: *** [CMakeFiles/PROTO_LIB.dir/build.make:248:CMakeFiles/PROTO_LIB.dir/brpc/rpc_dump.pb.cc.o] 错误 1 make[2]: *** [CMakeFiles/PROTO_LIB.dir/build.make:276:CMakeFiles/PROTO_LIB.dir/brpc/span.pb.cc.o] 错误 1 make[2]: *** [CMakeFiles/PROTO_LIB.dir/build.make:234:CMakeFiles/PROTO_LIB.dir/brpc/rtmp.pb.cc.o] 错误 1 make[2]: *** [CMakeFiles/PROTO_LIB.dir/build.make:220:CMakeFiles/PROTO_LIB.dir/idl_options.pb.cc.o] 错误 1 make[2]: *** [CMakeFiles/PROTO_LIB.dir/build.make:290:CMakeFiles/PROTO_LIB.dir/brpc/builtin_service.pb.cc.o] 错误 1 make[1]: *** [CMakeFiles/Makefile2:213:CMakeFiles/PROTO_LIB.dir/all] 错误 2 make: *** [Makefile:156:all] 错误 2 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org