hexiecs commented on issue #550: 编译安装使用问题
URL: https://github.com/apache/incubator-brpc/issues/550#issuecomment-552372924
 
 
   > **执行make时,报如下错误。**
   > <命令行>:0:11: 错误:‘gflags’未声明
   > src/butil/logging.cc:1387:50: 附注:in expansion of macro ‘GFLAGS_NS’
   > const bool ALLOW_UNUSED validate_vmodule_dummy = 
GFLAGS_NS::RegisterFlagValidator(
   > ^
   > <命令行>:0:11: 错误:‘gflags’未声明
   > src/butil/logging.cc:1417:44: 附注:in expansion of macro ‘GFLAGS_NS’
   > const bool ALLOW_UNUSED validate_v_dummy = 
GFLAGS_NS::RegisterFlagValidator(
   > ^
   > <命令行>:0:11: 错误:‘gflags’未声明
   > src/butil/logging.cc:1425:5: 附注:in expansion of macro ‘GFLAGS_NS’
   > GFLAGS_NS::RegisterFlagValidator(&FLAGS_crash_on_fatal_log, PassValidate);
   > ^
   > <命令行>:0:11: 错误:‘gflags’未声明
   > src/butil/logging.cc:1428:5: 附注:in expansion of macro ‘GFLAGS_NS’
   > GFLAGS_NS::RegisterFlagValidator(&FLAGS_print_stack_on_check, 
PassValidate);
   > ^
   > <命令行>:0:11: 错误:‘gflags’未声明
   > src/butil/logging.cc:1434:50: 附注:in expansion of macro ‘GFLAGS_NS’
   > const bool ALLOW_UNUSED validate_min_log_level = 
GFLAGS_NS::RegisterFlagValidator(
   > ^
   > make: *** [src/butil/logging.o] 错误 1
   
   请问这个问题有解决吗? 我使用config_brpc.sh编译也遇到了同样的问题

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to