现象
解决办法:升级gcc
1:
yum -y install centos-release-scl
2:
yum -y install devtoolset-9-gcc devtoolset-9-gcc-c++ devtoolset-9-binutils
3:
scl enable devtoolset-9 bash
Linux下安装redis常见错误server.c:3318:16: error: ‘struct redisServer‘ has no member named ‘loading‘