-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
按照官网的操作在centos上编译报错了 #2779
Comments
是用什么编译的,现在解决了么 |
印象中有一版centos系统中自带gflags有问题,需要升级下 |
阿里云镜像源,CENTOS8.5.2111,gcc8.5.0, |
没有 centos 8 的环境,试了下 rockylinux 8,gflags 版本一致,不过现象不一样,rockylinux 8 下需要给 gflags 打上这个补丁 |
用 centos 8 复现了,晚点我看下 |
gflags 2.1.2-6 中未包含 uint32 flags 的支持,centos 8 gflags中看未支持, |
Describe the bug (描述bug)
To Reproduce (复现方法)
Expected behavior (期望行为)
Versions (各种版本)
OS:
Compiler:
brpc:
protobuf:
Additional context/screenshots (更多上下文/截图)
src/bthread/key.cpp:37:14: error: expected constructor, destructor, or type conversion before ‘(’ token
DEFINE_uint32(key_table_list_size, 5000,
^
src/bthread/key.cpp:42:14: error: expected constructor, destructor, or type conversion before ‘(’ token
DEFINE_uint32(borrow_from_globle_size, 100,
The text was updated successfully, but these errors were encountered: